Visual Studio专案到MonoDevelop [英] Visual studio project to MonoDevelop

查看:93
本文介绍了Visual Studio专案到MonoDevelop的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将Visual Studio项目转移到MonoDevelop环境? 在常见问题解答-MonoDevelop 中,据说:

Is there a way to transfer a Visual Studio project to the MonoDevelop environment? at FAQ - MonoDevelop it is said that:

MonoDevelop可以在最简单的情况下直接打开,操作和保存基于MSBuild的项目.实际上,从MonoDevelop 2.0开始,默认的项目格式是VS2008风格的MSBuild项目,但是VS2005和VS1010格式也可以处理.

MonoDevelop can open, manipulate and save MSBuild-based projects directly in mopst cases. In fact, since MonoDevelop 2.0 the default project format has been VS2008-style MSBuild projects, but VS2005 and VS1010 formats are also handled.

但是当我尝试在MonoDevelop中打开我的( ASP.NET Web应用程序).vbproj时,我得到了:

But when I try to open my (ASP.NET Web Application) .vbproj in MonoDevelop, I get:

加载操作失败.项目不支持框架 '.NETFramework,Version = v4.0'.

Load operation failed. Project does not support framework '.NETFramework,Version=v4.0'.

我应该更改项目设置,允许使用不同的 .NETFramework 版本,还是必须使用某些第三方软件来翻译我的项目 config 文件?

Should I alter project settings, allowing different .NETFramework version or do I have to use some 3rd party softwares to translate my projects config files?

(已解决) 如果您的项目还不大,请使用.NET Framework 3.5在Microsoft Visual Studio(MVS)中创建一个新项目,然后可以使用MonoDevelop将其打开,否则请编辑您的项目Debug/Release配置文件并删除所有内容包含有关该项目的"4.0"信息以及以前的.vbproj文件的文件无法正常工作,请执行相同操作,以搜索4.0信息. (适用于框架4.0)

(Resolved) If your project is not that big yet, create a new project in your Microsoft Visual Studio(MVS) with .NET Framework 3.5 and then it will be possible to open it with MonoDevelop, else edit your projects Debug/Release config files and delete everything that has "4.0" information about this project, plus .vbproj file in are previous doesn't work and do the same, search for 4.0 information. (Applicable for framework 4.0)

OR

按照此处所述更改项目设置: http://msdn.microsoft.com/en-us/library/bb398202.aspx

Change your project settings as it is described here: http://msdn.microsoft.com/en-us/library/bb398202.aspx

推荐答案

您正在使用哪个版本的MonoDevelop? MonoDevelop 2.8可以打开.NET 4.0项目(我相信2.6也可以).实际上,在2.8中,.NET 4.0是所有新项目的默认设置.

What version of MonoDevelop are you using? MonoDevelop 2.8 can open .NET 4.0 projects (I believe 2.6 can as well). In fact, in 2.8 .NET 4.0 is the default for all new projects.

这篇关于Visual Studio专案到MonoDevelop的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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