How to solve "System.EntryPointNotFoundException"? #8497
Unanswered
MaiastraMan
asked this question in
Q&A
Replies: 1 comment 2 replies
-
To put it simply, WinUI 2 and WinUI 3 cannot coexist in the same process. Since there are now two Microsoft.UI.Xaml.dll libraries referenced, it is completely up to luck what version it will bind to with the check for this function. It is obviously loading the WinUI 2 version, and this doesn't export this function. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 following solutions:
C:\Program Files\WindowsApps\Microsoft.UI.Xaml.2.8_8.2305.5001.0_x64__8wekyb3d8bbwe\Microsoft.UI.Xaml
I inspected the .dll file in this folder, and found that it was 2.8.2305.5001. This conflicted with my NuGet Package manager version, which was 2.8.4. Consequently I tried "upgrading" my NuGet Package version to 2.8.2, however the error persisted.If anyone has any thoughts on how to proceed from here, I would greatly appreciate if you would let me know.
Beta Was this translation helpful? Give feedback.
All reactions