-
Notifications
You must be signed in to change notification settings - Fork 46
chore: Upgrade to .NET 10.0, Uno.Sdk 6.4.42, remove MacCatalyst as deprecated and migrate macOS to Desktop (Skia) #1228
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
Draft
agneszitte
wants to merge
5
commits into
master
Choose a base branch
from
dev/agzi/UpdateGallery
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
207a648
chore: Upgrade to .NET 10.0, Uno.Sdk 6.4.42, remove MacCatalyst as de…
agneszitte dda8f15
chore: More tests and adjustments
agneszitte 719baba
chore: More tests
agneszitte 87b0a2b
chore: more tests
agneszitte 76a8e06
chore: More tests without feed
agneszitte File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -14,8 +14,8 @@ on: | |
| jobs: | ||
| build_and_deploy_job: | ||
| env: | ||
| DIST_PATH: Uno.Gallery/bin/Release/net9.0-browserwasm/publish/wwwroot | ||
| DotnetVersion: '9.0.300' | ||
| DIST_PATH: Uno.Gallery/bin/Release/net10.0-browserwasm/publish/wwwroot | ||
| DotNetVersion: '10.0.100' | ||
|
|
||
| if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') | ||
| runs-on: ubuntu-latest | ||
|
|
@@ -56,14 +56,14 @@ jobs: | |
| cache-name: cache-dotnet-install | ||
| with: | ||
| path: ${{ github.workspace }}/.dotnet | ||
| key: ${{ runner.os }}-build-dotnet-${{ env.DotnetVersion }} | ||
| key: ${{ runner.os }}-build-dotnet-${{ env.DotNetVersion }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-build-dotnet-${{ env.DotnetVersion }} | ||
| ${{ runner.os }}-build-dotnet-${{ env.DotNetVersion }} | ||
|
|
||
| - name: Setup .NET | ||
| uses: actions/[email protected] | ||
| with: | ||
| dotnet-version: ${{ env.DotnetVersion }} | ||
| dotnet-version: ${{ env.DotNetVersion }} | ||
| include-prerelease: true | ||
|
|
||
| - run: | | ||
|
|
@@ -79,7 +79,7 @@ jobs: | |
|
|
||
| - run: | | ||
| cd Uno.Gallery | ||
| dotnet publish -c Release -f net9.0-browserwasm "/p:PackageVersion=${{ steps.nbgv.outputs.SemVer2 }}" /bl:../binlogs/output.binlog | ||
| dotnet publish -c Release -f net10.0-browserwasm "/p:PackageVersion=${{ steps.nbgv.outputs.SemVer2 }}" /bl:../binlogs/output.binlog | ||
| name: Build Gallery | ||
|
|
||
| - uses: actions/upload-artifact@v4 | ||
|
|
||
This file contains hidden or 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,3 @@ | ||
| # About the `.run` folder | ||
|
|
||
| This folder is present to add support for the [Rider IDE](https://aka.platform.uno/rider-getstarted). You can remove this folder safely if you're not using Rider. |
This file contains hidden or 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,19 @@ | ||
| <component name="ProjectRunConfigurationManager"> | ||
| <configuration default="false" name="Uno.Gallery (WebAssembly IIS Express)" type="LaunchSettings" factoryName=".NET Launch Settings Profile"> | ||
| <option name="LAUNCH_PROFILE_PROJECT_FILE_PATH" value="$PROJECT_DIR$/Uno.Gallery/Uno.Gallery.csproj" /> | ||
| <option name="LAUNCH_PROFILE_TFM" value="net10.0-browserwasm" /> | ||
| <option name="LAUNCH_PROFILE_NAME" value="Gallery (WebAssembly IIS Express)" /> | ||
| <option name="USE_MONO" value="0" /> | ||
| <option name="RUNTIME_ARGUMENTS" value="" /> | ||
| <browser name="98ca6316-2f89-46d9-a9e5-fa9e2b0625b3" /> | ||
| <option name="GENERATE_APPLICATIONHOST_CONFIG" value="1" /> | ||
| <option name="SHOW_IIS_EXPRESS_OUTPUT" value="0" /> | ||
| <option name="SEND_DEBUG_REQUEST" value="1" /> | ||
| <option name="ADDITIONAL_IIS_EXPRESS_ARGUMENTS" value="" /> | ||
| <option name="AUTO_ATTACH_CHILDREN" value="0" /> | ||
| <option name="MIXED_MODE_DEBUG" value="0" /> | ||
| <method v="2"> | ||
| <option name="Build" /> | ||
| </method> | ||
| </configuration> | ||
| </component> |
This file contains hidden or 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,19 @@ | ||
| <component name="ProjectRunConfigurationManager"> | ||
| <configuration default="false" name="Uno.Gallery (WebAssembly)" type="LaunchSettings" factoryName=".NET Launch Settings Profile"> | ||
| <option name="LAUNCH_PROFILE_PROJECT_FILE_PATH" value="$PROJECT_DIR$/Uno.Gallery/Uno.Gallery.csproj" /> | ||
| <option name="LAUNCH_PROFILE_TFM" value="net10.0-browserwasm" /> | ||
| <option name="LAUNCH_PROFILE_NAME" value="Gallery (WebAssembly)" /> | ||
| <option name="USE_MONO" value="0" /> | ||
| <option name="RUNTIME_ARGUMENTS" value="" /> | ||
| <browser name="98ca6316-2f89-46d9-a9e5-fa9e2b0625b3" /> | ||
| <option name="GENERATE_APPLICATIONHOST_CONFIG" value="1" /> | ||
| <option name="SHOW_IIS_EXPRESS_OUTPUT" value="0" /> | ||
| <option name="SEND_DEBUG_REQUEST" value="1" /> | ||
| <option name="ADDITIONAL_IIS_EXPRESS_ARGUMENTS" value="" /> | ||
| <option name="AUTO_ATTACH_CHILDREN" value="0" /> | ||
| <option name="MIXED_MODE_DEBUG" value="0" /> | ||
| <method v="2"> | ||
| <option name="Build" /> | ||
| </method> | ||
| </configuration> | ||
| </component> |
This file contains hidden or 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,18 @@ | ||
| <component name="ProjectRunConfigurationManager"> | ||
| <configuration default="false" name="Uno.Gallery (Desktop)" type="LaunchSettings" factoryName=".NET Launch Settings Profile"> | ||
| <option name="LAUNCH_PROFILE_PROJECT_FILE_PATH" value="$PROJECT_DIR$/Uno.Gallery/Uno.Gallery.csproj" /> | ||
| <option name="LAUNCH_PROFILE_TFM" value="net10.0-desktop" /> | ||
| <option name="LAUNCH_PROFILE_NAME" value="Gallery (Desktop)" /> | ||
| <option name="USE_MONO" value="0" /> | ||
| <option name="RUNTIME_ARGUMENTS" value="" /> | ||
| <option name="GENERATE_APPLICATIONHOST_CONFIG" value="1" /> | ||
| <option name="SHOW_IIS_EXPRESS_OUTPUT" value="0" /> | ||
| <option name="SEND_DEBUG_REQUEST" value="1" /> | ||
| <option name="ADDITIONAL_IIS_EXPRESS_ARGUMENTS" value="" /> | ||
| <option name="AUTO_ATTACH_CHILDREN" value="0" /> | ||
| <option name="MIXED_MODE_DEBUG" value="0" /> | ||
| <method v="2"> | ||
| <option name="Build" /> | ||
| </method> | ||
| </configuration> | ||
| </component> |
This file contains hidden or 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,5 @@ | ||
| { | ||
| "recommendations": [ | ||
| "unoplatform.vscode" | ||
| ], | ||
| } |
This file contains hidden or 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,77 @@ | ||
| { | ||
| // Use IntelliSense to find out which attributes exist for C# debugging | ||
| // Use hover for the description of the existing attributes | ||
| // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md | ||
| "version": "0.2.0", | ||
| "configurations": [ | ||
| { | ||
| "name": "Uno Platform Mobile Debug", | ||
| "type": "Uno", | ||
| "request": "launch", | ||
| // any Uno* task will do, this is simply to satisfy vscode requirement when a launch.json is present | ||
| "preLaunchTask": "Uno: android | Debug | android-x64" | ||
| }, | ||
| { | ||
| // Use IntelliSense to find out which attributes exist for C# debugging | ||
| // Use hover for the description of the existing attributes | ||
| // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md | ||
| "name": "Uno Platform WebAssembly Debug (Chrome)", | ||
| "type": "chrome", | ||
| "request": "launch", | ||
| "url": "http://localhost:5000", | ||
| "webRoot": "${workspaceFolder}/Uno.Gallery", | ||
| "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", | ||
| "timeout": 30000, | ||
| "preLaunchTask": "build-wasm", | ||
| "server": { | ||
| "runtimeExecutable": "dotnet", | ||
| "program": "run", | ||
| "args": ["--no-build","-f","net10.0-browserwasm","--launch-profile", "Gallery (WebAssembly)"], | ||
| "outputCapture": "std", | ||
| "timeout": 30000, | ||
| "cwd": "${workspaceFolder}/Uno.Gallery" | ||
| } | ||
| }, | ||
| { | ||
| // Use IntelliSense to find out which attributes exist for C# debugging | ||
| // Use hover for the description of the existing attributes | ||
| // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md | ||
| "name": "Uno Platform WebAssembly Debug (Edge)", | ||
| "type": "msedge", | ||
| "request": "launch", | ||
| "url": "http://localhost:5000", | ||
| "webRoot": "${workspaceFolder}/Uno.Gallery", | ||
| "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}", | ||
| "timeout": 30000, | ||
| "preLaunchTask": "build-wasm", | ||
| "server": { | ||
| "runtimeExecutable": "dotnet", | ||
| "program": "run", | ||
| "args": ["--no-build","-f","net10.0-browserwasm","--launch-profile", "Gallery (WebAssembly)"], | ||
| "outputCapture": "std", | ||
| "timeout": 30000, | ||
| "cwd": "${workspaceFolder}/Uno.Gallery" | ||
| } | ||
| }, | ||
| { | ||
| // Use IntelliSense to find out which attributes exist for C# debugging | ||
| // Use hover for the description of the existing attributes | ||
| // For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md | ||
| "name": "Uno Platform Desktop Debug", | ||
| "type": "coreclr", | ||
| "request": "launch", | ||
| "preLaunchTask": "build-desktop", | ||
| // If you have changed target frameworks, make sure to update the program path. | ||
| "program": "${workspaceFolder}/Uno.Gallery/bin/Debug/net10.0-desktop/Uno.Gallery.dll", | ||
| "args": [], | ||
| "launchSettingsProfile": "Gallery (Desktop)", | ||
| "env": { | ||
| "DOTNET_MODIFIABLE_ASSEMBLIES": "debug" | ||
| }, | ||
| "cwd": "${workspaceFolder}/Uno.Gallery", | ||
| // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console | ||
| "console": "internalConsole", | ||
| "stopAtEntry": false | ||
| }, | ||
| ] | ||
| } |
This file contains hidden or 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,3 +1,10 @@ | ||
| { | ||
| "dotnet.defaultSolution": "Uno.Gallery.sln" | ||
| } | ||
| "explorer.fileNesting.enabled": true, | ||
| "explorer.fileNesting.expand": false, | ||
| "explorer.fileNesting.patterns": { | ||
| "*.xaml": "$(capture).xaml.cs" | ||
| }, | ||
| "files.associations": { | ||
| "global.json": "jsonc" | ||
| } | ||
|
agneszitte marked this conversation as resolved.
agneszitte marked this conversation as resolved.
|
||
| } | ||
This file contains hidden or 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,57 @@ | ||
| { | ||
| "version": "2.0.0", | ||
| "tasks": [ | ||
| { | ||
| "label": "build-wasm", | ||
| "command": "dotnet", | ||
| "type": "process", | ||
| "args": [ | ||
| "build", | ||
| "${workspaceFolder}/Uno.Gallery/Uno.Gallery.csproj", | ||
| "/property:GenerateFullPaths=true", | ||
| "/property:TargetFramework=net10.0-browserwasm", | ||
| "/consoleloggerparameters:NoSummary" | ||
| ], | ||
| "problemMatcher": "$msCompile" | ||
| }, | ||
| { | ||
| "label": "publish-wasm", | ||
| "command": "dotnet", | ||
| "type": "process", | ||
| "args": [ | ||
| "publish", | ||
| "${workspaceFolder}/Uno.Gallery/Uno.Gallery.csproj", | ||
| "/property:GenerateFullPaths=true", | ||
| "/property:TargetFramework=net10.0-browserwasm", | ||
| "/consoleloggerparameters:NoSummary" | ||
| ], | ||
| "problemMatcher": "$msCompile" | ||
| }, | ||
| { | ||
| "label": "build-desktop", | ||
| "command": "dotnet", | ||
| "type": "process", | ||
| "args": [ | ||
| "build", | ||
| "${workspaceFolder}/Uno.Gallery/Uno.Gallery.csproj", | ||
| "/property:GenerateFullPaths=true", | ||
| "/property:TargetFramework=net10.0-desktop", | ||
| "/consoleloggerparameters:NoSummary" | ||
| ], | ||
| "problemMatcher": "$msCompile" | ||
| }, | ||
| { | ||
| "label": "publish-desktop", | ||
| "command": "dotnet", | ||
| "type": "process", | ||
| "args": [ | ||
| "publish", | ||
| "${workspaceFolder}/Uno.Gallery/Uno.Gallery.csproj", | ||
| "/property:GenerateFullPaths=true", | ||
| "/property:TargetFramework=net10.0-desktop", | ||
| "/consoleloggerparameters:NoSummary" | ||
| ], | ||
| "problemMatcher": "$msCompile" | ||
| } | ||
| ] | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,12 @@ | ||
| <Project> | ||
| <!-- Import the root Directory.Build.props to preserve CPM and other settings --> | ||
| <Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" /> | ||
|
|
||
| <PropertyGroup> | ||
| <!-- .NET 10 SDK defaults to runtime pack version 10.0.0, but dotnet10-transport feed | ||
| only contains servicing builds. The MicrosoftNETCoreAppRuntimeVersion property | ||
| is set in the root Directory.Build.props and should apply to all frameworks. --> | ||
| <SelfContained>true</SelfContained> | ||
| <DisableImplicitFrameworkReferences>false</DisableImplicitFrameworkReferences> | ||
| </PropertyGroup> | ||
| </Project> |
This file contains hidden or 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 hidden or 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.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.