vstest.executionengine.x86.exe – Not Closing


Moved to new blog : http://gordon.31og.com/post/vstestexecutionenginex86exe—not-closing

Hi

I was getting errors that assemblies where being locked and when trying to delete them it indicated that vstest.executionengine.x86.exe had the assemblies open, for a while I was just killing the process and then running the next test run but today the TFS Build server starting giving the same issues. After some digging I found the that this had been brought to Microsoft’s attention and they say it’s by design, Response below.

ms reply for vs test execution engine

https://connect.microsoft.com/VisualStudio/feedback/details/771994/vstest-executionengine-x86-exe-32-bit-not-closing-vs2012-11-0-50727-1-rtmrel

The workaround/fix for this is to create a .runsettings xml file that has the following structure

          true

Then go to [MENU]> Test > Test Settings > Select Test Settings File

test settings menu

Browse to the settings file (I advise keeping this file either in the root of the solution or in the unit test project.

test settings select file

Lastly make sure you have killed the vstest.executionengine.x86.exe from any previous runs and from now you won’t have any locking issues.

Hope this helps =D

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s