You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A test with a DeploymentItem attribute does not work.
Steps to reproduce
Add a "DeploymentItem" on a test method with a resource file to deploy.
Run the test.
Expected behavior
The test should drop all the binaries to the deployment directory and run tests.
Actual behavior
The tests do not run with the following message in the "Tests" tab:
An exception occurred while invoking executor 'executor://mstestadapter/v2': Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Environment
VS IDE. Works fine from commandline.
MSTest.TestFramework 1.1.11
MSTest.TestAdapter 1.1.12
The text was updated successfully, but these errors were encountered:
Adding the following line on the test class having the deployment item test is a workaround: [DeploymentItem("Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll")]
* Add multiple sign tasks for each platform.
* Fix path to Microsoft.TestPlatform.Build for signing.
* Add script to verify signing.
* Add quality tools files regex.
* Write to stderr on failure.
* Add datacollector executables to assemblies pattern.
* Make certificate a parameter to verify script.
* Add signing for datacollector assemblies. Mark assembly as signed if they are signed with prod certs.
* Add desktop trxlogger to sign assemblies.
Description
A test with a DeploymentItem attribute does not work.
Steps to reproduce
Expected behavior
The test should drop all the binaries to the deployment directory and run tests.
Actual behavior
The tests do not run with the following message in the "Tests" tab:
Environment
VS IDE. Works fine from commandline.
MSTest.TestFramework 1.1.11
MSTest.TestAdapter 1.1.12
The text was updated successfully, but these errors were encountered: