I had the same problem because when I was creating a project, I chose a type of project "Unit test project" in VS 2019. When I tried to create a project of type "NUnit test project" - this problem was solved. Maybe my new experience will help to someone.