Problems Using Web Deployment Projects with Visual Studio 2005
So Microsoft deploys Visual Studio 2005, we are all so exited but in the process we all complain about all those DLLs into the bin file. Well not a problem, fast as a bullet Microsoft releases the Web Deployment Projects. Something else to download in your computer as an add-in or service pack :-)
Well all the intructions to download it and install it. Please make sure you close all versions of VS2005:
Now read how to use them:
So let's start with the problems; once you create the project, you 'll find the internally VS2005 uses aspnet_merge.exe, great tool as we are going back to the same thing that VS2003 worked, add every aspx.cs into a common DLL. You may encounter errors like: “error MSB6006: "aspnet_merge.exe" exited with code 1“ Personally my favourite. What does it mean? Well I can let you know you can find out by changing your build outpout verbosity. To do so, Tools/Options go to Projects and Solutions, / Build and Run and the last drop down change it to Diagnostic.
Or I can let you know that 2 modules are using the same .cs file. Guess witch ones, or better check the debug after the verbosity is that high.
After you finish fixing all “collisions“ you may find the deployed website with a DLL names “ProjectName“_deploy.dll
There are a few more errors, but I learn that using the diagnostic high I can resolve many of them, if you leave the diagnostic low, the error message will not allow you to find what the problem is.
Please make sure you send me any other error message that the compiler message error does not give you enough information.
Cheers
Al
Best material to read: http://weblogs.asp.net/scottgu/archive/2006/05/08/VS-2005-Web-Application-Project-V1.0-Released.aspx



Comments
TrackBack said on 10.17.2006 at 5:10 PM