views:

10

answers:

0

Hi,

This is confusing me endlessly.

I have an C# Unit Test project with some C# unit tests and some folders with content files (eg. sample data, captured xml messages)

The Build Action on these content files is set to Content.

I have done this in the past (VS2005?) and this has worked for me numerous times, the files used to be copied to the *TestResults[user]_[machine] [data and time]\Out* folder. The code in the Test could read the file and run with it.

This is however no longer working in a project that I have inherited and is in VS2008. I have already looked at the Test Run Configuration (localtestrun.testrunconfig file) and have played with the Deployment setting. Enabling or disabling does not seem to make a difference.

How can I get my Content files from my test project back into the TestResults folders?