Skip to content

Commit

Permalink
Refactor Directory.Build.props|targets
Browse files Browse the repository at this point in the history
  • Loading branch information
ektrah committed Aug 15, 2020
1 parent b9101db commit 820183f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 14 deletions.
8 changes: 1 addition & 7 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
<NoWarn>$(NoWarn);xUnit1026</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
<NoWarn>$(NoWarn);xUnit1026</NoWarn>
Expand Down
4 changes: 3 additions & 1 deletion Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<Project>


<Import Project="$(MSBuildThisFileDirectory)build\InternalsVisibleTo.targets" />

</Project>
4 changes: 2 additions & 2 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>

<Import Project="$(MSBuildThisFileDirectory)..\Directory.Build.props" />

<PropertyGroup>
Expand All @@ -8,5 +8,5 @@
</PropertyGroup>

<Import Project="$(MSBuildThisFileDirectory)..\build\Package.props" />

</Project>
6 changes: 2 additions & 4 deletions src/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<Project>

<Import Project="$(MSBuildThisFileDirectory)..\build\InternalsVisibleTo.targets" />


<Import Project="$(MSBuildThisFileDirectory)..\Directory.Build.targets" />

</Project>

0 comments on commit 820183f

Please sign in to comment.