Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/visual-studio/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 源文件'';找不到_C#_Visual Studio - Fatal编程技术网

C# 源文件'';找不到

C# 源文件'';找不到,c#,visual-studio,C#,Visual Studio,我已经创建了一些需要使用的解决方案,但我得到了这些解决方案: Warning 1 At least one file is missing the 'RelPath' attribute. SolutionName Error 2 Source file '' could not be found C:\Users\me\Desktop\someDir\someDir\CSC SolutionName 我在桌面上使用VS Express 2013。 单击“重建解决方案”时

我已经创建了一些需要使用的解决方案,但我得到了这些解决方案:

Warning 1   At least one file is missing the 'RelPath' attribute.   SolutionName

Error   2   Source file '' could not be found   C:\Users\me\Desktop\someDir\someDir\CSC SolutionName
我在桌面上使用VS Express 2013。 单击“重建解决方案”时出现此错误


为什么会出现此错误以及如何修复它?

创建项目文件的备份

在解决方案资源管理器中,右键单击项目并将其卸载。然后再次右键单击并“编辑项目文件”

在那里你可以检查你的文件。其中一个应该有问题,比如缺少文件名,或者与其他文件不同。
删除与该文件相关的属性,保存项目,右键单击,重新加载项目。

发布代码。解释您正在加载的文件。解释文件的位置。这个问题表述得很糟糕。它是一个相当复杂的解决方案,一个项目包含数百个类,包含10-15个名称空间,包括几个库,50000多行代码,发布的具体内容是什么?@当你发布一个问题时,想象一个对你的项目细节一无所知的人。而不是试着描述你的问题。