Description
Win32 primitives, e.g. Windows.Win32.Foundation.PCWSTR, are generated in each assembly they are needed for (resulting in many duplicates across assemblies) rather than just depending on one single generation that all assemblies depend on, e.g. Riverside.Win32.Foundation which contains types that all assemblies may or may not need.
Steps to reproduce
- Run the slngen
- Open the generator view in Visual Studio
- See that common Win32 primitive structs and types are generated across all assemblies
Version
N/A
Affected platforms
No response
Platform version
N/A
Log File
N/A
Comments
Requires:
Description
Win32 primitives, e.g.
Windows.Win32.Foundation.PCWSTR, are generated in each assembly they are needed for (resulting in many duplicates across assemblies) rather than just depending on one single generation that all assemblies depend on, e.g.Riverside.Win32.Foundationwhich contains types that all assemblies may or may not need.Steps to reproduce
Version
N/A
Affected platforms
No response
Platform version
N/A
Log File
N/A
Comments
Requires:
PInvokeconflicts with other types of the same name imported in multiple assemblies #2