I have a C# WPF that generates NuGet packages on Visual Studio 2019 Community.
The project needs to be packaged with a 32bit C .dll dependency that installs winusb drivers for a target device. When attempting to add the reference:
add dependency dll 'winusbLoader.dll
I get the following error:
The reference is invalid or supported
When adding the reference manually to the .csproj script, Visual Studio shows broken reference warnings.
My questions are:
- Can only Console application reference C .dlls ?
- How can it be possible to package a C .dll into a C# WPF?
- Should I drop C# for a classical C++ GUI?
Thank you,