Visual Studio 2008 tries to convert a web deployment project every time I open the solution
-
28-05-2021 - |
Question
I am using a web deployment project in Visual Studio 2008.
Now, every time I open my ASP.NET web project solution which contains the web deployment, Visual Studio asks to convert the project (I guess from VS 2005 to 2008). I do the conversion and save, but if I close an re-open the solution, VS insists on trying to convert the project.
Anybody who knows how to resolve this annoying problem?
Update - configuration:
- Visual Studio 2008 Professional (german)
- ASP.NET 3.5 (VB.NET as language)
- Subversion/VisualSVN
- 1 web project + 4 library projects + 1 web deployment project (new)
Solution
I found a solution:
- Right click on the Web Deployment Project in the Solution Explorer of Visual Studio 2008.
- Select "Open Project File"
- Change the ToolsVersion value from "3.5" to "4.0"
(XML of the .wdproj file)
<Project ToolsVersion="3.5" DefaultTargets="Build" ...
into
<Project ToolsVersion="4.0" DefaultTargets="Build" ...
That's all!
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow