How to add shared C# NuGet dependencies to a C++/Cli project?

后端 未结 3 1621
失恋的感觉
失恋的感觉 2021-01-03 20:50

Context: A Visual Studio solution with 2 assemblies, Cs and Cpp.

  • Cs is a C# / .net45 dll
  • Cpp is a C++/Cli dll, a C++ dll compiled with /clr.
3条回答
  •  -上瘾入骨i
    2021-01-03 21:10

    Please refer to NuGet documentation especially the "-IncludeReferencedProjects" parameter.

    "From a project" section; http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package

    Regards...

提交回复
热议问题