Click here to Skip to main content
15,886,100 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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 :

C#
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 ... ??
Posted

1 solution

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.
 
Share this answer
 
Comments
rushdi obeidat 11-Jul-12 7:27am    
thank you
Sandeep Mewara 13-Jul-12 2:21am    
Welcome.
Espen Harlinn 11-Jul-12 10:59am    
5'ed!
Sandeep Mewara 13-Jul-12 2:21am    
Thanks Espen.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900