Closed roncrush closed 2 years ago
@roncrush Wow, thanks for detailed reproductiom info! I will look.
@roncrush Meanwhile if the exception is critical for you, you may want to switch to interpretation new Container(Rules.Default.WithUseInterpretation())
@dadhi Thanks!
@roncrush Reproduced the exception locally.
@roncrush fixed at least. You have found a very sneaky beast - so thanks ;)
DI v5.2.2 is out on NuGet
@dadhi Awesome, thanks!
Thanks for the great library! I've hit an issue with using DryIoc in an ASP.NET Core MVC application that also happens to use the WebOptimizer library. When running the application sometimes the following exception gets thrown in the console logs or as a developer exception page. It looks like there's sometimes an issue resolving the type
Microsoft.Extensions.Options.IOptionsSnapshot<WebOptimizer.WebOptimizerOptions>
:Reproduction Files
test/test.csproj
test/Program.cs
test/wwwroot/css/test.less
test/Controllers/HomeController.cs
test/Views/Home/Index.cshtml
test/Views/_ViewImports.cshtml