将winforms项目从dotnet 3.5升级到4.0 [英] Upgrading winforms project from dotnet 3.5 to 4.0

查看:153
本文介绍了将winforms项目从dotnet 3.5升级到4.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们,

我正在使用Visual Studio 2010开发Winforms项目。目标点网平台是dotnet 3.5。它工作正常,但最近我添加了一些telerik引用到我的项目需要dotnet 4.0。

I am developing a Winforms project using Visual Studio 2010. The targeted dot net platform was dotnet 3.5. It was working fine but recently i added some telerik references to my project those require dotnet 4.0.

为此,我使用项目属性将目标dotnet框架从3.5更改为4.0但是之后这个改变,我的项目不起作用。当我尝试使用F5或Build> Build Project来运行项目时,它只是构建项目并且
停止。

For that purpose, i changed the target dotnet framework from 3.5 to 4.0 by using project properties but after this change, my project is not working. When i am trying to run the project by using F5 or Build>Build Project, its just build the project and stops.

我试图将目标框架重置为3.5及其再次开始工作。

I tried to reset targeted framework to 3.5 and its start working again.

所以,请指导我,我在哪里犯了错误,如何从dotnet 4.0设置我的项目?

So, please guide me, where i am making mistake and how can i set my project from dotnet 4.0?

谢谢

Moovi Rastogi

Moovi Rastogi

推荐答案

从解决方案资源管理器中,选择"清洁解决方案"。然后选择"Rebuild Solution"。看看这是否有帮助。

From Solution Explorer, select "Clean Solution" then select "Rebuild Solution". See if this helps or not.

另外,当你说它"停止"时,你的意思是它已经完全终止了吗?

Also, when you say it "stops", do you mean it has terminated altogether?

你有没有在调试下尝试 - >窗户 - >异常设置打破常见异常?

Have you tried under debug -> windows -> exceptions settings to break on common exceptions ?


这篇关于将winforms项目从dotnet 3.5升级到4.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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