microsoft / CsWin32

A source generator to add a user-defined set of Win32 P/Invoke methods and supporting types to a C# project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Latest WDK metadata fails to create DEVPKEY field

Nuklon opened this issue · comments

Actual behavior

Error (active)	PInvoke000	An internal error occurred: Failed creating field: Windows.Wdk.Devices.Bluetooth.Apis.DEVPKEY_Bluetooth_DeviceAddress. Unrecognized target type.	

Expected behavior

Generate OK.

Repro steps

  1. NativeMethods.txt content:
DEVPKEY_*
  1. NativeMethods.json content (if present):
  1. Any of your own code that should be shared?

Context

  • CsWin32 version: 0.3.106
  • Win32Metadata version (if explicitly set by project): 61.0.15-preview
  • WdkMetadata version (if explicitly set by project): 0.12.8-experimental