Itiviti / gradle-msbuild-plugin

Gradle plugin for msbuild execution, supports C# project files for now
Apache License 2.0
102 stars 57 forks source link

Use msbuild instead of xbuild on Linux/MacOS #84

Closed krisztiankocsis closed 6 years ago

krisztiankocsis commented 6 years ago

Hi!

The current Mono system complains about the usage of xbuild due to deprecation. It also don't support all parameters that are supported by msbuild. Msbuild is the new recommended build tool for Mono.

Pls. consider defaulting to msbuild instead of xbuild on Linux and MacOS.

BTW, I need this feature so I'm willing to help if you give me some starting point.

ngyukman commented 6 years ago

Hi @krisztiankocsis

thanks very much for your help you may check https://github.com/Ullink/gradle-msbuild-plugin/blob/master/src/main/groovy/com/ullink/XbuildResolver.groovy for how xbuild is resolved currently

perhaps you can add a new LinuxMsbuildResolver and let XbuildResolver as fallback when msbuild is not found

Oddley commented 6 years ago

This bug is blocking a project for me. It looks like there is a fix for it that hasn't been released yet. Is that going to be released anytime soon?

ngyukman commented 6 years ago

Hi @Oddley the plugin has been released

Oddley commented 6 years ago

So fast! Thanks so much!