Unwanted changes in .csproj file on build
问题 I'm trying to auto-detect web.configs as part of a transform pre-build event in one of my web application project files, this code goes up one folder level from my project file and gets all web.configs in every directory and sub directory: <ItemGroup> <WebConfigsRelativePath Include ="..\**\Web.config"/> </ItemGroup> This works great but everytime I build and exit Visual Studio, I get a prompt asking me if I want to save changes made to my solution file. If I select yes, and open the project