Using OctoPackEnforceAddingFiles on specific projects


I have a MSBuild step in TC that build more than one solution. I need to enable OctoPackEnforceAddingFiles=true only on certain solutions and not every solution it builds. Is there any way to accomplish this? Thanks!


Hi Corey,

Thanks for getting in touch. Currently the only way to do this is to modify your *.csproj file and to specify the setting in a <PropertyGroup> element. E.g.,:

 <OctoPackEnforceAddingFiles />True<OctoPackEnforceAddingFiles />

Hope that helps!


1 Like