Procházet zdrojové kódy

Generic attributes were added in .net7 and c# 11.

Brandon Thetford před 1 rokem
rodič
revize
1818c2441e
1 změnil soubory, kde provedl 1 přidání a 3 odebrání
  1. 1 3
      UnitTests/UnitTests.csproj

+ 1 - 3
UnitTests/UnitTests.csproj

@@ -10,9 +10,7 @@
   </PropertyGroup>
   <PropertyGroup>
     <TargetFramework>net8.0</TargetFramework>
-    <!-- https://stackoverflow.com/questions/294216/why-does-c-sharp-forbid-generic-attribute-types -->
-    <!-- for AutoInitShutdown attribute -->
-    <LangVersion>Preview</LangVersion>
+    <LangVersion>12</LangVersion>
     <IsPackable>false</IsPackable>
     <UseDataCollector />
   </PropertyGroup>