How can I make my managed NuGet package support C++/CLI projects?

后端 未结 7 1743
暗喜
暗喜 2020-12-04 14:03

I have made a NuGet package that works well when I use it from a C# project. It contains a DLL in the lib/net40 directory, and the DLL gets added as a reference

7条回答
  •  醉酒成梦
    2020-12-04 14:22

    Easy workaround is to wrap such NuGet in a regular .NET project (C#) and reference the same in your C++/CLI project.

提交回复
热议问题