This repository has been archived by the owner on May 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] After #7531 some XAML namespaces require assembly #7830
Labels
Comments
StephaneDelcroix
added
i/regression
s/needs-info ❓
A question has been asked that requires an answer before work can continue on this issue.
labels
Oct 5, 2019
please provide a repro project as soon as you can. thanks |
Here is the project: It is a bit trickier than I thought:
If you change Off topic - is it worth turning off XAML compilation in DEBUG mode? |
StephaneDelcroix
removed
the
s/needs-info ❓
A question has been asked that requires an answer before work can continue on this issue.
label
Oct 5, 2019
Thanks, will look at that.
well, yes and no yes:
no:
To get the gain from (1), and keep the validation, we introduced a new flag that only does the validation part, but doesn't actually write the assembly back (#7407). This will be available in 4.3. We're still considering enabling that by default. |
2 tasks
felipebaltazar
pushed a commit
to felipebaltazar/Xamarin.Forms
that referenced
this issue
Oct 16, 2019
regression introduced by xamarin#7531 - fixes xamarin#7830
felipebaltazar
pushed a commit
to felipebaltazar/Xamarin.Forms
that referenced
this issue
Oct 16, 2019
regression introduced by xamarin#7531 - fixes xamarin#7830
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Ironically after #7531 some XAML namespaces require assembly name otherwise the app just crashes.
Steps to Reproduce
"public static class ResourceStrings", for example Text="{x:Static resources:ResourceStrings.SomeText}"
Expected Behavior
xmlns:resources="clr-namespace:App.Core" should be enough
Actual Behavior
The app crashes unless assembly is specified
xmlns:resources="clr-namespace:AppCore;assembly=App.Portable"
Basic Information
The text was updated successfully, but these errors were encountered: