Conditional ItemGroup in .csproj (SDK style)
I'm trying to add this conditional ItemGroup
Basically, want to use the ItemGroup if I have not run dotnet pack OR I have run dotnet build.
Any ideas why this isn't working? Even just using MSBuildProjectBuild check doesn't work for me.
Basically, want to use the ItemGroup if I have not run dotnet pack OR I have run dotnet build.
Any ideas why this isn't working? Even just using MSBuildProjectBuild check doesn't work for me.