-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update Uno.ToDo to the new UnoTemplate
- Loading branch information
1 parent
824c6c4
commit 8b52aff
Showing
216 changed files
with
3,387 additions
and
3,484 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...orkflow/templates/dotnet6-install-mac.yml → ...orkflow/templates/dotnet7-install-mac.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...low/templates/dotnet6-install-windows.yml → ...low/templates/dotnet7-install-windows.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,56 @@ | ||
<Project ToolsVersion="15.0"> | ||
<PropertyGroup> | ||
<LangVersion>10.0</LangVersion> | ||
<TreatWarningsAsErrors>True</TreatWarningsAsErrors> | ||
<LangVersion>11</LangVersion> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
|
||
<UnoExtensionsGeneration_DisableNotNullIfNotNullAttribute>true</UnoExtensionsGeneration_DisableNotNullIfNotNullAttribute> | ||
<UnoExtensionsGeneration_DisableNotNullWhenAttribute>true</UnoExtensionsGeneration_DisableNotNullWhenAttribute> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<DebugType>portable</DebugType> | ||
<DebugSymbols>True</DebugSymbols> | ||
<NoWarn>Uno0001;CS1998;CA1416;NU1504;NU1505;NU1507</NoWarn> | ||
<SynthesizeLinkMetadata>true</SynthesizeLinkMetadata> | ||
</PropertyGroup> | ||
<SynthesizeLinkMetadata>true</SynthesizeLinkMetadata> | ||
|
||
<PropertyGroup> | ||
<UnoVersion>4.7.0-dev.73</UnoVersion> | ||
<UnoExtensionsVersion>2.3.0-dev.263</UnoExtensionsVersion> | ||
<UnoToolkitVersion>2.4.0-dev.110</UnoToolkitVersion> | ||
<UnoMaterialVersion>2.4.0-dev.57</UnoMaterialVersion> | ||
<TreatWarningsAsErrors>True</TreatWarningsAsErrors> | ||
<NoWarn>$(NoWarn);Uno0001;CS1998;CA1416;NU1507</NoWarn> | ||
|
||
<DefaultLanguage>en</DefaultLanguage> | ||
|
||
<IsAndroid>false</IsAndroid> | ||
<IsIOS>false</IsIOS> | ||
<IsMac>false</IsMac> | ||
<IsMacCatalyst>false</IsMacCatalyst> | ||
<IsWinAppSdk>false</IsWinAppSdk> | ||
</PropertyGroup> | ||
|
||
<Choose> | ||
<When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'"> | ||
<PropertyGroup> | ||
<IsAndroid>true</IsAndroid> | ||
<SupportedOSPlatformVersion>21.0</SupportedOSPlatformVersion> | ||
</PropertyGroup> | ||
</When> | ||
<When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'"> | ||
<PropertyGroup> | ||
<IsIOS>true</IsIOS> | ||
<SupportedOSPlatformVersion>14.2</SupportedOSPlatformVersion> | ||
</PropertyGroup> | ||
</When> | ||
<When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'macos'"> | ||
<PropertyGroup> | ||
<IsMac>true</IsMac> | ||
<SupportedOSPlatformVersion>10.14</SupportedOSPlatformVersion> | ||
</PropertyGroup> | ||
</When> | ||
<When Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'"> | ||
<PropertyGroup> | ||
<IsMacCatalyst>true</IsMacCatalyst> | ||
<SupportedOSPlatformVersion>14.0</SupportedOSPlatformVersion> | ||
</PropertyGroup> | ||
</When> | ||
<When Condition="$(TargetFramework.Contains('windows10'))"> | ||
<PropertyGroup> | ||
<IsWinAppSdk>true</IsWinAppSdk> | ||
<SupportedOSPlatformVersion>10.0.18362.0</SupportedOSPlatformVersion> | ||
<TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion> | ||
</PropertyGroup> | ||
</When> | ||
</Choose> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,2 @@ | ||
<Project ToolsVersion="15.0" > | ||
|
||
<!-- Uno.WinUI.MSAL references Uno.WinUI for windows10 tfm. This target | ||
overrides the protection in uno.winui.targets that raises an error | ||
that breaks build --> | ||
<Target Name="_WinAppSDKNotSupported" BeforeTargets="BeforeBuild" /> | ||
</Project> | ||
<Project ToolsVersion="15.0"> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<local:App x:Class="ToDo.AppHead" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:wasm="http://platform.uno/wasm" | ||
xmlns:local="using:ToDo" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="wasm"> | ||
|
||
<local:App.Resources> | ||
<ResourceDictionary> | ||
<ResourceDictionary.MergedDictionaries> | ||
<ResourceDictionary Source="ms-appx:///ToDo/AppResources.xaml" /> | ||
</ResourceDictionary.MergedDictionaries> | ||
</ResourceDictionary> | ||
</local:App.Resources> | ||
|
||
</local:App> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
namespace ToDo; | ||
|
||
public sealed partial class AppHead : App | ||
{ | ||
/// <summary> | ||
/// Initializes the singleton application object. This is the first line of authored code | ||
/// executed, and as such is the logical equivalent of main() or WinMain(). | ||
/// </summary> | ||
public AppHead() | ||
{ | ||
this.InitializeComponent(); | ||
} | ||
} |
Oops, something went wrong.