<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Daniel Vasquez Lopez's Blog : mstest</title><link>http://blogs.msdn.com/danielvl/archive/tags/mstest/default.aspx</link><description>Tags: mstest</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Run MSTest.exe as a native 64-bit process.</title><link>http://blogs.msdn.com/danielvl/archive/2009/03/28/run-mstest-exe-as-native-64-bit-process.aspx</link><pubDate>Sun, 29 Mar 2009 03:38:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9516482</guid><dc:creator>Daniel Vasquez Lopez</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/danielvl/comments/9516482.aspx</comments><wfw:commentRss>http://blogs.msdn.com/danielvl/commentrss.aspx?PostID=9516482</wfw:commentRss><description>&lt;p&gt;If you need to run MS Test command line utility as a 64-bit process you need to do 2 things:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Disclaimer&lt;/strong&gt;: Be aware that this is not supported and it is under you own risk.&lt;/p&gt;  &lt;p&gt;1. Backup the MSTest.exe file first and then remove the 32-bit flag by running the &lt;a href="http://msdn.microsoft.com/en-us/library/ms164699(VS.80).aspx"&gt;CorFlags.exe&lt;/a&gt; utility as:&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; CorFlags.exe MSTest.exe /32BIT- /Force&lt;/p&gt;  &lt;p&gt;2. Run your test with /noisolation switch to run tests within the MSTest.exe process and avoid using 32-bit only VSTestHost.exe&lt;/p&gt;  &lt;p&gt;&amp;#160;&amp;#160; MSTest.exe /testcontainer:&amp;lt;your assembly&amp;gt; /resultsfile:results.trx /noisolation&lt;/p&gt;  &lt;p&gt;And optionally, if MSTest.exe fails because the 32-bit flag was modified, you may want to skip the strong name verification:&lt;/p&gt;  &lt;p&gt;reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\StrongName\Verification\MSTest,b03f5f7f11d50a3a /f&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9516482" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/danielvl/archive/tags/mstest/default.aspx">mstest</category><category domain="http://blogs.msdn.com/danielvl/archive/tags/x64/default.aspx">x64</category><category domain="http://blogs.msdn.com/danielvl/archive/tags/unit+test/default.aspx">unit test</category></item></channel></rss>