mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-23 09:43:57 +08:00
Use C# latest language in proj files (#6559)
Address #6547 We begin using C# 7.2 features (Span) but .Net Core doesn't seem use "Latest" as default for a language. So we explicitly set the value.
This commit is contained in:
parent
2a45b48ae2
commit
31085d5737
@ -95,6 +95,7 @@
|
||||
|
||||
<TargetFramework>netcoreapp2.0</TargetFramework>
|
||||
<RuntimeFrameworkVersion>2.0.6</RuntimeFrameworkVersion>
|
||||
<LangVersion>Latest</LangVersion>
|
||||
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
|
@ -4,7 +4,6 @@
|
||||
<Description>PowerShell Core's System.Management.Automation project</Description>
|
||||
<NoWarn>$(NoWarn);CS1570;CS1734</NoWarn>
|
||||
<AssemblyName>System.Management.Automation</AssemblyName>
|
||||
<LangVersion>7.2</LangVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
Loading…
Reference in New Issue
Block a user