I want to add a deployment item to my test.
My solution structure looks like this:
MySolution\
Ive tried adding a file with the following attribute:
[DeploymentItem(@"TestData\addresses.xml", " TestData")]
... that doesn't work But if I specify the path to the absuluten file, vs will copy the file.
[DeploymentItem(@"C:\Dir1\Dir2\TestData\addresses.xml", " TestData")]
source
share