6

I have some class libraries with NUnit tests, and I want to convert the project to use the VS 2008 MsTest integration. (Right click add test etc.)

Is there and easy way to convert or do I need to edit the csproj manually.

Thanks

Ryu
  • 8,641
  • 10
  • 65
  • 98
  • Related post - [How to convert an existing assembly to a ms unit test assembly?](https://stackoverflow.com/q/3012571/465053) – RBT Feb 24 '21 at 08:04

1 Answers1

22

Add the following to the property group in the csproj file

<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
Ryu
  • 8,641
  • 10
  • 65
  • 98