Skip to content

Commit

Permalink
Only import the RoslynPropsFile if it exists. (dotnet#22657)
Browse files Browse the repository at this point in the history
  • Loading branch information
tannergooding committed Feb 17, 2019
1 parent 7760228 commit 217b3b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dir.props
Original file line number Diff line number Diff line change
Expand Up @@ -186,5 +186,5 @@
</ItemGroup>

<!-- Use Roslyn Compilers to build -->
<Import Project="$(RoslynPropsFile)" />
<Import Project="$(RoslynPropsFile)" Condition="Exists('$(RoslynPropsFile)')" />
</Project>
2 changes: 1 addition & 1 deletion tests/dir.props
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
</PropertyGroup>

<!-- Use Roslyn Compilers to build -->
<Import Project="$(RoslynPropsFile)" />
<Import Project="$(RoslynPropsFile)" Condition="Exists('$(RoslynPropsFile)')" />

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

0 comments on commit 217b3b1

Please sign in to comment.