zeb*_*und 2 asp.net xsp monodevelop
在完全安装了Mono 2.10附带的Ubuntu 11.10之后,我发现自己有点傻瓜:即使我安装了XSP4,也无法运行ASP.Net 4.0项目.它几乎就像它期望那里只有一个xsp2 ......
这是错误:
Could not launch web server. The "xsp2" web server cannot be started. Please ensure that it is installed.
Run Code Online (Sandbox Code Playgroud)
细节:
MonoDevelop.Core.UserException: The "xsp2" web server cannot be started. Please ensure that it is installed.
at MonoDevelop.AspNet.AspNetExecutionHandler.GetXspPath (MonoDevelop.AspNet.AspNetExecutionCommand cmd) [0x00000] in <filename unknown>:0
at MonoDevelop.AspNet.AspNetExecutionHandler.Execute (MonoDevelop.Core.Execution.ExecutionCommand command, IConsole console) [0x00000] in <filename unknown>:0
at MonoDevelop.Core.Execution.DefaultExecutionHandler.Execute (MonoDevelop.Core.Execution.ExecutionCommand command, IConsole console) [0x00000] in <filename unknown>:0
at MonoDevelop.AspNet.AspNetAppProject.DoExecute (IProgressMonitor monitor, MonoDevelop.Projects.ExecutionContext context, MonoDevelop.Projects.ConfigurationSelector config) [0x00000] in <filename unknown>:0
Run Code Online (Sandbox Code Playgroud)
知道这个问题可能是什么?XSP4只与MonoDevelop 2.8兼容吗?
小智 6
假设您正在使用monodevelop,请转到"项目"菜单,选择"应用程序选项"而非解决方案选项.在出现的对话框中,在"构建"下选择"常规",然后在右侧窗格中将"运行时版本"更改为单声道/.净4.0
VB.NET插件似乎不支持.NET 4.0(请参阅此stackoverflow问题),但我发现只需创建一个符号链接(xsp2-> xsp4)就足以在mono-xsp4上运行Mono/.Net 3.5
| 归档时间: |
|
| 查看次数: |
5494 次 |
| 最近记录: |