Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrated to Uno 5.1 and .NET 8 #9

Draft
wants to merge 40 commits into
base: uno
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
f14b7b2
Implemented basic navigation
Jan 30, 2021
c2a3c92
Implemented passing initial parameter
xperiandri Feb 21, 2021
f747831
Implemented validation errors as observable collections of objects
xperiandri May 16, 2021
067a8a9
Implemented updateObservableCollection instead of elmStyleMerge
xperiandri May 16, 2021
00eb540
Renamed Samples.sln
Apr 27, 2021
c276086
Added a workflow that builds a NuGet package and pushes it into MyGet
Apr 15, 2021
453f2f6
Added template implementation for visual studio
May 17, 2021
38dcf25
Fixed ICustomProperty implementation in DynamicCustomProperty
xperiandri Jun 29, 2021
2a49978
Fixed ICustomProperty bindings initialization
xperiandri Jul 8, 2021
222a7fc
Updated SolutionTemplate and workflows
xperiandri Jul 9, 2021
a616a3b
Enabled parallel build
xperiandri Aug 24, 2021
b71db34
Fixed deadlock on WASM
xperiandri Aug 14, 2021
419975d
Migrated core and samples projects to Solution.Build.props and aligne…
xperiandri Aug 21, 2021
e09ae2f
Added trys with Debugger.Break() if exception for PropertyChanged and…
xperiandri Aug 21, 2021
db6a613
Fixed SubModelSeq sample containing TreeView by using WinUI version
xperiandri Aug 21, 2021
e379c5a
Added slnf for VSMav and Blend and fixed build on MacOS
xperiandri Sep 24, 2021
574588f
Fixed publishing .editorconfig to template
xperiandri Sep 24, 2021
7fbdc36
Updated to Uno 3.10.*
xperiandri Sep 24, 2021
01421e6
Made all variable GUIDs replaceable on template creation
xperiandri Sep 24, 2021
eef243c
Ordered projects in sln files
xperiandri Oct 16, 2021
e222b47
Updated FSharp.Core to 6.0.* and Microsoft.UI.Xaml to 2.7.*
xperiandri Oct 16, 2021
f5951d5
Improved samples UI with iOS visible bound for each page and title ba…
xperiandri Oct 23, 2021
51820d2
Added Fantomas configuration to .editorconfig
xperiandri Oct 23, 2021
eeb10bd
Set C# and F# language versions and FSharp.Core version via variables
xperiandri Apr 7, 2022
38c5d8b
Migrated to Uno.UI 4.1.*, .NET 6 but not MAUI and NuGet 6
xperiandri Jan 17, 2022
4493f7d
Added missing XML comments file for UWP into NuSpec, updated UWP targ…
xperiandri Jan 17, 2022
98003b8
Added missing XML documentation file generation to UWP
xperiandri Feb 20, 2022
89e9771
Updated to .NET 6.0.200 runtime
xperiandri Feb 21, 2022
6f29ea6
Fixed all the warnings and added all the missing XML docs
xperiandri Feb 21, 2022
c61c2f5
Migrated to .NET 6 MAUI
Feb 20, 2022
aeb3623
Set up central version management of Nuget packages, fixed the "Autho…
Apr 11, 2022
60030d5
Set up central version management of Nuget packages, changed SDK vers…
Apr 18, 2022
523e9aa
fixup! Set up central version management of Nuget packages, fixed the…
xperiandri May 15, 2022
5a1b480
Fixed counter minus symbol
xperiandri Oct 26, 2023
b695d8b
Updated to .NET 6 (draft)
Oct 18, 2022
4c7fcf7
Migrated to Uno WinUI
xperiandri Oct 26, 2023
8785d7c
Migrated the library to Uno 5.1 and .NET 8
xperiandri Mar 28, 2024
ef8464f
fixup! Migrated the library to Uno 5.1 and .NET 8
xperiandri Apr 1, 2024
35993e7
fixup! Migrated the library to Uno 5.1 and .NET 8
xperiandri Apr 1, 2024
eaf0ae9
fixup! Migrated the library to Uno 5.1 and .NET 8
Apr 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Set C# and F# language versions and FSharp.Core version via variables
xperiandri committed Apr 7, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit eeb10bd00772012d5d56b9da8b9c511834e8012b
1 change: 1 addition & 0 deletions src/Samples/Samples.Droid/Samples.Droid.csproj
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<LangVersion>$(CSharpLangVersion)</LangVersion>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{3DE4429B-5BB1-423F-B529-8AD31E841DB3}</ProjectGuid>
2 changes: 1 addition & 1 deletion src/Samples/Samples.Skia.Gtk/Samples.Skia.Gtk.csproj
Original file line number Diff line number Diff line change
@@ -36,4 +36,4 @@
<ProjectReference Include="..\Samples\Samples.fsproj" />
</ItemGroup>
<Import Project="..\Samples.Shared\Samples.Shared.projitems" Label="Shared" />
</Project>
</Project>
3 changes: 2 additions & 1 deletion src/Samples/Samples.Skia.Tizen/Samples.Skia.Tizen.csproj
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>tizen50</TargetFramework>
<LangVersion>$(CSharpLangVersion)</LangVersion>
<OutputType>Exe</OutputType>
<DefineConstants>$(DefineConstants);__TIZEN__;</DefineConstants>
<AssemblyName>$(AssemblyBaseName)</AssemblyName>
@@ -41,4 +42,4 @@
<ProjectReference Include="..\Samples\Samples.fsproj" />
</ItemGroup>
<Import Project="..\Samples.Shared\Samples.Shared.projitems" Label="Shared" />
</Project>
</Project>
Original file line number Diff line number Diff line change
@@ -5,6 +5,7 @@
<OutputType Condition="'$(Configuration)'=='Release'">WinExe</OutputType>
<OutputType Condition="'$(Configuration)'=='Debug'">Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<LangVersion>$(CSharpLangVersion)</LangVersion>
<UseWPF>true</UseWPF>
<AssemblyName>$(AssemblyBaseName).Host</AssemblyName>
</PropertyGroup>
@@ -30,4 +31,4 @@
<ProjectReference Include="..\Samples.Skia.WPF\Samples.Skia.WPF.csproj" />
<ProjectReference Include="..\Samples\Samples.fsproj" />
</ItemGroup>
</Project>
</Project>
3 changes: 2 additions & 1 deletion src/Samples/Samples.Skia.Wpf/Samples.Skia.Wpf.csproj
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
<Import Project="..\Samples.Build.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>$(CSharpLangVersion)</LangVersion>
<AssemblyName>$(AssemblyBaseName)</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
@@ -29,4 +30,4 @@
<ProjectReference Include="..\Samples\Samples.fsproj" />
</ItemGroup>
<Import Project="..\Samples.Shared\Samples.Shared.projitems" Label="Shared" />
</Project>
</Project>
9 changes: 4 additions & 5 deletions src/Samples/Samples.UWP/Samples.UWP.csproj
Original file line number Diff line number Diff line change
@@ -2,17 +2,14 @@
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Import Project="..\Samples.Build.props" />
<PropertyGroup>
<LangVersion>9.0</LangVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.2.11">
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
<!--
If, in the same solution, you are referencing a project that uses https://github.com/onovotny/MSBuildSdkExtras,
you need to make sure that the version provided here matches https://github.com/novotnyllc/MSBuildSdkExtras/blob/main/Source/MSBuild.Sdk.Extras/DefaultItems/ImplicitPackages.targets#L11.
This is not an issue when libraries are referenced through nuget packages. See https://github.com/unoplatform/uno/issues/446 for more details.
-->
<Version>6.2.13</Version>
</PackageReference>
<PackageReference Include="Elmish" Version="$(ElmishVersion)" />
<PackageReference Include="FSharp.Core" Version="$(FSharpCoreVersion)" />
@@ -27,12 +24,14 @@
<PackageReference Include="Uno.UI" Version="$(UnoUIVersion)" />
</ItemGroup>
<PropertyGroup>
<LangVersion>$(CSharpLangVersion)</LangVersion>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{E025D4A5-F4D9-44CF-80DF-B81A9EE5DB0E}</ProjectGuid>
<OutputType>AppContainerExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<AssemblyName>$(AssemblyBaseName)</AssemblyName>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.18362.0</TargetPlatformVersion>
4 changes: 2 additions & 2 deletions src/Samples/Samples.Wasm/Samples.Wasm.csproj
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<LangVersion>9.0</LangVersion>
<LangVersion>$(CSharpLangVersion)</LangVersion>
<NoWarn>NU1701</NoWarn>
<AssemblyName>$(AssemblyBaseName)</AssemblyName>
</PropertyGroup>
@@ -67,4 +67,4 @@
<ProjectReference Include="..\Samples\Samples.fsproj" />
</ItemGroup>
<Import Project="..\Samples.Shared\Samples.Shared.projitems" Label="Shared" Condition="Exists('..\Samples.Shared\Samples.Shared.projitems')" />
</Project>
</Project>
1 change: 1 addition & 0 deletions src/Samples/Samples.iOS/Samples.iOS.csproj
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\Samples.Build.props" />
<PropertyGroup>
<LangVersion>$(CSharpLangVersion)</LangVersion>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProjectGuid>{67476367-BB0B-4A84-B8BB-7ED4ED2F1CD6}</ProjectGuid>
1 change: 1 addition & 0 deletions src/Samples/Samples.macOS/Samples.macOS.csproj
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\Samples.Build.props" />
<PropertyGroup>
<LangVersion>$(CSharpLangVersion)</LangVersion>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProjectGuid>{39D21008-549B-42ED-8640-3B9AAEFB2921}</ProjectGuid>
3 changes: 3 additions & 0 deletions src/Templates/SolutionTemplate/Solution.Build.props
Original file line number Diff line number Diff line change
@@ -6,6 +6,9 @@
<Product>SolutionTemplate</Product>
<Authors>Elmish.Unp</Authors>
<Copyright>Copyright © XperiAndri</Copyright>
<CSharpLangVersion>10.0</CSharpLangVersion>
<FSharpLangVersion>6.0</FSharpLangVersion>
<FSharpCoreVersion>6.0.*</FSharpCoreVersion>
<MicrosoftExtensionsVersion>5.0.*</MicrosoftExtensionsVersion>
<ToolkitVersion>7.0.*</ToolkitVersion>
<UnoUIVersion>[3.10.*,4.0.0)</UnoUIVersion>
Original file line number Diff line number Diff line change
@@ -3,9 +3,9 @@
<Import Project="..\Solution.Build.props" />
<Import Project="..\Analyzers.Build.props" />
<PropertyGroup>
<LangVersion>9.0</LangVersion>
<OutputType>Exe</OutputType>
<TargetFramework>tizen50</TargetFramework>
<LangVersion>$(CSharpLangVersion)</LangVersion>
<OutputType>Exe</OutputType>
<DefineConstants>$(DefineConstants);__TIZEN__;</DefineConstants>
<AssemblyName>$(AssemblyBaseName)</AssemblyName>
Original file line number Diff line number Diff line change
@@ -3,8 +3,8 @@
<Import Project="..\Solution.Build.props" />
<Import Project="..\Analyzers.Build.props" />
<PropertyGroup>
<LangVersion>9.0</LangVersion>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>$(CSharpLangVersion)</LangVersion>
<AssemblyName>$(AssemblyBaseName)</AssemblyName>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
you need to make sure that the version provided here matches https://github.com/novotnyllc/MSBuildSdkExtras/blob/main/Source/MSBuild.Sdk.Extras/DefaultItems/ImplicitPackages.targets#L11.
This is not an issue when libraries are referenced through nuget packages. See https://github.com/unoplatform/uno/issues/446 for more details.
-->
<Version>6.2.11</Version>
<Version>6.2.13</Version>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="$(MicrosoftExtensionsVersion)" />
@@ -22,7 +22,7 @@
<PackageReference Include="Uno.UI" Version="$(UnoUIVersion)" />
</ItemGroup>
<PropertyGroup>
<LangVersion>9.0</LangVersion>
<LangVersion>$(CSharpLangVersion)</LangVersion>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProjectGuid>{7727D8AD-8883-427D-A77A-7C8639ACE4AF}</ProjectGuid>
Original file line number Diff line number Diff line change
@@ -5,6 +5,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<LangVersion>$(CSharpLangVersion)</LangVersion>
<!-- .editorcofig bases suppressions do not work in WASM for some unknown reasons -->
<NoWarn>NU1701;DF0033</NoWarn>
<AssemblyName>$(AssemblyBaseName)</AssemblyName>
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
<Import Project="..\Solution.Build.props" />
<Import Project="..\Analyzers.Build.props" />
<PropertyGroup>
<LangVersion>9.0</LangVersion>
<LangVersion>$(CSharpLangVersion)</LangVersion>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProjectGuid>{C306819D-C046-4130-B9EF-68546B2CFBA4}</ProjectGuid>
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\Solution.Build.props" />
<PropertyGroup>
<LangVersion>$(CSharpLangVersion)</LangVersion>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProjectGuid>{4E726E84-2EA2-49D0-9B55-2D30FD5A892C}</ProjectGuid>
<ProjectTypeGuids>{A3F8F2AB-B479-4A4A-A458-A89E7DC349F1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<LangVersion>9.0</LangVersion>
<TargetFrameworkIdentifier>Xamarin.Mac</TargetFrameworkIdentifier>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<OutputType>Exe</OutputType>
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>$(FSharpLangVersion)</LangVersion>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<AssemblyName>$(AssemblyBaseName).Programs</AssemblyName>
</PropertyGroup>
@@ -37,6 +38,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Update="FSharp.Core" Version="6.0.*" />
<PackageReference Update="FSharp.Core" Version="$(FSharpCoreVersion)" />
</ItemGroup>
</Project>