Illya
Illya
> This happens because you are attempting to load an assembly whose dependencies are not yet loaded and thus, since they cannot be found, we invoke the Resolving event again....
@patricknolan Below is a hack workaround for this issue. It's not pretty, but it works: ``` private static readonly object _lock = new object(); AssemblyLoadContext.Default.Resolving += this.OnAssemblyResolve; protected virtual Assembly...
The issue can be reproduced with the following (as shown my @patricknolan ): ``` AssemblyLoadContext.Default.Resolving += this.OnAssemblyResolve; AssemblyLoadContext.Default.LoadFromAssemblyName(AssemblyThatCannotBeFoundByDefault); protected virtual Assembly OnAssemblyResolve(AssemblyLoadContext assemblyLoadContext, AssemblyName assemblyName) { var assembly = assemblyLoadContext.LoadFromAssemblyName(assemblyName);...
Agreed. I believe the confusion stems from the name `Resolving`, where the developer is likely to assume that hooking into the event will have their logic called for every assembly...
Please, please, please make a toggle to disable the periodic prompts for the registration lock. It can be behind an advanced menu or something, but for those like myself that...
Could someone please confirm whether it is by design, and is expected, for each Project to implement its own equivalent of a 'required' attribute for Controller Action parameters? The Action...
@jstedfast Thank you for such a quick response. The issue we are trying to get around is not to do with encoding, but with maximum line length. Will changing the...
Hi, While trying to get around the Lambda's dynamic assembly loading limitation by embedding the cshtml views into the library itself and then serving them from the embedded resource, I...
Hope this helps :-) ```Unknown error responding to request: TypeInitializationException: System.TypeInitializationException: The type initializer for 'Microsoft.Extensions.DependencyModel.CompilationLibrary' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Microsoft.DotNet.PlatformAbstractions.RuntimeEnvironment' threw an exception. --->...
@gokarnm , Great! I guess it is a problem on my end and hence it can be resolved. Just to be sure I have just tried again, by running at...