Visual Studio Builds Projects Every Time I Run

前端 未结 13 962
花落未央
花落未央 2021-01-17 08:42

I have a .NET solution in Visual Studio 2010 with a bunch of projects. Up until recently, when I would run the startup project from within the IDE, projects would only buil

13条回答
  •  生来不讨喜
    2021-01-17 09:13

    There can be many reasons for MSBuild to detect a need to rebuild the project.

    In my case, I have a bunch of Pre-build events that generate code from XSD files. These causes the project to be rebuilt every time. And then other projects depending on this one will be rebuilt as well.

提交回复
热议问题