FAQ Database Discussion Community


how to create nuspec file in specific folder?

nuget,nuget-package,nuget-package-restore,nuspec
I tried to create .nuspec file in a different folder by giving path but it is giving me error Nuget.exe spec ..\MYDEMOFOLDER Nuget.exe pack ..\MYDEMOFOLDER\MYPROJECT.csproj pause want to create MYPROJECT.nuspec in ..\MYDEMOFOLDER folder location getting error to create nuspec file The package ID '..\MYDEMOFOLDER' contains invalid characters. Examples of valid...

When does OctoPack create the nuspec file?

octopus-deploy,nuspec,octopack
The Using OctoPack mentions A .nuspec file describes the contents of your NuGet package. OctoPack automatically creates one if you haven't provided one, by guessing some of the settings from your project. I've run msbuild with the /p:RunOctoPack=true flag set, and expect to see the .nuspec file in the project...

Octopack packaging windows service as if it were a web site

deployment,octopus-deploy,nuspec,octopack
I have a windows service which contains the necessary components to allow it to render razor templates. This service listens on a message queue and sends emails, using the razor templates to generate rich html. Everything is working fine, however, when it comes to deploying it with Octopus Deploy, it...

How to delete files a dependency installed after your package is installed

powershell,nuget,nuspec
I'm working on a nuget package that depends on the Unity and Unity.Mvc4 packages. My nuspec file has them listed as dependencies. Everything works, but when my package is installed the dependencies are installed first. The Unity dependencies deploy files to the root of the project that my package has...