单声道上的aspnet_compiler [英] aspnet_compiler on Mono

查看:97
本文介绍了单声道上的aspnet_compiler的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为ASP.NET MVC 3网站编写一个构建脚本,以便在Mono上发布.尽管有些开发人员使用Windows进行开发,但是该站点必须在Mono上构建,因为构建和Web服务器都在运行OSX.我使用的是

I'm trying to write a build script for a ASP.NET MVC 3 web site for publishing on Mono. Although some devs use Windows for development, the site must be built on Mono, as the build and Web servers are running OS X. I'm using xbuild to run MSBuild scripts on Mono. The website can be compiled without much problems.

但是,我找不到Mono上aspnet_compiler.exe的等效方式.我找不到AspNetCompiler构建任务,谷歌搜索从很久以前返回了[存根实现].

However, I'm unable to find how the equivalent of aspnet_compiler.exe on Mono. I cannot find the AspNetCompiler build task and google searches return [a stub implementation] from a long time ago.

AspNetCompiler任务是否存在于Mono中?是否可以在Mono上编译ASP.NET应用程序?

Does the AspNetCompiler task exist in Mono? Are there alternatives for compiling an ASP.NET application on Mono?

推荐答案

Mono还没有aspnet_compiler(从Mono 2.11开始),但是您可以在Windows上预编译站点,Mono可以运行它.

Mono does not have aspnet_compiler yet (as of Mono 2.11) but you can precompile your site on Windows and Mono can run it.

我不确定为什么您的网站必须基于Mono构建,因此从Windows的简单xcopy框应该可以正常工作.除非您想在Mono上进行调试,但是开发人员使用Windows时可能并非如此.

I am not sure why your site must be built on Mono, simple xcopy from Windows box should work. Unless you want to debug it on Mono but that's probably not the case when your devs are using Windows.

这篇关于单声道上的aspnet_compiler的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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