Pass through the correct LangVersion to csc
\n\nCommit migrated from ce09369eb4
This commit is contained in:
parent
371f2c246b
commit
4281704bf6
|
|
@ -111,12 +111,6 @@ Copyright (c) .NET Foundation. All rights reserved.
|
||||||
<UseSharedCompilation>true</UseSharedCompilation>
|
<UseSharedCompilation>true</UseSharedCompilation>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="('$(TargetFrameworkIdentifier)' != '.NETCoreApp' OR '$(TargetFrameworkVersion)' != 'v3.0') AND
|
|
||||||
('$(TargetFrameworkIdentifier)' != '.NETStandard' OR '$(TargetFrameworkVersion)' != 'v2.1')">
|
|
||||||
<MaxSupportedLangVersion Condition="'$(MaxSupportedLangVersion)' == ''">7.3</MaxSupportedLangVersion>
|
|
||||||
<LangVersion Condition="'$(LangVersion)' == ''">$(MaxSupportedLangVersion)</LangVersion>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<Csc
|
<Csc
|
||||||
AdditionalLibPaths="$(AdditionalLibPaths)"
|
AdditionalLibPaths="$(AdditionalLibPaths)"
|
||||||
AddModules="@(AddModules)"
|
AddModules="@(AddModules)"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue