Closed yangbocheng closed 1 year ago
Can confirm. This is really annoying. This happens in my .NET MAUI project when targeting Windows and Android. The project builds successfully but the ViewModels are plastered with IntelliSense 'Ambiguous reference' Errors 'Ambiguous reference'.
I have seen this issue pop up from time to time. I have been able to clear it by closing and restarting VS.
This seems weird and potentially related to Roslyn. @yangbocheng do you repro in a blank .NET project? What is your setup, is that a multi-targeted project using some framework (eg. MAUI), or something else? I cannot repro in a blank .NET 6 project.
This mistake happens too often。that's a maui,which install packages :communitytoolkit mvvm and maui, i have no way to offer an repo to show those mistakes, because, when reopen VS , or just a random minutes, those mistakes may or not may disappear
But it comes up a lot,just write some codes , write some properties, and complier, and debug and then continue . maybe then it must occurs
Describe the bug
how to solve this problem? it seems has generated same properties
Regression
No response
Steps to reproduce
Expected behavior
above all
Screenshots
No response
IDE and version
VS 2022 Preview
IDE version
17.5.0 Preview 5.0
Nuget packages
Nuget package version(s)
8.1.0
Additional context
No response
Help us help you
Yes, I'd like to be assigned to work on this item