Sunday, December 16, 2007

The application for .wdproj is not installed

Question:
I have Visual Studio 2005 Standard Edition and SQL Server 2005 Express installed on a Win XP Pro dev machine. (Note: I have previously uninstalled VS 2005 Express on this PC).
I am trying to open sample code from the book "ASP.NET 2.0 Website Programming, Problem - Design - Solution" by Marco Bellinaso. The sample is a complete (and substantial) C# application. I am following the exact directions given in the ReadMe.txt file, but receive the error message:
The application for project 'd:\\TBH_Deploy.wdproj' is not installed. Make sure the application for the project type (.wdproj) is installed.
The book specifically recommends my application configuration. Do I have some registry settings messed up due to the previous install of VS Express? Other thoughts?


Answer:

You need Visual Studio's Web Deployment Projects

Scott Guthrie's Blog has a good introduction. http://weblogs.asp.net/scottgu/archive/2005/11/06/429723.aspx

For a more detailed explaination see, Using Web Deployment Projects with Visual Studio 2005.

You can also download the project directly at, http://download.microsoft.com/download/c/c/b/ccb4877f-55f7-4478-8f16-e41886607a0e/WebDeploymentSetup.msi


If you need Support for Web Application Projects is now a feature of Visual Studio 2005 Service Pack 1. A separate add-on and update to Visual Studio is no longer needed. If you did install the Web Application Projects Add-on you must first uninstall it before installing Visual Studio Service Pack 1.

Steps for installing support for Web Application Projects:
1. If you have the “Microsoft Visual Studio Web Application Projects” add-on installed, uninstall it.
2. Install Microsoft® Visual Studio® 2005 Team Suite Service Pack 1
If you need the deprecated “Microsoft Visual Studio Web Application Projects” installer you can find it here.