Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
8.62k
stars
696
forks
source link
`ObjectDisposedException` from SourceGenerators showing UI dialog #12844
Open
mrlacey opened 12 months ago
Current behavior
Not sure what caused this (or how), but I had this message box displayed
The dialog was raised by the VBCSCompiler process.
Full text of the message:
Expected behavior
I'm assuming this was displayed to the UI as it fell through the full call stack as an unhandled exception.
I'd expect this to be logged somewhere more appropriate than letting an exception create a dialog where the user can't do anything useful with it.
How to reproduce it (as minimally and precisely as possible)
???
Workaround
???
Works on UWP/WinUI
None
Environment
Uno.SourceGenerationTasks
NuGet package version(s)
No response
Affected platforms
No response
IDE
Visual Studio 2022
IDE version
17.6.4
Relevant plugins
n/a
Anything else we need to know?
No response