我正在研究WPF,C#3.0项目,我收到此错误:
Error 1 Metadata file
'WORK=- \Tools\VersionManagementSystem\BusinessLogicLayer\bin\Debug
\BusinessLogicLayer.dll' could not be found C:\-=WORK=- \Tools
\VersionManagementSystem\VersionManagementSystem\CSC VersionManagementSystem
Run Code Online (Sandbox Code Playgroud)
这是我引用我的usercontrols的方式:
xmlns:vms="clr-namespace:VersionManagementSystem"
<vms:SignOffProjectListing Margin="5"/>
Run Code Online (Sandbox Code Playgroud)
它发生在每次失败的构建之后.我可以获得编译解决方案的唯一方法是注释掉我的所有用户控件并重新构建项目,然后我取消注释用户控件,一切都很好.
我检查了构建顺序和依赖项配置.
正如你所看到的,它似乎已经截断了DLL文件的绝对路径......我已经读过有一个长度错误.这可能是个问题吗?
它非常烦人,不得不评论,构建和取消注释,构建变得非常烦人.