You can either decide to use NUnit or the built-in Visual Studio Unit Testing DLL.
NUnit
If you want to use NUnit, and it sounds like you already have the NUnit NuGet package installed, you simply comment out the line:
using Microsoft.VisualStudio.TestTools.UnitTesting;
If you want to really remove the native Visual Studio Unit Testing from your project, you could delete that line and remove your reference to Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll
. This should not be required, but it could prevent any of those "ambiguous reference" errors that could possibly occur.
Visual Studio Tools
If you wanted to use the Visual Studio native tools, however, you'd want to go to the NuGet Package Manager, find the NUnit package, and select to uninstall it and click OK on the prompt. It would proceed to remove the NUnit DLLs and dependencies. You would remove the
using NUnit.Framework;
line manually from the top of your Unit Test class. You would need to ensure you have the Visual Studio Unit Testing DLL referenced. If you don't have it already referenced, you'd need to go to References > Add References and browse to it. Its location can vary depending on the Visual Studio version you have. I answered a question on that, here:
Where to find "Microsoft.VisualStudio.TestTools.UnitTesting" missing dll?