Sau khi cập nhật Visual Studio 2017 lên 15.5, tôi không còn có thể gỡ lỗi các bài kiểm tra đơn vị của mình nữa (tôi có thể chạy thử nghiệm tốt và tôi có thể gỡ lỗi chương trình không kiểm tra).BadImageException: 'Không thể tải tệp hoặc lắp ráp' Microsoft.VisualStudio.QualityTools.VideoRecorderEngine 'hoặc một trong các phụ thuộc của nó'.
tôi tiếp tục nhận được những ngoại lệ sau:
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.
Tôi đã xác nhận rằng mỗi dự án luôn được sử dụng cài đặt trình biên dịch cùng (7+ w/phiên bản nhỏ), và tất cả đều nhắm mục tiêu Net 4.7. Ngoại trừ việc cập nhật VS lên 15.5, mã trong một số tệp có vấn đề không hề thay đổi.
Tôi không tìm thấy bất kỳ điều gì hữu ích về những ngoại lệ này hoặc về cách giải quyết chúng. Nó chắc chắn có vẻ giống như một cái gì đó gây ra bởi bản cập nhật VS.
Bất kỳ ý tưởng nào? Cài đặt lại VS giải pháp duy nhất?
Mục nhập lỗi có liên quan có lẽ là 'Bản phát hành cố định - đang chờ xử lý' https://developercommunity.visualstudio.com/content/problem/168116/badimageformatexception-microstvisualstudioquality.html – notso