Visual Studio 2010丢失了目标框架设置 [英] Visual Studio 2010 lost target Framework settings

查看:120
本文介绍了Visual Studio 2010丢失了目标框架设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我不知道在哪个论坛我要问我的问题,所以我在这里做。

I dont't know in which forum I have to ask my Question so I do it here.

I已将Visual Studio 2008项目导入Visual Studio 2010。

I 've imported a Visual Studio 2008 Project to Visual Studio 2010.

Everythig正常。但是如果我重新打开设置对话框或重新打开解决方案,主程序集将丢失所选的目标框架(4.0)。

Everythig is Ok. But the main assembly lost the chosen Target Framework (4.0) if I reopen the settings Dialog or reopen the solution.

Prject文件看起来很好。

The Prject File looks well.

(< TargetFrameworkVersion> v4.0< / TargetFrameworkVersion>

   < TargetFrameworkSubset> Full< / TargetFrameworkSubset>)

(<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    <TargetFrameworkSubset>Full</TargetFrameworkSubset>)

任何人知道这个问题的解决方案吗?

Do anybody know a solution for this problem?

谢谢

Martin Lang

Martin Lang

推荐答案

嗨Martin,

Hi Martin,

您可以从项目属性更改目标框架。转到解决方案资源管理器,然后选择项目并右键单击,然后选择属性。

You can change the target framework from the project properties. Go to the Solution Explorer, then select the project and right click, then choose Properties.

希望这会有所帮助。


这篇关于Visual Studio 2010丢失了目标框架设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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