Linked project items not being packed into NuGet package with OctoPack 2


I have a shared .config file in my VS web project which is a linked item. The build action is set to “Content”, much like Web.config, etc.

Unfortunately it doesn’t get published in the resulting NuGet package, where it did under v1 of OctoPack. I’ve also tried setting Copy to Output Dir to “Always”. but that just copies the config file into the bin directory.

Is it possible OctoPack has passed over these linked type files and therefore isn’t packing them?

Thanks, Phil

Hi Phil,

This should be fixed in OctoPack 2.0.18.


Thanks! Love your work.