OctoPack used with TeamCity, excluding Web.Staging.config from NuGet package

We’re using OctoPack with TeamCity in order to automatically create a NuGet package.

However the created package is missing the Web.Staging.config transform file, which is required for a deployment to our staging environment.

Screenshots of the Visual Studio solution explorer and created NuGet package are attached. I’ve also checked our Git repository, which includes the Web.Staging.config file.



Hi Peter,

Thanks for getting in touch! Is the Build Action on that file set to content? That is what OctoPack specifically looks for.
You can see an example on this page (scroll down a bit) http://docs.octopusdeploy.com/display/OD/Using+OctoPack

Let me know if that helps.