CZEMacLeod / MSBuild.SDK.SystemWeb

This MSBuild SDK is designed to allow for the easy creation and use of SDK (shortform) projects targeting ASP.NET 4.x using System.Web.
MIT License
151 stars 8 forks source link

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

Open HamsterExAstris opened 11 months ago

HamsterExAstris commented 11 months ago

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.