Update to C# 8.0 (#12115)
This commit is contained in:
Родитель
d59ddc91a7
Коммит
6c88a4c957
|
@ -1,6 +1,5 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<CGLangVersion Condition="'$(CGLangVersion)' == ''">7.3</CGLangVersion>
|
||||
<LangVersion Condition="'$(LangVersion)' == ''">$(CGLangVersion)</LangVersion>
|
||||
<LangVersion>8.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<LangVersion Condition="'$(LangVersion)' == ''">7.3</LangVersion>
|
||||
<LangVersion>8.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- This is used by the libraries -->
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
||||
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
||||
-->
|
||||
<LangVersion>7.3</LangVersion>
|
||||
<LangVersion>8.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
||||
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
||||
-->
|
||||
<LangVersion>7.3</LangVersion>
|
||||
<LangVersion>8.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
||||
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
||||
-->
|
||||
<LangVersion>7.3</LangVersion>
|
||||
<LangVersion>8.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
||||
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
||||
-->
|
||||
<LangVersion>7.3</LangVersion>
|
||||
<LangVersion>8.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
||||
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
||||
-->
|
||||
<LangVersion>7.3</LangVersion>
|
||||
<LangVersion>8.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
||||
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
||||
-->
|
||||
<LangVersion>7.3</LangVersion>
|
||||
<LangVersion>8.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
||||
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
||||
-->
|
||||
<LangVersion>7.3</LangVersion>
|
||||
<LangVersion>8.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
This is needed for non SDK style project so the IDE will pick the correct LangVersion.
|
||||
Once this is an SDK style project it will pick this up from the Directory.Build.Props file correctly
|
||||
-->
|
||||
<LangVersion>7.3</LangVersion>
|
||||
<LangVersion>8.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
|
Загрузка…
Ссылка в новой задаче