Skip to content

Commit

Permalink
Add notes to Directory.Build.props
Browse files Browse the repository at this point in the history
  • Loading branch information
dluc committed May 13, 2024
1 parent 32471fe commit 512c15a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
<!-- App Settings -->
<Project>
<PropertyGroup>
<!-- Central version prefix - applies to all nuget packages. -->
<Version>0.51.0</Version>

<!-- C# lang version, https://learn.microsoft.com/dotnet/csharp/whats-new -->
<LangVersion>12</LangVersion>

<!-- https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/nullable-value-types -->
<Nullable>enable</Nullable>

<!-- https://devblogs.microsoft.com/dotnet/welcome-to-csharp-10 -->
<ImplicitUsings>disable</ImplicitUsings>

<!-- https://learn.microsoft.com/dotnet/core/tools/global-json#rollforward -->
<RollForward>LatestMajor</RollForward>
</PropertyGroup>

Expand Down Expand Up @@ -80,9 +90,6 @@
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<!-- Central version prefix - applies to all nuget packages. -->
<Version>0.51.0</Version>

<!-- Disable NuGet packaging by default. Projects can override. -->
<IsPackable>false</IsPackable>

Expand Down

0 comments on commit 512c15a

Please sign in to comment.