Pergunta

im looking for a way to implement a addin that can convert a C# solution into a mono compiled exe, so i can use it on a linux and mac environment that have the mono framework installed.

Foi útil?

Solução

There is no difference in a .Net exe and a Mono exe. Just compile your solution like you normally would in Visual Studio, then run you exe with Mono instead of .Net.

Outras dicas

If you're working with Visual Studio and Mono, you should compile against a Mono Profile, this helps minimizing potential errors.

If you're really looking for way to integrate XBuild into Visual Studio, you could

  • Add XBuild as Tool in Visual Studio (Tools / External Tools) or
  • If you are using VS2012 - you can use and try out MonoHelper, a little tool I created for learning purpose
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top