开发者

Creating an automated build fails due to a so called missing namespace

I am really new to TFS 2010 automated builds.

I am trying to setup an automated build for a project I am working on. Locally if I build the project it compiles as I expect it to 开发者_运维知识库without any errors.

If I trigger my build definition the build fails telling me that one of my .cs files is missing a namespace for a referenced project.

I have checked the reference and it's set to copy local, is there another reason why my build server doesn't think that the .dll is there?

Any pointers would be great!


My guess is that you are referencing a DLL that you have on your local machine, but that doesn't exist on the build server. My suggestion is looking at the build server build log and looking for any build warnings about unable to find references.

Chances are you need to add the DLL's to TFS and update the project references to reference the relative path in the source tree.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜