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
On this page
Latest version 5.0.8, released October 24, 2026. Source repository
Packages on NuGet run on .NET. .NET end of life dates.
vanara.pinvoke.shcore 5.0.0 breaking changes
- Removed
ShellItem.Dispose
The parameterless Dispose() on ShellItem was hidden; call the Dispose(bool) method instead. github.com - Removed
Vanara.PInvoke.SizeFieldName
SizeFieldName was removed; use SafeDefAttribute instead, and SizeDef attributes replace SizeFieldName attributes. github.com - Behavior changed
On .NET 8 and later, binary serialized values supporting ISerialize are no longer automatically marshaled; other builds still work. github.com - Behavior changed
Clipboard
Clipboard functions now throw an error if used from an MTA thread; callers must use an STA thread. github.com - Behavior changed
IContextMenu.GetCommandString
The declaration of GetCommandString was changed, which may affect existing implementations or calls. github.com - Behavior changed
IPropertyDescription.FormatForDisplay
FormatForDisplay now returns an HRESULT, so callers that ignored its return type may need to handle it. github.com - Behavior changed
MoveFileEx
lpNewFileName is now nullable when used with MOVEFILE_DELAY_UNTIL_REBOOT. github.com - Behavior changed
MoveFileWithProgress
MoveFileWithProgress parameters were made nullable, so null arguments are now accepted. github.com - Behavior changed
PIDL
Constructors for MENUITEMINFO were changed, which may affect existing construction code. github.com - 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 - Signature changed
IShellItem.BindToHandler
The BindToHandler signature was changed in this release, so existing calls may need updating to compile. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.