Crashes in my project

24 views
Skip to first unread message

dra...@gmail.com

unread,
Feb 18, 2019, 10:37:18 PM2/18/19
to Developer Support
I've had to fix the source code a bit to not crash in my project. I'm not sure what is including the assembly, but if the Microsoft.CodeAnalysis.Scripting assembly is loaded in the AppDomain, then calling GetTypes() on that assembly crashes.

I've had to add the following protective coding:

if (assembly.GetName().Name == "Microsoft.CodeAnalysis.Scripting") continue;

in:

ReflectionX.cs Line 68
ObjectX.cs Line 367
CodeGenerator.cs Line 88 [Although assembly is misspelled here. :)]

Just figured I'd post for anyone else encountering this issue.


Reply all
Reply to author
Forward
0 new messages