无法打开源文件-但是未使用该源文件! [英] Source file could not be opened - but this source file is not being used!

查看:121
本文介绍了无法打开源文件-但是未使用该源文件!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个多项目解决方案.这些项目之一将无法编译.我遇到了错误:

I have a multi-project solution. One of  these projects will not compile. I'm getting the error:

无法打开'D:\ Solution \ Solution.Services \ obj \ Debug \ TempPE \ ML.user.Designer.cs.dll'('Unspecified error')

'D:\Solution\Solution.Services\obj\Debug\TempPE\ML.user.Designer.cs.dll' could not be opened ('Unspecified error ')

我无法为自己的一生而努力.在某个阶段,我确实有一个资源文件(ML.user.resx,及其关联的ML.user.Designer.cs),但是我删除了此文件,因为这会引起问题(我正在使用代码生成器,并且代码生成器从未将其添加回右侧).

I cant, for the life of me, work it out. I did, at one stage, have a resource file (ML.user.resx, with its associated ML.user.Designer.cs), but I removed this, as it was causing problems (I'm using a code generator, and the code generator was never adding it back in right).

我已经删除了对ML.user.resx的所有引用,因此从理论上讲,不需要使用它.我已经检查了project.csproj和project.xml文件中是否有对ML.user的引用,但没有找到.

I have removed all references to ML.user.resx, so in theory there should be no need to use it. I have checked both the project.csproj and project.xml files for references to ML.user, but found none.

有人可以在这里帮助我吗?这让我发疯.

Can anyone help me out here? This is driving me insane.

谢谢.

推荐答案

我遇到了相同的错误...除了我的错误,它与实际的CS文件,而不是dll.

I'm having the same error... Except with mine it is related to an actual CS file and not to a dll.

 

我正在使用vs 2k8连接到tfs 2005服务器.它一直编译,直到我取消了团队成员正在使用的2k5项目,然后升级并尝试重新编译.

I'm using vs 2k8 connected to a tfs 2005 server. It compiled until i pulled down the 2k5 project that a member of my team was using then upgraded and tried to recompile.

让我知道您是否找到任何东西.

Let me know if you find anything.

最佳

瑞安·摩根(Ryan Morgan)

Ryan Morgan

www.arrowdesigns.com


这篇关于无法打开源文件-但是未使用该源文件!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆