Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

aspnet_compiler on Mono

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.

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.

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

like image 574
Ronald Zarīts Avatar asked Apr 22 '26 22:04

Ronald Zarīts


1 Answers

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.

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.

like image 104
Marek Safar Avatar answered Apr 24 '26 22:04

Marek Safar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!