We’re using TeamCity as a build server and if I don’t have a nuspec file in my project folder I see the following message:
A NuSpec file named ‘Ccnz.Common.DataAnnotationExtensions.nuspec’ was not found in the project root, so the file will be generated automatically. However, you should consider creating your own NuSpec file so that you can customize the description properly.
… which seems to work just fine, but if I do have a nuspec file, I start seeing the following message:
[CreateOctoPackPackage] error OCTONUGET: Id is required.
[14:46:36][CreateOctoPackPackage] error OCTONUGET: Authors is required.
[14:46:36][CreateOctoPackPackage] error OCTONUGET: Description is required.
Why is it that if Octopus generates it’s own nuspec file, everything is cool and groovy, but if I use my own nuspec file with standard replacement tokens, it spits the chewy?
a. Shouldn’t Octopus be smart enough to go looking for them and make the substitutions required?
b. Realise that it should be targeting the csproj file instead. Probably more a TeamCity thing, but I don’t have access to see the way it’s set up.
c. Just substitute whatever it uses when it generates its own file.