Skip to content

Commit

Permalink
Updated Id Web to use lang version 11 across repo (#2359)
Browse files Browse the repository at this point in the history
* Updated Id Web to use lang version 11 across repo

* Addressing PR feedback

* Changing lang version in Directory.Build.props for DevApps and asp-net

---------

Co-authored-by: Franco Fung <francofung@microsoft.com>
  • Loading branch information
FuPingFranco and Franco Fung authored Aug 2, 2023
1 parent 8f6c0f7 commit e9e015e
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</PropertyGroup>

<PropertyGroup Condition="'$(TargetFramework)' == 'net472' Or '$(TargetFramework)' == 'net462' Or '$(TargetFramework)' == 'netstandard2.0' Or '$(TargetFramework)' == 'netcoreapp3.1'">
<LangVersion>10.0</LangVersion>
<LangVersion>11</LangVersion>
</PropertyGroup>

<PropertyGroup Label="Common dependency versions">
Expand Down
1 change: 1 addition & 0 deletions tests/DevApps/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<TargetFrameworks Condition="'$(TargetNet8)' != 'True'">net6.0; net7.0</TargetFrameworks>
<UseWip>true</UseWip>
<IsPackable>false</IsPackable>
<LangVersion>11</LangVersion>
</PropertyGroup>

</Project>
3 changes: 2 additions & 1 deletion tests/DevApps/aspnet-mvc/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<Project>
<PropertyGroup>
</PropertyGroup>
<LangVersion>11</LangVersion>
</PropertyGroup>
</Project>
3 changes: 1 addition & 2 deletions tests/DevApps/aspnet-mvc/OwinWebApi/OwinWebApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
<LangVersion>8.0</LangVersion>
<Nullable>enable</Nullable>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
Expand Down Expand Up @@ -219,4 +218,4 @@
</Target>
<Target Name="AfterBuild">
</Target> -->
</Project>
</Project>
2 changes: 1 addition & 1 deletion tests/DevApps/daemon-app/Daemon-app/Daemon-app.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<RootNamespace>Daemon_app</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>10.0</LangVersion>
<LangVersion>11</LangVersion>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
1 change: 0 additions & 1 deletion tests/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<SignAssembly>True</SignAssembly>
<IsPackable>false</IsPackable>
<AssemblyOriginatorKeyFile>../../build/MSAL.snk</AssemblyOriginatorKeyFile>
<LangVersion>10.0</LangVersion>
</PropertyGroup>

<PropertyGroup Label="Common dependency versions">
Expand Down
1 change: 0 additions & 1 deletion tools/app-provisioning-tool/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<TargetFrameworks>net7.0</TargetFrameworks>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>../../../build/MSAL.snk</AssemblyOriginatorKeyFile>
<LangVersion>10.0</LangVersion>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit e9e015e

Please sign in to comment.