My "Input Module" has spaces in the assembly name and ConfuserEx throws an exception in ConfuserEngine.cs on the latest code's line 495 where AssemblyResolver.GetCachedAssemblies() is called. This is unrelated to the exe filename itself but rather the Assembly Name for the host exe's csproj. When I have a space in the Assembly Name then the Dictionary<string, AssemblyDef> field cachedAssemblies has a null item which ConfuserEngine.cs and AssemblyResolver.GetCachedAssemblies() do not account for. As far as the actual root of the problem, I think it might be in the TypeNameParser. Thanks for all the work that has been put into this, it is impressive.
My "Input Module" has spaces in the assembly name and ConfuserEx throws an exception in ConfuserEngine.cs on the latest code's line 495 where AssemblyResolver.
GetCachedAssemblies()
is called. This is unrelated to the exe filename itself but rather the Assembly Name for the host exe's csproj. When I have a space in the Assembly Name then theDictionary<string, AssemblyDef>
fieldcachedAssemblies
has a null item which ConfuserEngine.cs and AssemblyResolver.GetCachedAssemblies()
do not account for. As far as the actual root of the problem, I think it might be in the TypeNameParser. Thanks for all the work that has been put into this, it is impressive.