Start a new topic
Answered

MSBuild ToolSet Version

Is there a difference in the MSBUILD Toolset...


I can get my builder stuff to work with all XBUILD stuff in the DuoCode.targets...


But if i use the Original Microsoft Assemblies from windows on my mac... IT WORKS

GREAT compiles duocode ... but i noticed on Windows the the TOOLSET available

using the windows build engine 4..0 dlls is 12.0


But if i use on mono... it says ONLY 4.0 is avaiable...


Now it does compile on my MAC using Microsoft Windows version of 4.0 dlls


so the toolset is 4.0



DOES THAT MAKE ANY DIFFERENCE TO DUOCODE COMPILER


Best Answer

Let me explain:


XBuild is Mono’s implementation of msbuild which is not 100% compatible, and it comes only with ToolsVersion=4.0.

DuoCode.targets detects run under XBuild and behaves accordingly, for example Mono/XBuild has no support for Code Analyzers and more.

See http://www.mono-project.com/docs/tools+libraries/tools/xbuild/


Curently MSBuild as is can't be run on Mono, i.e "mono msbuild.exe your_project.csproj" doesn't work yet, but Microsoft is going to support it see https://github.com/Microsoft/msbuild/issues/26


On Windows it's upto you which version of MSBuild + Tools to use, we support 4.0 (VS2012), 12.0 (VS2013), 14.0 (VS2015).


If it's possible always use latest MSBuild + Tools on Windows.

1 Comment

Answer

Let me explain:


XBuild is Mono’s implementation of msbuild which is not 100% compatible, and it comes only with ToolsVersion=4.0.

DuoCode.targets detects run under XBuild and behaves accordingly, for example Mono/XBuild has no support for Code Analyzers and more.

See http://www.mono-project.com/docs/tools+libraries/tools/xbuild/


Curently MSBuild as is can't be run on Mono, i.e "mono msbuild.exe your_project.csproj" doesn't work yet, but Microsoft is going to support it see https://github.com/Microsoft/msbuild/issues/26


On Windows it's upto you which version of MSBuild + Tools to use, we support 4.0 (VS2012), 12.0 (VS2013), 14.0 (VS2015).


If it's possible always use latest MSBuild + Tools on Windows.

Login or Signup to post a comment