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
Unit tests using 3.4.1 and targeting net472 with DeploymentItem triggers a stackoverflow:
[5/28/2024 2:47:19.283 PM] [Warning] Test Run deployment issue: Failed to get the file for deployment item 'DoesNotExists': System.IO.FileNotFoundException: Could not find file 'source\repos\TestProject1\bin\Debug\net472\DoesNotExists'.
[5/28/2024 2:47:23.241 PM] [Error] The active test run was aborted. Reason: Test host process crashed : Process is terminated due to StackOverflowException.
Steps To Reproduce
Create a new test project in a new solution targeting net472 and add a Deployment Item attribute
Expected behavior
Test should pass
Actual behavior
Test cannot be executed
Additional context
Cannot be reproduce in command line, only in Visual Studio 17.10.0 (didn't try other versions)
The text was updated successfully, but these errors were encountered:
fforjan
changed the title
MSTest 3.4.1 does not work with .net472 AND when using deployment item
MSTest 3.4.1 does not work with .net472 AND when using deployment item when running from Visual Studio
May 28, 2024
Describe the bug
Unit tests using 3.4.1 and targeting net472 with DeploymentItem triggers a stackoverflow:
Steps To Reproduce
Create a new test project in a new solution targeting net472 and add a Deployment Item attribute
Expected behavior
Test should pass
Actual behavior
Test cannot be executed
Additional context
Cannot be reproduce in command line, only in Visual Studio 17.10.0 (didn't try other versions)
The text was updated successfully, but these errors were encountered: