]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Switch project files to C# 12. (#25487)
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>
Fri, 23 Feb 2024 04:02:59 +0000 (05:02 +0100)
committerGitHub <noreply@github.com>
Fri, 23 Feb 2024 04:02:59 +0000 (15:02 +1100)
Just unlocks new language features like primary constructors.

Content.Client/Content.Client.csproj
Content.IntegrationTests/Content.IntegrationTests.csproj
Content.Replay/Content.Replay.csproj
Content.Server.Database/Content.Server.Database.csproj
Content.Server/Content.Server.csproj
Content.Shared/Content.Shared.csproj
Content.Tests/Content.Tests.csproj

index 0e15fadfae3fe1e7341cef9ca392f5b00318d85a..956f2fd0351a9821d2706e70557fef28df5f9cee 100644 (file)
@@ -2,7 +2,7 @@
   <PropertyGroup>
     <!-- Work around https://github.com/dotnet/project-system/issues/4314 -->
     <TargetFramework>$(TargetFramework)</TargetFramework>
-    <LangVersion>11</LangVersion>
+    <LangVersion>12</LangVersion>
     <IsPackable>false</IsPackable>
     <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
     <OutputPath>..\bin\Content.Client\</OutputPath>
index ec93a47041d85b7dbf54e2e548a2e7bbf8a0489c..2e922d2509315c494cf33fa8cba7c4587849b42b 100644 (file)
@@ -5,7 +5,7 @@
     <OutputPath>..\bin\Content.IntegrationTests\</OutputPath>
     <IsPackable>false</IsPackable>
     <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
-    <LangVersion>11</LangVersion>
+    <LangVersion>12</LangVersion>
   </PropertyGroup>
   <ItemGroup>
     <PackageReference Include="NUnit" />
index 4b3c85345cf4c47bda0754edef1b745ede151de3..9785870143ddf40f9b9a2ce8bc5cb5565ca07dbc 100644 (file)
@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
     <TargetFramework>$(TargetFramework)</TargetFramework>
-    <LangVersion>10</LangVersion>
+    <LangVersion>12</LangVersion>
     <IsPackable>false</IsPackable>
     <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
     <OutputPath>..\bin\Content.Replay\</OutputPath>
index 31ab785c18e56407688e9f0d75fda08620afcf50..d98d0642db03db3e504ac2cb6108a42c14eeb777 100644 (file)
@@ -2,7 +2,7 @@
   <PropertyGroup>
     <!-- Work around https://github.com/dotnet/project-system/issues/4314 -->
     <TargetFramework>$(TargetFramework)</TargetFramework>
-    <LangVersion>11</LangVersion>
+    <LangVersion>12</LangVersion>
     <IsPackable>false</IsPackable>
     <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
     <OutputPath>..\bin\Content.Server.Database\</OutputPath>
index 96d642e4f2f6519f435bfc7fee5e825a88000c69..e398773d54fa55e6ec3f2914a370d7500a47b573 100644 (file)
@@ -2,7 +2,7 @@
   <PropertyGroup>
     <!-- Work around https://github.com/dotnet/project-system/issues/4314 -->
     <TargetFramework>$(TargetFramework)</TargetFramework>
-    <LangVersion>11</LangVersion>
+    <LangVersion>12</LangVersion>
     <IsPackable>false</IsPackable>
     <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
     <OutputPath>..\bin\Content.Server\</OutputPath>
index 0bd9bc410b643f903752ceb72e1d787880d0d1f0..4cca399b28b9768c2268ce358511ed3684970001 100644 (file)
@@ -2,7 +2,7 @@
   <PropertyGroup>
     <!-- Work around https://github.com/dotnet/project-system/issues/4314 -->
     <TargetFramework>$(TargetFramework)</TargetFramework>
-    <LangVersion>11</LangVersion>
+    <LangVersion>12</LangVersion>
     <IsPackable>false</IsPackable>
     <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
     <WarningsAsErrors>nullable</WarningsAsErrors>
index a883892d872def6bc899d5d64579b92dd59f5ee1..ff295728fca56f429626c2b7b34c83da99097d56 100644 (file)
@@ -2,7 +2,7 @@
   <PropertyGroup>
     <!-- Work around https://github.com/dotnet/project-system/issues/4314 -->
     <TargetFramework>$(TargetFramework)</TargetFramework>
-    <LangVersion>11</LangVersion>
+    <LangVersion>12</LangVersion>
     <IsPackable>false</IsPackable>
     <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
     <OutputPath>..\bin\Content.Tests\</OutputPath>