Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@

<!-- Language configuration -->
<PropertyGroup>
<!-- default to allowing all language features -->
<LangVersion>latest</LangVersion>
<LangVersion Condition="'$(Language)' == 'C#'">preview</LangVersion>
<Deterministic>true</Deterministic>

<!-- Resource naming bug: https://github.com/microsoft/msbuild/issues/4740 -->
Expand Down
7 changes: 7 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@
<GeneratedAssemblyInfoFile>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(MSBuildProjectName).AssemblyInfo$(DefaultLanguageSourceExtension)'))</GeneratedAssemblyInfoFile>
</PropertyGroup>

<!-- Language configuration -->
<PropertyGroup>
Comment thread
stephentoub marked this conversation as resolved.
<!-- default to allowing all language features -->
<LangVersion>preview</LangVersion>
<LangVersion Condition="'$(Language)' == 'VB'">latest</LangVersion>
</PropertyGroup>

<!--
All source inputs to the compiler should be generated before BeforeCompile target. Sdk is not
honoring this for GenerateAssemblyInfo target. https://github.com/dotnet/sdk/issues/10614
Expand Down