-
Notifications
You must be signed in to change notification settings - Fork 284
Closed
Labels
Area: MSTestIssues with MSTest that are not specific to more refined area (e.g. analyzers or assertions)Issues with MSTest that are not specific to more refined area (e.g. analyzers or assertions)
Milestone
Description
- Extract the sample project.
- Navigate to the project directory.
- Compile the project:
"c:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\MSBuild.exe" /m /restore /p:Configuration=Debug;Platform=x64
- Run the tests:
"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\Extensions\TestPlatform\vstest.console.exe" x64\Debug\NativeTest.dll /TestAdapterPath:x64\Debug
- Observer the execution error:
An exception occurred while invoking executor 'executor://mstestadapter/v4': Could not load file or assembly 'file:///x64\Debug\NativeTest.dll' or one of its dependencies. The module was expected to contain an assembly manifest.
Change MSTest.Sdk version in ManagedTest.csproj to 3.10.1 and repeat the steps. Tests execute with no errors.
Metadata
Metadata
Assignees
Labels
Area: MSTestIssues with MSTest that are not specific to more refined area (e.g. analyzers or assertions)Issues with MSTest that are not specific to more refined area (e.g. analyzers or assertions)