all groups > visual studio .net ide > april 2007 >
You're in the

visual studio .net ide

group:

Web Deploy Project - Could not load type '$rootnamespace$.$classna


Web Deploy Project - Could not load type '$rootnamespace$.$classna MattM
4/24/2007 9:22:01 AM
visual studio .net ide:
When trying to build a web deployment project for my ASP .Net project I get
these ambiguous errors. Any idea what might be wrong? I'm not sure what to
even start looking at. Everything builds correctly.

(Not sure if this is correct forum)

/hidwp3.vbproj/ItemTemplatesCache/CSharp/ContentPage.zip/ContentPage.aspx(1):
error ASPPARSE: The file
'/hidwp3.vbproj/ItemTemplatesCache/CSharp/ContentPage.zip/$MasterPage$' does
not exist.

/hidwp3.vbproj/ItemTemplatesCache/CSharp/ContentPage.zip/ContentPage.aspx(1): error ASPPARSE: Could not load type '$rootnamespace$.$classname$'.
Re: Web Deploy Project - Could not load type '$rootnamespace$.$cla MattM
4/24/2007 12:26:03 PM
I tried the devenv /installvstemplates and it got the same error. I also
built a simple web application project and added a web deploy project to see
if it would work and I didn't get the same error.

I thought this was related to the master pages because of the error but do
you think it might be related to the project using the AJAX controls? The
project builds and runs so I'm not sure why the web deploy project is missing
anything.

[quoted text, click to view]
Re: Web Deploy Project - Could not load type '$rootnamespace$.$classna Bryan Phillips
4/24/2007 6:49:20 PM
It looks like you have missing item templates which will prevent you
from adding new items of the affected type. You will want to run devenv
at the command line with the /installvstemplates switch to fix this.

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
Web Site: http://www.composablesystems.net



[quoted text, click to view]
Re: Web Deploy Project - Could not load type '$rootnamespace$.$cla MattM
4/25/2007 8:50:02 AM
Problem solved but not sure what exact solution was. I went through and
reanalyzed all the references in the project and retested more locally and
eventually this error went away. I can only assume it was related to an
incorrect or missing reference but not sure how it didn't fail on build.

[quoted text, click to view]
AddThis Social Bookmark Button