You need:
- nuget.exe
- VS developer command prompt
Nuget Creation:
- Create a ./build folder
- Create
MYCLRPROJECT.propsinside the build folder (file below) - Create
MYCLRPROJECT.targetsinside the build folder (file below) - Create a
MYCLRPROJECT.nuspecfile, where you explicitly include at least:MYCLRPROJECT.dll,Ijwhost.dllfrom the build output folder and at leastMYCLRPROJECT.propsandMYCLRPROJECT.targetsfrom the ./build folder (file below) - Build the
MYCLRPROJECT.vcxproj - nuget pack the nuspec file
This example builds to $(ProjectDir)bin\$(Platform)\$(Configuration)\