Cswin32 Interop

Guides CsWin32 P/Invoke interop in MSBuild. Consult when working with the PInvoke class, Windows.Win32 namespaces, FEATURE_WINDOWSINTEROP, HANDLE/HMODULE/HRESULT types, BufferScope<T>, replacing [DllImport] with CsWin32, or conditioning Windows-only code for source builds.

.NET (Microsoft) 04315d7 12.9 KB Updated 4k repo stars

File contents

dotnet/msbuild/tree/main/.github/skills/cswin32-interop commit 04315d709c

Frequently asked questions

npx skillmds@latest add dotnet/cswin32-interop