title: Why my Resharper NUnit session stops working, but works in debug mode
body: <p>I am using ReSharper to run unit tests developed in C#/NUnit. When I unit test a C++/CLI class, all my tests pass, but then the following message box pops up; "Task Runner Application has stopped working". The class I am testing does not have anything unmanaged:</p>
  
  <pre><code>    public ref class MyClass
      {    
    public:
          MyClass(        
          array&lt;double&gt;^ rawPrices,
          array&lt;DateTime&gt;^ priceDates)
      {
  // some unmanaged C++ code runs here
  } 
  (snip)
      ~MyClass()
      {
      }
  
    private:
          int numDays;
          array&lt;double&gt;^ Prices;
          array&lt;double&gt;^ Discounts;
      };
  </code></pre>
  
  <p>When all tests succeed, the message pops up. 
  However, when I switch to debugging my unit tests, the tests just succeed.
  The library I am testing is compiled in Release x64 mode.</p>
  
  <p>Does this peculiar behavior indicate that there is something wrong with MyClass?</p>