1

具有重复相同项目的 csproj 是否会执行两次操作?

<Compile Include="Dashboard\Default.aspx.designer.cs">
<Compile Include="Dashboard\Default.aspx.designer.cs">
4

1 回答 1

1

它通常会像这样抛出错误

error MSB3105: The item "Default.aspx.designer.cs" was
specified more than once in the "Sources" parameter

如果我真的必须仔细检查,我只是在完整构建后进行另一个增量构建以查找错误,因为下次输出要小得多

于 2011-12-07T15:55:59.037 回答