From 31085d573786dec3f3e4f5cf773c0c36afb78cf9 Mon Sep 17 00:00:00 2001 From: Ilya Date: Fri, 6 Apr 2018 04:39:20 +0400 Subject: [PATCH] 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. --- PowerShell.Common.props | 1 + .../System.Management.Automation.csproj | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerShell.Common.props b/PowerShell.Common.props index 4a8e5d7da2..adb868eaa4 100644 --- a/PowerShell.Common.props +++ b/PowerShell.Common.props @@ -95,6 +95,7 @@ netcoreapp2.0 2.0.6 + Latest true true diff --git a/src/System.Management.Automation/System.Management.Automation.csproj b/src/System.Management.Automation/System.Management.Automation.csproj index b2167fe7ad..9eda155f55 100644 --- a/src/System.Management.Automation/System.Management.Automation.csproj +++ b/src/System.Management.Automation/System.Management.Automation.csproj @@ -4,7 +4,6 @@ PowerShell Core's System.Management.Automation project $(NoWarn);CS1570;CS1734 System.Management.Automation - 7.2