アセンブリ 'mscorlibからタイプ' System.Runtime.CompilerServices.ExtensionAttribute 'を読み込めませんでした
Webサイトを初めて起動したときに、このエラーが発生します Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' 何が悪いのですか? .NET 4を使用しており、Visual Studioからサイトを起動しています。 最近変更したのは、プロジェクトにSimple Injector(Nugetを使用)を追加することだけです。 これがスタックトレースです [TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.] System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type) +0 System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, …