Playing around with a few different variations of creating artifacts, and one I’m trying is using the default NuGet Pack build runner in TeamCity, however I’m seeing some weird things.
I just created a sample MVC project. I have set the Speficiation files to the csproj of the application, and an artifact is being generated. First weird thing, is when I view the artifact contents, it’s missing files, even though they are included in my VS project and set to content. For example, there is a Content\Site.css which is in the nuget package, but Content\themes\jquery-ui.css etc aren’t. Similarly, the web.config isn’t, but it is renamed to web.config.transform
Secondly, when I then setup a deploy in Octopus, it’s then deploying the files in the same way as they are packaged. (I understand OctoPack does this how the application should be eventually deployed, but documentation says Nuget Pack is supported.)
Just trying to figure this one out, as I have a requirement for this for some projects, and using OctoPack for others.