Visual Studio is now in a screw you mode
So I add a new tab to the Maui project. It has a load of a collection in the constructor of the view. I had put a breakpoint of the statement loading the collection and it would stop for about 10 secs and then the project would stop.
Finally figured out why. Put the cursor over the property to ensure that it was loaded correctly. If I don't do that it runs (not correctly but it doesn't just quit).
I use the same code in other places in the project so confusion (VS norm) reigns.
At present the combination of Win 11/VS 2022 and Maui have basically stopped all progress.
If I can talk with some one I will show all the info about VS but you should really know that a copy of the info exceeds the char limit here
We can't help you if you don't provide details of the problem.
If you'd like to speak to somebody directly about this you can open a case at https://support.serviceshub.microsoft.com/supportforbusiness/create?sapId=27261ac1-649d-6bd3-6b8f-427ac125ade8 and choose Developer Tools / .NET / .NET 6.0 / Tools and Compilers / Multi-platform App UI (.NET MAUI) Tools
If you can create a small sample that recreates the problem then you are more likely to get help. I know it takes time to do that but it is what I sometimes do and what many other developers do.
I really think that my VS is now in a totally screwed up state. I have older copies of projects and when I load them debugging happens and showing property values works. I have deleted the View and ViewModel I created and it now shows property values.
What the View and ViewModel contains is almost nothing as I am just starting to migrate from an Xamarin project. I can debug them so I will have to try to find out what the View or ViewModel did to cause the problems.
Sign in to comment