Republished with Permission - Original Article
Two weeks ago we released the VS 2005 SP1 Beta. You
can download it for free by visiting and
registering on the Microsoft Connect Site.
This release contains several hundred fixes for customer
reported bugs with VS 2005. It also includes built-in support for the VS
2005 Web Application Project, which we previously released earlier this year as a standalone download (SP1
adds a few additional features to it, fixes a few bugs, and has some additional
performance tunings for it). Before installing VS 2005 SP1 (both the Beta
and final release), you'll need to uninstall any previous installs of the VS
2005 Web Application Project standalone download that you have on your
One bug that we've seen some developers run into is an issue
where - if they have installed an older build of the VS 2005 Web Application
Project on their machine before - they get the below error dialog message
when they try to add new items to a Web Application project immediately after
installing the new SP1 Beta Support for it:
Error: this template attempted to load an untrusted
component 'Microsoft.VisualStudio.Web.Application, Version=188.8.131.52,
Culture=neutral, PublicKeyToken=31bf3856ad364e35'. For more information on this
problem and how to enable this template, please see documentation on
Customizing Project Templates.
This is caused by a bug with the SP1 Beta setup. You
can fix this with the SP1 Beta by closing VS 2005, and then open up the
"Visual Studio 2005 Command Prompt" (there is an icon for it in your
Start Menu->Visual Studio 2005->Visual Studio Tools folder), and run this
command from within it:
This will correctly re-configure the add item templates and
make everything work fine.
Hope this helps,
P.S. The setup issue will be fixed for the final SP1 release
- so the steps above are only needed with the Beta.