Untitled

Random thoughts about everything and nothing

TFS – How to switch between a ‘normal’ and a ‘test’ project

leave a comment »

How can we switch between a ‘normal’ project (eg. library project) and a vsts ‘test’ project?

From Test-to-Normal:
1. Open the project file (eg. .csproj) in a text editor (or unload and edit in vs.net);
2. Remove the ‘{3AC096D0-A1C2-E12C-1390-A8335801FDAB}’ GUID from the ‘ProjectTypeGuids’ element {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
or remove element’ProjectTypeGuids’ completly.
You can find this element under ‘Project\PropertyGroup’;

From Normal-to-Test
1. Open the project file in a text editor;
2. Add the following element to the ‘Project\PropertyGroup’:
{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
3. Put a reference to ‘Microsoft.VisualStudio.QualityTools.UnitTestFramework’;

Advertisements

Written by Michael

July 27, 2006 at 6:19 am

Posted in .NET, VSTS

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: