Skip to content

Bump Microsoft.Windows.CsWin32 from 0.3.236 to 0.3.298#634

Open
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/nuget/Microsoft.Windows.CsWin32-0.3.298
Open

Bump Microsoft.Windows.CsWin32 from 0.3.236 to 0.3.298#634
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/nuget/Microsoft.Windows.CsWin32-0.3.298

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 12, 2026

Copy link
Copy Markdown
Contributor

Updated Microsoft.Windows.CsWin32 from 0.3.236 to 0.3.298.

Release notes

Sourced from Microsoft.Windows.CsWin32's releases.

0.3.296

Changes:

Fixes:

  • #​1703: CsWin32-generated COM structs trip CS3016 under [assembly: CLSCompliant(true)]

Enhancements:

  • #​408: Fields in Anonymous nested structs should be exposed with property getters on the nesting struct
  • #​1720: Generate generic overloads for IID_PPV_ARGS pattern on COM methods

Others:

  • #​1531: Update nbgv and nerdbank.gitversioning updates to 3.9.50
  • #​1727: Flatten anonymous bitfield sub-properties (#​408 phase 2)
  • #​1721: Flatten anonymous nested struct/union fields (#​408)
  • #​1715: fix: document inherited COM interface methods
See More
  • #​1728: Serialize Linux test runs and capture crash dumps as a dedicated artifact
  • #​1722: Limit test parallelism on Linux to avoid OOM kills
  • #​1709: Update actions/checkout action to v5.0.1
  • #​1723: Suppress CS3016 on internal COM wrappers without [CLSCompliant(false)] (#​1703)

This list of changes was auto generated.

0.3.287

Changes:

Fixes:

  • #​1703: CsWin32-generated COM structs trip CS3016 under [assembly: CLSCompliant(true)]
  • #​1704: IComIID is not emitted on net472 / netstandard2.0
  • #​1716: Generated IStream.Read/Write forward to ISequentialStream and fail for IID_IStream COM objects
  • #​1696: Broken code generated due to hardcoded "PInvoke" classname

Enhancements:

  • #​1477: Allow specifying extension member target for static class

Others:

  • #​1718: Add integration tests to PR gate and fix Roslyn 4 analyzer leg
  • #​1701: Add extensionReceiver option for layered PInvoke composition (#​1477)
See More
  • #​1706: Mark internal COM struct wrappers [CLSCompliant(false)] when they carry CCW thunks
  • #​1698: Auto-generated baselines by 1ES Pipeline Templates
  • #​1705: Emit IComIID on downlevel TFMs (net472 / netstandard2.0)
  • #​1555: Downgrade dependencies so the source analyzer works with .NET 8 SDK again
  • #​1717: Fix #​1716: emit friendly overloads for inherited COM methods on derived interfaces in source-generator mode
  • #​1707: Bump .NET SDK to 10.0.108 (CG alert 12352554)
  • #​1694: Add missing unchecked regions
  • #​1697: Fix hardcoded PInvoke class name in ICCloseSafeHandle generation
  • #​1690: Add validate gate job for single required status check
  • #​1685: Add GitHub Actions workflow to run all tests in PR

This list of changes was auto generated.

0.3.275

Changes:

  • #​1678: Fix cross-winmd STATUS_SUCCESS lookup
  • #​1672: Promote handle pointer to an out reference if handle cannot be trivially represented as a SafeHandle
  • #​1668: Bump metadata version
  • #​1621: Fix AppLocalAllowedLibraries handling in CsWin32RunAsBuildTask mode
  • #​1623: Cleanup codecov sample comment
  • #​1620: Reduce allocations

This list of changes was auto generated.

0.3.269

Changes:

  • #​1613: Use Marshal.InitHandle API to avoid memory leak when OOM happens
  • #​1614: Update to latest win32metadata
  • #​1603: Generate SafeHandle when freeing method accepts additional reserved parameters
  • #​1597: Add more examples to the docs

This list of changes was auto generated.

0.3.264

Changes:

  • #​1593: Fix IDispatch property returns with built-in COM
  • #​1591: Update README.md & add sample snippets
  • #​1589: Add [Optional] on optional params

This list of changes was auto generated.

0.3.259

Changes:

  • #​1545: Generate struct wrapper around function pointer to make a native delegate typedef
  • #​1578: Update win32metadata to latest (68.0.4-preview)

This list of changes was auto generated.

0.3.257

Changes:

  • #​1575: Fix bug when multiple Span-params share a CountParamIndex and one param is null
  • #​1567: Fix mis-handling of parameters that are arrays of HANDLE
  • #​1565: Switch CsWin32RunAsBuildTask to EmitSingleFile by default (for VS incremental scenario)
  • #​1562: Move to .NET 10 SDK, add test coverage for net10 TFM

This list of changes was auto generated.

0.3.253

Changes:

  • #​1557: Improve intellisense experience with CsWin32RunAsBuildTask mode

This list of changes was auto generated.

0.3.252

Changes:

  • #​1550: Support $(ProjectName).NativeMethods.txt pattern for single-file-app projects
  • #​1555: Downgrade dependencies so the source analyzer works with .NET 8 SDK again

This list of changes was auto generated.

0.3.250

Changes:

  • #​1554: Translate VARIANT to ComVariant when using COM source generators
  • #​1548: Add common Win32 message parameter extraction macros

This list of changes was auto generated.

0.3.248

Changes:

  • #​1544: Improve optional out interface arguments (e.g. IWbemServices.GetObject) and other minor tweaks
  • #​1547: Add test for cross-winmd IInspectable derivation and fix a tiny bug
  • #​1541: Don't emit friendly overload of Span param for flexible array structs
  • #​1536: Handle struct returns for COM interface methods across all marshalling modes
  • #​1534: Preserve pointer return types
  • #​1533: Fix out ** pointer parameters

This list of changes was auto generated.

0.3.242

Changes:

  • #​1524: Add an option to FriendlyOverloads to request previous pointer overloads
  • #​1526: Generate real IDispatch when requested
  • #​1522: [Retained] parameters need to project as pointer
  • #​1521: Add implicit IntPtr casts to void* typedefs

This list of changes was auto generated.

0.3.238

Changes:

  • #​1520: Don't make void* params Span in friendly methods
  • #​1517: CsWin32Generator should allow newer language versions

This list of changes was auto generated.

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: Microsoft.Windows.CsWin32
  dependency-version: 0.3.298
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Jul 12, 2026
@Freeesia

Copy link
Copy Markdown
Owner

@copilot
このPRのCIビルドエラー修正して。
ライブラリ更新は維持して。

Copilot AI commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

@copilot
このPRのCIビルドエラー修正して。
ライブラリ更新は維持して。

ビルドエラーを修正しました(コミット: fix: CsWin32 0.3.298でのvoid*パラメータへのコレクション式を修正)。

CsWin32 0.3.298で CreateWindowEx の最後のパラメータの型が void* に変更されたため、コレクション式 [] が使えなくなっていました。null に変更して修正しています。

Copilot AI requested a review from Freeesia July 12, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants