Visual Studio 2008中尝试将网络部署项目每次我打开该解决方案时间转换 [英] Visual Studio 2008 tries to convert a web deployment project every time I open the solution

查看:123
本文介绍了Visual Studio 2008中尝试将网络部署项目每次我打开该解决方案时间转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio 2008中使用网络部署项目

I am using a web deployment project in Visual Studio 2008.

现在,每次我打开我的,其中包含Web部署ASP.NET Web项目的解决方案时,Visual Studio中的问到项目(我从2005年VS猜测到2008年)转换。我做的转换和保存,但如果我关闭一个重新打开该解决方案,VS坚持尝试转换项目。

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?

更新 - 配置:


  • Visual Studio 2008专业(德语)

  • ASP.NET 3.5(VB.NET如语言)

  • 颠覆/的VisualSVN

  • 1的Web项目+ 4库项目+ 1网络部署项目(新)

推荐答案

我找到了解决方法:


  • 右键单击Web部署项目在Visual Studio 2008的解决方案资源管理器。

  • 选择打开项目文件

  • 更改从3.5的ToolsVersion值为4.0

(将.wdproj文件的XML)

(XML of the .wdproj file)

<Project ToolsVersion="3.5" DefaultTargets="Build" ...

<Project ToolsVersion="4.0" DefaultTargets="Build" ...

这就是全部!

这篇关于Visual Studio 2008中尝试将网络部署项目每次我打开该解决方案时间转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆