问题描述
是否可以将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中打开我的( 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!