Posted on November 2nd, 2009%
I’ve recently started working with Outlook Redemption, an excellent alternative to direct MAPI calls. Some of the other devs on my team wrote some libraries that use it, complete with unit tests. All the code and unit tests run fine on my machine (VS2008, 64-bit Windows).
/”\
|\./|
| |
| |
|>~<|
. . .
→ Read More: The Visual Studio hosting process and 64-bit Windows
Posted on December 29th, 2008%
MSTest, Microsoft’s unit-testing framework, has the ability to deploy files to a predefined test directory via the [DeploymentItem] attribute. The documentation, however, includes this vague reference:
[DeploymentItem("file1.xml")] Deploys an item named file1.xml located at the RelativeRootPath. The file is deployed to the deployment root directory.
[DeploymentItem("file2.xml", "DataFiles")] Deploys an item named file2.xml located at the RelativeRootPath. The file is deployed to the DataFiles subdirectory of the deployment root directory.
Sounds good, but what is RelativePathRoot? It wasn’t easy to find out, but eventually I came across a post on the MSDN forums, which stated:
… it is simply the directory of the solution containing your test project.
Hmm… This is great, so long as your test project only exists in one solution — or, if in multiple solutions, all solutions are in the same . . .
→ Read More: MSTest, DeploymentItem, and the frustrating RelativePathRoot setting