Skip to content

Commit

Permalink
Enable more options in Directory.Build.props
Browse files Browse the repository at this point in the history
  • Loading branch information
hcoona committed Aug 9, 2022
1 parent cf6c9ad commit 1d796cd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<Project>
<PropertyGroup>
<EnlistmentRoot>$(MSBuildThisFileDirectory)</EnlistmentRoot>
<EnlistmentRoot>$(MSBuildThisFileDirectory.TrimEnd('\\'))</EnlistmentRoot>

<NetfxLegacyTargetFramework>net45</NetfxLegacyTargetFramework>
<NetfxLegacyTargetFramework>net472</NetfxLegacyTargetFramework>
<NetfxCurrentTargetFramework>net48</NetfxCurrentTargetFramework>
<NetcoreCurrentTargetFramework>netcoreapp3.1</NetcoreCurrentTargetFramework>
<NetstandardLegacyTargetFramework>netstandard2.0</NetstandardLegacyTargetFramework>
Expand All @@ -16,7 +16,11 @@

<LangVersion Condition="'$(MSBuildProjectExtension)' == '.csproj'">8.0</LangVersion>
<Deterministic>true</Deterministic>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
<NoWarn>NU5048</NoWarn>

<RestorePackagesConfig>true</RestorePackagesConfig>
<RestoreUseStaticGraphEvaluation>true</RestoreUseStaticGraphEvaluation>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'DebugNonWindows' ">
Expand Down

0 comments on commit 1d796cd

Please sign in to comment.