Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
3.2.0, 3.3.0
-
None
-
-
71e14972f (dev), 27595565b (dev)
Description
If i create a Qt Test Application using the Wizard as descriped in https://doc.qt.io/qtvstools/qtvstools-tutorial-qt-test-project.html and build the Application, I get the following exception from the TestAdapter:
An exception occurred while test discoverer 'QtTestDiscoverer' was loading tests. Exception: Could not load file or assembly 'System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
I use Visual Studio 2022(Version 17.12.0)
Full Output from "Tests":
========== Starting test discovery ========== Test Adapter for Google Test: Test discovery starting... Test discovery completed, overall duration: 00:00:00.0485461 Could not locate debug symbols for 'D:\Bildverarbeitung\Projekte\QTestFramework\QtTest\x64\Release\QtTest.exe'. To make use of '--list_content' discovery, ensure that debug symbols are available or make use of '<ForceListContent>' via a .runsettings file. Starting Qt tests discovery. Finished Qt tests discovery. An exception occurred while test discoverer 'QtTestDiscoverer' was loading tests. Exception: Could not load file or assembly 'System.Reflection.Metadata, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. No test is available in D:\Bildverarbeitung\Projekte\QTestFramework\QtTest\x64\Release\QtTest.exe. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again. ========== Test discovery finished: 0 Tests found in 1,3 sec ==========