locked
How do I create a Generic Test Case in VS 2008 Developer? RRS feed

  • Question

  • I have a Generic Test Case developed in VS 2010 that I need to be able to run under VS 2008.

    How do I create a Unit Test that will invoke the main() of the .exe file?

    Wednesday, May 4, 2011 4:12 PM

Answers

  • Hi,

    I dont think 2020 mstests can run with 2008 mstest command.

    For creating a unti test for Main, you can call it my ClassName.Main() in your unit test since Main is a static method.

    Thanks,

    Anuj

    Thursday, May 5, 2011 1:56 AM