Hi,
The issue was caused due to the missing 3rd-party DLL's in the path envionment variable.
Thanks
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Setup:
I work in a large project with over 70 sub-projects. The output directories of the individual DLL's are different.
Now when I want to run UnitTests, the required DLL's are not found and I get the error Failed to set up the execution context to run the test.
When i start the test DLL via
call "C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvars64.bat"
set PATH=%PATH%;C:\some\thing\aLib;C:\some\thing\\else\aOtherLib; .....
vstest.console.exe C:\path\to\my\TestLibrary.dll
then the test execution is fine, but not visible in TestExplorer.
Can someone help how i could make the setup to run my tests from Test Explorer ? Is it possible to set the environment variables in the test explorer?
Thanks for ur help!
Hi,
The issue was caused due to the missing 3rd-party DLL's in the path envionment variable.
Thanks