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