---
title: "vanara.pinvoke.shcore 5.0.0 Breaking Changes on NuGet"
description: "What each vanara.pinvoke.shcore release removed, renamed or changed: 11 breaking changes in 1 version on NuGet, each with its source."
canonical_url: https://since.dev/packages/nuget/vanara.pinvoke.shcore
last_updated: 2026-12-04
---

# vanara.pinvoke.shcore breaking changes

vanara.pinvoke.shcore 5.0.0 (January 12, 2026) is its newest release with breaking changes, 11 of them. The first: Removed ShellItem.Dispose. Every breaking API change we have recorded in vanara.pinvoke.shcore on NuGet: 11 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.0.8`, released October 24, 2026. [Source repository](https://github.com/dahall/vanara)

Packages on NuGet run on .NET. [.NET end of life dates](https://since.dev/calendar/dotnet.md).

## vanara.pinvoke.shcore 5.0.0 breaking changes

vanara.pinvoke.shcore 5.0.0, released January 12, 2026: 11 breaking changes.

- **Removed** `ShellItem.Dispose`  

The parameterless Dispose() on ShellItem was hidden; call the Dispose(bool) method instead. [github.com](https://github.com/dahall/Vanara/releases/tag/v5.0.0)
- **Removed** `Vanara.PInvoke.SizeFieldName`  

SizeFieldName was removed; use SafeDefAttribute instead, and SizeDef attributes replace SizeFieldName attributes. [github.com](https://github.com/dahall/Vanara/releases/tag/v5.0.0)
- **Behavior changed**  

On .NET 8 and later, binary serialized values supporting ISerialize are no longer automatically marshaled; other builds still work. [github.com](https://github.com/dahall/Vanara/releases/tag/v5.0.0)
- **Behavior changed** `Clipboard`  

Clipboard functions now throw an error if used from an MTA thread; callers must use an STA thread. [github.com](https://github.com/dahall/Vanara/releases/tag/v5.0.0)
- **Behavior changed** `IContextMenu.GetCommandString`  

The declaration of GetCommandString was changed, which may affect existing implementations or calls. [github.com](https://github.com/dahall/Vanara/releases/tag/v5.0.0)
- **Behavior changed** `IPropertyDescription.FormatForDisplay`  

FormatForDisplay now returns an HRESULT, so callers that ignored its return type may need to handle it. [github.com](https://github.com/dahall/Vanara/releases/tag/v5.0.0)
- **Behavior changed** `MoveFileEx`  

lpNewFileName is now nullable when used with MOVEFILE_DELAY_UNTIL_REBOOT. [github.com](https://github.com/dahall/Vanara/releases/tag/v5.0.0)
- **Behavior changed** `MoveFileWithProgress`  

MoveFileWithProgress parameters were made nullable, so null arguments are now accepted. [github.com](https://github.com/dahall/Vanara/releases/tag/v5.0.0)
- **Behavior changed** `PIDL`  

Constructors for MENUITEMINFO were changed, which may affect existing construction code. [github.com](https://github.com/dahall/Vanara/releases/tag/v5.0.0)
- **Behavior changed** `ShellItem.Dispose`  

Shell object wrappers now use the Dispose pattern and hard-release COM interfaces, which can change when objects are released. [github.com](https://github.com/dahall/Vanara/releases/tag/v5.0.0)
- **Signature changed** `IShellItem.BindToHandler`  

The BindToHandler signature was changed in this release, so existing calls may need updating to compile. [github.com](https://github.com/dahall/Vanara/releases/tag/v5.0.0)

## Related packages

- [vanara.pinvoke.user32](https://since.dev/packages/nuget/vanara.pinvoke.user32.md)
- [vanara.pinvoke.coreaudio](https://since.dev/packages/nuget/vanara.pinvoke.coreaudio.md)
- [vanara.pinvoke.gdi32](https://since.dev/packages/nuget/vanara.pinvoke.gdi32.md)
- [vanara.windows.extensions](https://since.dev/packages/nuget/vanara.windows.extensions.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
