关于错误“Sources”参数中指定了多次。“Sources”参数不支持重复项

“Sources”参数中指定了多次。“Sources”参数不支持重复项

问题源自于工程文件.cspro 用记事本打开工程文件,发现

    <Compile Include="tt/DbTree.cs" />     <Compile Include="tt/Forum.cs" />     <Compile Include="tt/HomePageDal.cs" />     <Compile Include="tt/HomePageDal.cs" />     <Compile Include="tt/HomeWorkDALC.cs" />

发现两个一模一样的包含文件,删掉一个随之问题解决

原文地址:https://www.cnblogs.com/dachuang/p/13032656.html