Browse Source

Add LangVersion element

Brandon Thetford 1 year ago
parent
commit
b43ce27f6e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      UICatalog/UICatalog.csproj

+ 2 - 1
UICatalog/UICatalog.csproj

@@ -1,8 +1,9 @@
-<Project Sdk="Microsoft.NET.Sdk">
+<Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
     <OutputType>Exe</OutputType>
     <TargetFramework>net8.0</TargetFramework>
     <StartupObject>UICatalog.UICatalogApp</StartupObject>
+    <LangVersion>12</LangVersion>
     <!-- Version numbers are automatically updated by gitversion when a release is released -->
     <!-- In the source tree the version will always be 2.0 for all projects. -->
     <!-- Do not modify these. -->