Open therealjohn opened 4 years ago
Thanks for reporting this. if it doesn't happen on net standard, or multitargetted project, it's very unlikely that we'll look at it, as Shared Assets Projects are deprecated for a quite long time now.
@StephaneDelcroix Thanks for the confirmation. I just learned that Shared Projects were removed as an option in 8.5 P2, so this is unlikely to continue being an issue for new projects.
Description
No variable is available in C# after assigning
x:Name="..."
to a control in a XAML Shared Project/Steps to Reproduce
Label
in there.myLabel
in codeExpected Behavior
IntelliSense should recognize
myLabel
/ the variable should be available for use.Actual Behavior
myLabel
is not recognized.Basic Information
Workaround
Build the iOS project. Now the variable is recognized. This is not an issue with NetStandard projects, only Shared.