-
Notifications
You must be signed in to change notification settings - Fork 768
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
[Rider] Unable to Resolve Symbol 'LightGray' in Uno Platform #19634
Comments
Thanks for the report. This is indeed a known color: Line 494 in 212316d
This looks like a Rider IDE issue that we cannot fix without help from the Rider team. It's likely best to open an issue on their tracker. |
I do get the same errors about color on visual studio as well. And I do not get this LightGray or any color error on any other type of project. It happens only on UNO Platform project no matter if I use Rider or Visual Studio as you can see in the screenshots of both IDEs |
Thanks. Could you show a screenshot of the error you're seeing in visual studio? |
Thanks. This is indeed not the same error. As a workaround, if you have the Still, this is an issue we've been trying to fix for years but it seems that VS intellisense changed recently and #19642 will fix it. This will be present in an upcoming release of Uno. For Rider, opening an issue on their bug tracker is the best way to have it fixed. |
@jeromelaban should this be kept open? |
@MartinZikmund It's for rider, so I tend to think that it should. |
Thank you, The workaround for the VS worked. Thanks for the great work and I had tried UNO Platform few years ago and now it has improved a lot. Amazing work! |
Created an issue for this one - https://youtrack.jetbrains.com/issue/RIDER-124060/Unable-to-Resolve-Symbol-for-XAML-Colors-in-Uno-Platform |
ha ha that is my rider ticket, i create the ticker before 3 months still not fixed. i am now just selecting all error and ignoring it, it is annoying color error. |
Can you guys upvote the issue so the Rider team will more likely prioritize it? |
Current behavior
When using the UNO Platform, the symbol 'LightGray' is not recognized, resulting in error:
The symbol 'LightGray' is not recognized, but build works however these errors are pretty annoying as program do compiles properly
Expected behavior
The LightGray color should be resolved correctly, as it is a standard predefined color.
How to reproduce it (as minimally and precisely as possible)
Create a new UNO Platform project.
Try using "LightGray" or any Color in XAML.
Observe the error in the build output.
Workaround
No response
Works on UWP/WinUI
Yes
Environment
Target Platforms: (WinUI, Android, iOS, WebAssembly, macOS, Linux)
IDE & Version: (Visual Studio 2022, JetBrains Rider)
NuGet package version(s)
No response
Affected platforms
Tested on Windows
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: