roslyn
roslyn copied to clipboard
Microsoft.Net.Compilers.props should work for MSBuild 15
Microsoft.Net.Compilers.props has a hardcoded check for MSBuildToolsVersion 14.0:
<!-- By default don't use the compiler server on VS 2015 and never use it
otherwise (it is not yet supported on VS 2013 or below).-->
<UseSharedCompilation Condition="'$(UseSharedCompilation)' == ''
or '$(MSBuildToolsVersion)' != '14.0'">false</UseSharedCompilation>
It seems like this should be
<UseSharedCompilation Condition="'$(UseSharedCompilation)' == ''
or '$(MSBuildToolsVersion)' <= '14.0'">false</UseSharedCompilation>
(version <= instead of !=)
So that the default remains correct now that MSBuild is introducing the 15.0 version for dev15.
The check for the two UsingTask statements in the file should also be updated similarly.
This was fixed in #11998.