I have an open ticket with ESRI Support on this, but they don't seem to know what's going on, so maybe someone here can help. I'm guessing this is specific to the computer I am trying to run this on, I'm not having problems when using it on my laptop.
I cannot create/run any of the templates for ArcGIS Runtime SDK .NET in Visual Studio Community 2019. They throw exception errors. This is the out-of-the-box apps that are created in a new solution/project. I then loaded the ArcGIS Runtime SDK for .NET (WPF) from the Microsoft Store to see if I could get a sample to test. That also throws exception errors. Here's an example:
I have tried uninstalling EVERYTHING, including .NET, VS, ArcGIS Runtime nuget packages and reinstalling with no luck.
I am not running any anti-virus other than Windows Security. Turning off all Windows Security didn't fix it. ESRI Support tech had me downsize my screen resolution on 4k monitor and that didn't change anything either. He seems to think this is related to display/monitors since this happens when the mapview is called from a template app.
Thoughts? Other things to check?