Skip to content

Commit ad708aa

Browse files
committed
feat: Default to C# latest on UWP app solution template
1 parent 89fa46b commit ad708aa

File tree

10 files changed

+10
-0
lines changed

10 files changed

+10
-0
lines changed

src/SolutionTemplate/UnoSolutionTemplate/Droid/UnoQuickStart.Droid.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<PropertyGroup>
44
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
55
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<LangVersion>latest</LangVersion>
67
<ProductVersion>8.0.30703</ProductVersion>
78
<SchemaVersion>2.0</SchemaVersion>
89
<ProjectGuid>$guid2$</ProjectGuid>

src/SolutionTemplate/UnoSolutionTemplate/Skia.Gtk/UnoQuickStart.Skia.Gtk.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<OutputType Condition="'$(Configuration)'=='Release'">WinExe</OutputType>
55
<OutputType Condition="'$(Configuration)'=='Debug'">Exe</OutputType>
66
<TargetFramework>net5.0</TargetFramework>
7+
<LangVersion>latest</LangVersion>
78
</PropertyGroup>
89

910
<ItemGroup Condition="exists('..\$ext_safeprojectname$.UWP')">

src/SolutionTemplate/UnoSolutionTemplate/Skia.Linux.FrameBuffer/UnoQuickStart.Skia.Linux.FrameBuffer.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<OutputType Condition="'$(Configuration)'=='Release'">WinExe</OutputType>
55
<OutputType Condition="'$(Configuration)'=='Debug'">Exe</OutputType>
66
<TargetFramework>net5.0</TargetFramework>
7+
<LangVersion>latest</LangVersion>
78
</PropertyGroup>
89

910
<ItemGroup Condition="exists('..\$ext_safeprojectname$.UWP')">

src/SolutionTemplate/UnoSolutionTemplate/Skia.Tizen/UnoQuickStart.Skia.Tizen.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<TargetFramework>tizen50</TargetFramework>
66
<OutputType>Exe</OutputType>
77
<DefineConstants>$(DefineConstants);__TIZEN__;</DefineConstants>
8+
<LangVersion>latest</LangVersion>
89
</PropertyGroup>
910

1011
<ItemGroup>

src/SolutionTemplate/UnoSolutionTemplate/Skia.WPF.Host/UnoQuickStart.Skia.Wpf.Host.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<OutputType Condition="'$(Configuration)'=='Debug'">Exe</OutputType>
66
<TargetFramework>netcoreapp3.1</TargetFramework>
77
<UseWPF>true</UseWPF>
8+
<LangVersion>latest</LangVersion>
89
</PropertyGroup>
910

1011
<ItemGroup Label="AssemblyInfo">

src/SolutionTemplate/UnoSolutionTemplate/Skia.WPF/UnoQuickStart.Skia.WPF.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5+
<LangVersion>latest</LangVersion>
56
</PropertyGroup>
67

78
<ItemGroup>

src/SolutionTemplate/UnoSolutionTemplate/UWP/UnoQuickStart.Uwp.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<PropertyGroup>
2323
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
2424
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
25+
<LangVersion>latest</LangVersion>
2526
<ProjectGuid>$guid1$</ProjectGuid>
2627
<OutputType>AppContainerExe</OutputType>
2728
<AppDesignerFolder>Properties</AppDesignerFolder>

src/SolutionTemplate/UnoSolutionTemplate/Wasm/UnoQuickStart.Wasm.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<TargetFramework>net5.0</TargetFramework>
6+
<LangVersion>latest</LangVersion>
67
<NoWarn>NU1701</NoWarn>
78
</PropertyGroup>
89

src/SolutionTemplate/UnoSolutionTemplate/iOS/UnoQuickStart.iOS.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<PropertyGroup>
44
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
55
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
6+
<LangVersion>latest</LangVersion>
67
<ProjectGuid>$guid4$</ProjectGuid>
78
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
89
<OutputType>Exe</OutputType>

src/SolutionTemplate/UnoSolutionTemplate/macOS/UnoQuickStart.macOS.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<PropertyGroup>
44
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
55
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
6+
<LangVersion>latest</LangVersion>
67
<ProjectGuid>$guid3$</ProjectGuid>
78
<ProjectTypeGuids>{A3F8F2AB-B479-4A4A-A458-A89E7DC349F1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
89
<OutputType>Exe</OutputType>

0 commit comments

Comments
 (0)