Convert Project to Test Project
I have a seperate project that just contains NUnit tests that i have converted the syntax to VSTS unit tests. The tests won't show up in the test manager however. Do I have to recreate the project as a Test project? How can I convert it?
While this is unsupported, and not something we recommend doing, you can try the following:
1: Open the Project file you wish to convert in notepad (or your favourite text editor)
2: Paste the following line in the <PropertyGroup> that contains <AssemblyName> etc:
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
3: Save the file
4: Open in Visual Studio.
Your project should now be a test project.
These GUIDs identify the project type to VS under the covers.
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{F184B08F-C81C-45F6-A57F-5ABD9991F28F}</ProjectTypeGuids>
Thats what I have in the VB Test project I just created.