How to get an xml file when running mstest

Posted by devlife on Stack Overflow See other posts from Stack Overflow or by devlife
Published on 2010-03-24T02:59:31Z Indexed on 2010/03/24 3:03 UTC
Read the original article Hit count: 350

Filed under:
|

I have a class which loads an xml file using the following:

Path.Combine( AppDomain.CurrentDomain.BaseDirectory, "Xml", documentName );

The documents that are being loaded are set to copy to the output directory. However, when I run mstest the xml file is not being copied to the BaseDirectory.

Does anyone have any idea how I can accomplish this?

© Stack Overflow or respective owner

Related posts about mstest

Related posts about Xml