MSBuild.SDK.SystemWeb icon indicating copy to clipboard operation
MSBuild.SDK.SystemWeb copied to clipboard

Configuration-specific Web.configs added to project even if they don't exist

Open HamsterExAstris opened this issue 2 years ago • 0 comments

Upon upgrading to the newest version (4.0.88), I found that Web.Debug.config/Web.Release.config were showing up as items with a ContentType of None in my project despite them not existing on disk:

image

In addition to showing in Solution Explorer, they also get added as pending changes to TFVC. (Probably not an issue with Git.)

I assume this was added by #44. I tried fixing the SDK but couldn't figure out the correct MSBuild incantation to add an Exclude attribute.

As a workaround I have explicit Remove items in my .csproj for them.

HamsterExAstris avatar Jul 30 '23 17:07 HamsterExAstris