Last post Jun 20, 2007 12:23 PM by Rizwan328
Jun 18, 2007 10:23 PMemail@example.com|LINK
I have a Web Application Project in VS2005, the project builds successfully. Then I use the VS2005 Web Deployment Project to build it, I got the following error which is absurd since I'm not missing the System.Web dll assembly reference.
Error The type or namespace name 'Web' does not exist in the namespace 'Fan.Web.Admin.System' (are you missing an assembly reference?)
Could anyone tell what is wrong with this problem?
Thanks a lot!!
Jun 18, 2007 11:03 PMfirstname.lastname@example.org|LINK
I got the problem fixed. This error has been asked in the forum before but no one really gave any point of direction on the cause! It turns out that the Web Deployment Project is very sensitive about how you name your namespace in the web application.
I have a folder named "System" and by default all the .cs created under this folder got "System" as part of its namespace and the Web Deployment Project will not build on this, changing the namespace to "Sys" for example fixed it. However, the Web Application
itself builds without any problems, wish the Web Deployment Project could be consistent with the Web Application Project!!!
Hope this helps to others.
VS 2005 Web Deployment Project
Jun 20, 2007 12:23 PM|Rizwan328|LINK
thanks for sharing