如何手动启动 Visual Studio 转换向导 [英] How to Manually Start Visual Studio Conversion Wizard

查看:30
本文介绍了如何手动启动 Visual Studio 转换向导的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将当前使用 .NET Framework 3.5 SP 1 的 .NET 网站转换为 4.0.现在,当您在 VS 2010 中打开 VS 2008 解决方案时,您将获得一个转换向导.该向导会将解决方案转换为 2010,同时可以将项目转换为 .NET 4.0.我已经将我的解决方案转换为 VS 2010,但当时没有转换为 .NET 4.0.有谁知道如何手动启动 VS 转换向导?根据此文章,它应该在您打开解决方案时启动,即对我来说不是这样.

I want to convert my .NET Website that is currently in .NET Framework version 3.5 SP 1 to 4.0. Now you get a conversion wizard when you open a VS 2008 solution in VS 2010. The wizard will convert the solution to 2010 and at the same time can convert the projects to .NET 4.0. I already converted my solution to VS 2010 but did not at the time convert to .NET 4.0. Does anyone know how to start the VS Conversion Wizard manually? According to this article it should start when you open the solution, that is not the case for me.

感谢您的帮助!

推荐答案

该向导将解决方案和项目从以前的 VS 版本转换为当前版本.它不会再次打开,因为您已经将其转换为 VS2010.

The wizard converts solutions and projects from previous VS versions to the current one. It will not open again, because you already converted it to VS2010.

要更改为 .NET 4.0:

To change to .NET 4.0:

  1. 右键单击解决方案资源管理器中的项目,然后单击属性".
  2. 切换到编译"选项卡.
  3. 单击高级编译选项..."按钮.
  4. 将目标框架更改为.NET Framework 4".

这篇关于如何手动启动 Visual Studio 转换向导的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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