TFS建立新项目定义失败 [英] TFS Building new project definition failed

查看:144
本文介绍了TFS建立新项目定义失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好..
我正在尝试使用TFS为我的应用程序构建新定义,并且在确实创建了新的构建定义之后,我运行了该定义,并且出现以下错误:

Hi All..
I am trying to build a new definition for my application using TFS, and after i did create the new build definition, i ran it and i have the following error :

Default.aspx.cs (7): The type or namespace name 'Common' does not exist in the namespace 'myAPPName' (are you missing an assembly reference?)


等等,即使它们都存在,也可以用于其他参考.
问题是我拥有所有引用,并且它们都存在于此.

请提供任何帮助... ??


and so on for other references even though they all exists.
and the problem is that i have all the references and they all exists there.

any help please ... ??

推荐答案

名称空间"myAPPName"中不存在类型或名称空间名称"Common"
该错误仅表示您缺少某些类或程序集.获取最新代码,强行获取所有代码,然后尝试重建.

检查发生此错误的第7行,并导航至文件(尝试至),查看代码是否指向正确的位置并且事物按原样定义.确保记下名称空间.如果使用的类(上面的错误)在另一个项目中,则需要将该程序集的引用添加到当前项目中.
The type or namespace name ''Common'' does not exist in the namespace ''myAPPName''
This error simply means that you are missing some class or assembly. Get latest code, force get all and try to rebuild.

Check for the line 7, where this error occurs and navigate to the file (try to) and see if the code is pointing to correct place and things are defined as is. Make sure to note the namespaces. If the class used(raising error above) is in another project then you need to add reference of that assembly to current project.


这篇关于TFS建立新项目定义失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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