CubeKit
CubeKit copied to clipboard
Bug: Tooling P/Invoke declarations conflicts with source generations in end-user projects
Related: https://github.com/Lamparter/Win32/issues/2 Related: https://github.com/microsoft/CsWin32/issues/1312
Description
The PInvoke class from Riverside.Tooling.CsWin32 will conflict with the PInvoke class in the end user project.
Steps to reproduce
- Open a project
- Add any Cubekit project as a dependency
- Use CsWin32 in that project
- See an error when using PInvoke
Version
2.0.0-rc3
I think it's possible to customise the namespace that the generations are included in, that's probably what should be done here