Visual Studio 2017を15.5にアップデートした後、私は単体テストをデバッグすることができなくなりました(私はテストをうまく実行でき、非テストプログラムもデバッグできます)。BadImageException: 'ファイルまたはアセンブリ' Microsoft.VisualStudio.QualityTools.VideoRecorderEngine 'またはその依存関係の1つを読み込めませんでした。
私は次の例外を得続ける:
Exception thrown: 'System.BadImageFormatException' in mscorlib.dll
Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.VideoRecorderEngine' or one of its dependencies. The module was expected to contain an assembly manifest.
Exception thrown: 'System.BadImageFormatException' in mscorlib.dll
Could not load file or assembly 'VSTestVideoRecorder' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Exception thrown: 'System.BadImageFormatException' in mscorlib.dll
Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.VideoRecorderEngine' or one of its dependencies. The module was expected to contain an assembly manifest.
Exception thrown: 'System.BadImageFormatException' in mscorlib.dll
Could not load file or assembly 'VSTestVideoRecorder' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Exception thrown: 'System.ArgumentException' in System.dll
FrameworkName cannot have less than two components or more than three components.
私は各プロジェクトが一貫(7+ワット/マイナーバージョン)同じコンパイラ設定を使用して、すべての.NET 4.7をターゲットにしていることが確認できました。 VSを15.5に更新することを除いて、問題のファイルの一部のコードはまったく変更されていません。
私は、これらの例外やそれらに対処する方法について役立つものは見つかりませんでした。それは確かにVSアップデートによって引き起こされた何かのようです。
アイデア? VSを唯一のソリューションとして再インストールしていますか?
おそらく関連するバグエントリは「固定保留中のリリース」です。https://developercommunity.visualstudio.com/content/problem/168116/badimageformatexml-microstvisualstudioquality.html – notso