-
Notifications
You must be signed in to change notification settings - Fork 10
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
fix: Adjusting overrides to be single target and provide warnings #425
Merged
Conversation
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
MartinZikmund
approved these changes
Nov 10, 2023
nickrandolph
added
the
do-not-merge/work-in-progress
Indicates that a PR should not merge because it is a work in progress.
label
Nov 10, 2023
Discussion with @dansiegel :
|
nickrandolph
force-pushed
the
dev/nr/fixoverrides
branch
from
November 10, 2023 15:29
9a3cdb4
to
3e02676
Compare
nickrandolph
changed the title
fix: Adjusting overrides to be incremental and provide warnings
fix: Adjusting overrides to be single target and provide warnings
Nov 13, 2023
nickrandolph
commented
Nov 13, 2023
src/Uno.Templates/content/unomauilib/.template.config/template.json
Outdated
Show resolved
Hide resolved
nickrandolph
removed
the
do-not-merge/work-in-progress
Indicates that a PR should not merge because it is a work in progress.
label
Nov 13, 2023
nickrandolph
force-pushed
the
dev/nr/fixoverrides
branch
4 times, most recently
from
November 13, 2023 14:57
8a0321e
to
73f48bd
Compare
dansiegel
reviewed
Nov 13, 2023
...plates/content/unoapp/MyExtensionsApp._1.MauiControls/MyExtensionsApp._1.MauiControls.csproj
Outdated
Show resolved
Hide resolved
src/Uno.Templates/content/unoapp/MyExtensionsApp._1.Mobile/MyExtensionsApp._1.Mobile.csproj
Outdated
Show resolved
Hide resolved
src/Uno.Templates/content/unoapp/MyExtensionsApp._1.Skia.Gtk/MyExtensionsApp._1.Skia.Gtk.csproj
Outdated
Show resolved
Hide resolved
src/Uno.Templates/content/unoapp/MyExtensionsApp._1.Windows/MyExtensionsApp._1.Windows.csproj
Outdated
Show resolved
Hide resolved
nickrandolph
force-pushed
the
dev/nr/fixoverrides
branch
from
November 13, 2023 15:37
5856e27
to
0b0d07f
Compare
dansiegel
reviewed
Nov 13, 2023
src/Uno.Templates/content/unoapp/MyExtensionsApp._1.Skia.Gtk/MyExtensionsApp._1.Skia.Gtk.csproj
Outdated
Show resolved
Hide resolved
src/Uno.Templates/content/unoapp/MyExtensionsApp._1.Wasm/MyExtensionsApp._1.Wasm.csproj
Outdated
Show resolved
Hide resolved
src/Uno.Templates/content/unoapp/MyExtensionsApp._1.Windows/MyExtensionsApp._1.Windows.csproj
Outdated
Show resolved
Hide resolved
nickrandolph
force-pushed
the
dev/nr/fixoverrides
branch
7 times, most recently
from
November 13, 2023 16:06
eef7d1a
to
c82e98a
Compare
dansiegel
reviewed
Nov 13, 2023
src/Uno.Templates/content/unoapp/MyExtensionsApp._1.Mobile/MyExtensionsApp._1.Mobile.csproj
Outdated
Show resolved
Hide resolved
nickrandolph
force-pushed
the
dev/nr/fixoverrides
branch
from
November 13, 2023 16:21
c82e98a
to
cf9f30f
Compare
dansiegel
approved these changes
Nov 13, 2023
jeromelaban
reviewed
Nov 14, 2023
If working on a single target framework, copy solution-config.props.sample to solution-config.props | ||
and uncomment the appropriate lines in solution-config.props to build for the desired platforms only. | ||
|
||
https://platform.uno/docs/articles/guides/solution-building-single-targetframework.html |
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.
@dansiegel let's not use direct links in code, we can use this one instead: https://aka.platform.uno/uno-single-tfm-build
@Mergifyio backport release/stable/5.0 |
✅ Backports have been created
|
nickrandolph
added a commit
that referenced
this pull request
Nov 17, 2023
…0/pr-425 fix: Adjusting overrides to be single target and provide warnings (backport #425)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
GitHub Issue (If applicable): closes #424 #423
PR Type
What kind of change does this PR introduce?
What is the current behavior?
If you add non-mobile overrides, the mobile project won't build.
What is the new behavior?
OverrideFrameworkVersions is now designed to be single target - if you uncomment more than one line in the solution-config.props it will pick up only the last
Validation messages have been added to build.props to help warn developers if they are trying to build a project with an invalid set of tfms/overrides
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Run
results.Other information
Internal Issue (If applicable):