How to create nuget package for native C++

前端 未结 2 1378

I want to publish package about sdl_mixer, it\'s a native package. I did as tutorial said. I put .dll .hand .lib files into pa

2条回答
  •  执念已碎
    2021-02-13 03:15

    You can use CoApp PowerShell tools to create the Native Nuget packages easily.

    Creating Native Packages

    If you’re interested in publishing your native libraries via NuGet, you can choose to create the NuGet packages manually. However, there’s an easier way--the CoApp project volunteered to write C++ oriented tools to create NuGet packages, and they have released a beta version of their tools. These tools simplify the process of generating the MSBuild files and NuGet packages from existing header and library files--you just need to create a configuration script to describe the contents of the package and then run the tools to generate the NuGet package.

    Refer to this link for more detailed information: Support for Native Projects.

提交回复
热议问题