I have encountered the following error when I try to run my WinUI3 project.
System.EntryPointNotFoundException: 'Unable to find an entry point named 'XamlCheckProcessRequirements' in DLL 'Microsoft.ui.xaml.dll'.'
Specifically, the run options I am using are "Release" "X64" "MyAppName (Package)" "Local Machine". I am using Version 17.6.0 of Visual Studio, and this problem started when I changed my configuration from "Release" to "Debug" (I tried changing it back but this made no difference).
I have tried the solutions suggested in this thread.
Specifically, these were deleting the following folder: C:\Users\UserName.nuget\packages\microsoft.ui.xaml
And ensuring my .csproj (and wapproj) files contains the correct elements.
However, the error persists. If anyone has any suggestions for any other actions to try, I would greatly appreciate if you would please let me know.