-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Avalonia single project support #9613
Conversation
Potentially can be useful on mobile only. But blocked by inconsistency in the .NET SDK itself. |
a414bd6
to
a6e4a47
Compare
Resurrecting this PR. I want to have this feature at least for the internal use. |
# Conflicts: # azure-pipelines.yml # build/BuildTargets.targets # global.json # samples/MobileSandbox.Android/MobileSandbox.Android.csproj # samples/MobileSandbox.Browser/MobileSandbox.Browser.csproj # samples/MobileSandbox.Desktop/MobileSandbox.Desktop.csproj # samples/MobileSandbox.iOS/MobileSandbox.iOS.csproj
You can test this PR using the following package version. |
You can test this PR using the following package version. |
You can test this PR using the following package version. |
You can test this PR using the following package version. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The entire single project concept is cursed, but PR looks good.
You can test this PR using the following package version. |
What does the pull request do?
Makes it easier to create a single project for windows, macos, ios and android platforms.
With "NET8.0" it's possible to include "net8.0-browser" as well now.
But it still has problems with linux target - .NET doesn't support yet nor alias it.
What's working:
What does not work:
Avalonia.iOS/Browser/Android/Desktop
manually.Proper integration with VS (everything seems to work except VS doesn't understand how to run mobile projects).FixedDisclaimer: Avalonia team still recommends multiple projects approach, which is available in our templates. It is more verbose, but way more flexible in a long term. Also doesn't have stoppers with linux projects.
What is the updated/expected behavior with this PR?
MAUI, Tizen and MSBuild.SDK.Extras source codes were used as a reference.