© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
16 replies
Vеrsette

❔ 'System.ExecutionEngineException' occurred in WindowsBase.dll

My WPF project has a UI part that has bindings to DataContext of the Window, and this DataContext is a class that inherits
INotifyPropertyChanged
INotifyPropertyChanged
and updates it's properties in a
while(true)
while(true)
loop in a separate background thread with a small delay.
But when I hover my mouse over a certain custom control, it errors out with
ExecutionEngineException
ExecutionEngineException
on it's function. When I remove the control, it errors out the same way on
DragMove()
DragMove()
of the Window. And the only thing that fixes it is not starting the update thread, which means that the issue must be there, but what could it be?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

System.ExecutionEngineException with WriteableBitmap
C#CC# / help
7mo ago
An unhandled exception of type 'System.AggregateException' occurred in System.Private.CoreLib.dll: '
C#CC# / help
3mo ago
❔ 'System.PlatformNotSupportedException' in System.CodeDom.dll
C#CC# / help
3y ago
✅ Missing parameter setter in System.dll
C#CC# / help
16mo ago