Using OctoPackEnforceAddingFiles on specific projects

Hello,

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!

Corey

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.,:

<PropertyGroup>
 <OctoPackEnforceAddingFiles />True<OctoPackEnforceAddingFiles />
</PropertyGroup>

Hope that helps!

Paul

1 Like