I have created a new app from scratch from the VisualStudio WinUI blank packaged app template.
When I run the app in both Debug and Release, the app shows up as expected.
I added the SceneView control from Esri.ArcGISRuntime.WinUI 200.6 nuget package.
When I build and run in Debug, it works and I can see the map.
But in Release, it crashes in XamlTypeInfo.g.cs with:
Exception thrown: 'System.NullReferenceException' in WinRT.Runtime.dll
| | $exception | Internal error in the C# compiler | |
Don't know if it is relevant since it is in Release. See attached screenshot.
Am I missing something?
Thanks.