Skip to content

Commit

Permalink
Share LangVersion for Source and Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iwillspeak committed Sep 3, 2022
1 parent af322c0 commit 9681a1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Directory.Build.props
@@ -0,0 +1,5 @@
<Project>
<PropertyGroup>
<LangVersion>Latest</LangVersion>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Directory.Build.props
@@ -1,9 +1,9 @@
<Project>
<Import Project="../Directory.Build.props" />
<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<LangVersion>Latest</LangVersion>
<Nullable>enable</Nullable>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
Expand Down

0 comments on commit 9681a1e

Please sign in to comment.