简体   繁体   中英

building xbuild into visual studio addin

我正在寻找一种实现外接程序的方式,该外接程序可以将C#解决方案转换为Mono编译的exe,因此我可以在安装了mono框架的linux和mac环境中使用它。

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM