In Development
Last Updated: 13 May 2021 07:49 by ADMIN
Benjamin
Created on: 12 May 2021 11:47
Type: Bug Report
0
Long file names lead to AccessViolationException

Using elevated mocking mode (profiler enabled) with long path names for the test containers (above 260 characters) causes the following command:

dotnet test

to fail with error:

Testhost process exited with error: Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at Microsoft.VisualStudio.TestPlatform.TestHost.Program.Main(System.String[])
. Please check the diagnostic logs for more information.

Test Run Aborted.

0 comments