nuget-spec

How to add a folder to a nuspec file

可紊 提交于 2019-11-27 15:51:30
问题 So I'm actually trying to package up a web site project (not web application so no csproj file) into a NuGet package ready for Octopus to consume but am running into one brick wall after another.. I looked into using OctoPack but it doesn't support web site projects only web application projects. I am now trying to find a way of adding a folder (in my case a web site) into a Nuget package but Nuget doesn't allow this via the command line does it? It also requires a .csproj file! I've also

Add native files from NuGet package to project output directory

梦想的初衷 提交于 2019-11-26 04:04:27
问题 I\'m trying to create NuGet package for a .Net assembly which does pinvoke to a native win32 dll. I need to pack both the assembly and the native dll with the assembly added to the project references (no problem at this part) and the native dll should be copied into the project output directory or some other relative directory. My questions are: How do I pack the native dll without visual studio trying to add it into the references list? Do I have to write an install.ps1 for copying the