Nach der Aktualisierung von Visual Studio 2017 auf 15.5 bin ich nicht mehr in der Lage, meine Komponententests zu debuggen (ich kann die Tests gut ausführen, und ich kann Nicht-Testprogramme debuggen).BadImageException: 'Datei oder Assembly konnte nicht geladen werden' Microsoft.VisualStudio.QualityTools.VideoRecorderEngine 'oder eines seiner Abhängigkeiten.'
Ich halte die folgenden Ausnahmen bekommen:
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.
ich, dass jedes Projekt bestätigt haben konsequent den gleichen Compiler-Einstellung verwendet (7+ w/Moll-Versionen) und werden alle Targeting .Net 4.7. Abgesehen von der Aktualisierung von VS auf 15.5 hat sich der Code in einigen der fraglichen Dateien überhaupt nicht geändert.
Ich habe nichts hilfreiches über diese Ausnahmen gefunden oder darüber, wie man sie anspricht. Es scheint sicherlich etwas durch das VS-Update verursacht.
Irgendwelche Ideen? Ist die Neuinstallation von VS die einzige Lösung?
Vermutlich verwandten Bug-Eintrag ist "Fixed - ausstehende Veröffentlichung" https://developercommunity.visualstudio.com/content/problem/168116/badimageformatexception-microstvisualstudioquality.html – notso