title: How to distinguish between VS build and csc.exe build?
body: <p>We have two ways to run tests on our product. One is local (using <code>MsTest</code> and VS) and the other is using a distant machine (let's call it M). When uploading the code to M, M uses a batch script to generate configuration classes from xml files (which are kept in M) and builds the product using csc.exe. When running tests from the local machine, the xml files aren't used, instead the configuration is taken from in memory classes. This means that we have to make changes to the code each time depending on where we want to run the tests - inherit from different configuration classes (in memory configuration class or external configuration class).</p>
  
  <p>Therefore, is there any way to know at run time if the SW was built using VS or a <code>.cmd</code> script?</p>