File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 45
45
<include buildfile =" common.xml" />
46
46
47
47
<target name =" common.compile-all" depends =" common.generate-assemblyinfo" >
48
- <!-- property name="msbuild.cmd" value="${cmd.sln} ${cmd.out} ${cmd.platform} ${cmd.debug} ${cmd.optimize} ${cmd.doc} /t:Rebuild /v:q /m" /-->
48
+ <!-- property name="msbuild.cmd" value="${cmd.sln} ${cmd.out} ${cmd.platform} ${cmd.debug} ${cmd.optimize} ${cmd.doc} /t:Rebuild /v:q /m" /-->
49
+ <readregistry property =" MSBuildToolsPath" key =" SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0\MSBuildToolsPath" hive =" LocalMachine" />
49
50
50
- <exec program =" ${framework::get-framework-directory(framework::get-target-framework())}\ msbuild.exe" verbose =" true" >
51
+ <exec program =" ${path::combine(MSBuildToolsPath, ' msbuild.exe')} " verbose =" true" >
51
52
<arg value =" ${root.dir}/src/NHibernate.sln" />
52
53
<arg value =" /p:OutputPath=" ${path::get-full-path(bin.dir)}" " />
53
54
<arg value =" /p:Platform=" Any CPU" " />
You can’t perform that action at this time.
0 commit comments