deploymentitem Questions

4

Solved

I am using MS unit testing framework for testing my C# library. I have to open a file which I'm deploying using DeploymentItem attribute. But it is not deploying file to the Test deployment directo...

3

Solved

Using MSTest, what is the relative path root of the DeploymentItemAttribute.
Aufmann asked 30/11, 2009 at 21:45

20

Solved

I'm currently maintaining an "old" system written in C# .NET, removing some obsolete features and doing some refactoring. The previous guy wrote some unit tests (MSTests). I quite comfort...
Joanne asked 19/5, 2009 at 14:55

7

Solved

I can't seem to grasp how MSTest deployment items are supposed to be configured. I have been able to get them working properly by modifying the project's test settings file, but this is less then i...
Haymaker asked 17/9, 2010 at 20:32

2

Solved

I want to use a static variable as the parameter to DeploymentItem on an MSTest unit test but it doesn't seem I'm able to do so. There's an XSL file that needs to be copied along with the DLL file ...
Disposal asked 25/1, 2010 at 16:44

4

Solved

I'm having trouble getting an XSL file to be copied to the same directory as the test assembly when I use the DeploymentItem attribute on an MSTest unit test. I followed the chosen answer for this ...
Fuscous asked 25/1, 2010 at 17:16

1

Solved

I have some data driven unit tests that were working just fine in Visual Studio 2010. These tests were implemented using the following pattern. [TestMethod()] [DeploymentItem("path_to_data_dir_rel...

1

Solved

I want to deploy all files in folders which are in a directory within a unit-test. To deploy eacht item through the DeploymentItem-Attribut is too much. I tried something like [DeploymentItem(".\...
Eggnog asked 13/3, 2013 at 11:22

2

I have a VS2010 solution that I'm trying to upgrade to VS2012. I'm having a problem with the MSTest unit tests in VS2012. All of the tests include DeploymentItem attributes on the test class. [Te...
Sommelier asked 26/8, 2012 at 17:9

1

Solved

I want to add a deployment item to my test. My solution structure looks like: MySolution\ -- TestData\ --addresses.xml -- ProjectName.TestProject\ --Internal\ --MyTestClass.cs I’ve tried to...
Notable asked 24/1, 2013 at 12:11
1

© 2022 - 2024 — McMap. All rights reserved.