BuildWebHost Errs on Internal IDictionary
See original GitHub issueNot sure where to post this, perhaps you can tell me.
Core 2.1 Web MVC App, Program.cs is stock out of the box. When I debug the app, it errs at
public static IWebHost BuildWebHost(string[] args) => WebHost.CreateDefaultBuilder(args) .UseStartup<Startup>() .Build();
The error is:
Method not found: ‘System.Collections.IDictionary Internal.Runtime.Augments.EnvironmentAugments.GetEnvironmentVariables()’.
FWIW, poking into the error details, I saw many errors around System.Reflection. One in particular caught my eye.
((System.Reflection.RuntimeAssembly)((System.RuntimeType)((System.RuntimeType)((System.Reflection.RuntimeMethodInfo)($exception).TargetSite).DeclaringType).BaseType).Assembly).CodeBase
Any insight, or a better place to ask, I’d greatly appreciate.
Thanks, Randy Chrismon
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (4 by maintainers)
I forgot to mention, my teammates run from their branches without problem, but they can’t run my branch (same error). So, I’m guessing it has to be something in my code, or something in the additional dll packages I included with my build. I’m going to explore tomorrow what packages I have that they don’t, or vise versa.
Thanks! Randy
This issue was moved to aspnet/Home#3161