Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 1a9f827

Browse files
committed
Remove UseRoslynCompilers prop and unify roslyn import
UseRoslynCompilers was introduced in buildtools by dotnet/buildtools#947, with different behaviors on windows/unix. It was removed by dotnet/buildtools#1974, so we can unify our roslyn imports now.
1 parent 3fb996c commit 1a9f827

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/dir.props

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@
103103
</PropertyGroup>
104104

105105
<!-- Use Roslyn Compilers to build -->
106-
<Import Project="$(RoslynPropsFile)" Condition="'$(RunningOnUnix)'!='true' and Exists('$(RoslynPropsFile)') and '$(UseRoslynCompilers)'!='false' and '$(RoslynIncompatibleMsbuildVersion)' != 'true'" />
107-
<Import Project="$(RoslynPropsFile)" Condition="'$(RunningOnUnix)'=='true' and Exists('$(RoslynPropsFile)') and '$(RoslynIncompatibleMsbuildVersion)' != 'true'" />
106+
<Import Project="$(RoslynPropsFile)" Condition="Exists('$(RoslynPropsFile)') and '$(RoslynIncompatibleMsbuildVersion)' != 'true'" />
108107

109108
<PropertyGroup Condition="'$(BuildAllProjects)'=='true'">
110109
<!-- When we do a traversal build we get all packages up front, don't restore them again -->

0 commit comments

Comments
 (0)