The type or namespace name does not exist in the class or namespace (are you missing an assembly reference?)

Dec 5 2005 1:10 AM
Hello,

Whenever I try to build my project XYZ, first time, it gives me error - "The type or namespace name 'Components' does not exist in the class or namespace 'Rheem' (are you missing an assembly reference?)". On building the project again, the error does not appear and the project is successfully build.

Actually I have a reference to same assembly "Components" in other projects as well, and it builds successfully. Only in this project ie XYZ, it gives me above error for first time build only. On second attempt, it builds successfully. Also, once I close the solution and open again, the same error comes. I have to build twice for this project, before I can start the solution.

I have tried every possible way to build the project (first time), by even creating a new project, but it does not work.

Anyone, who has faced similar problem and knows the solution, pl let me know.

Following are items in the project :

1)Assemblyinfo.cs
2) Install.xml
3) Rheem.Product.DomesticSelector.ascx


Thanks
Gaurav