1

I have a project targeting .NET 5 asp.net Core in VS 2019.

I keep seeing reference to a project type that seems to be missing from my instance, "MSTest Test Project (.NET Core)"

The previous .NET project type isn't compatible with Core.

Is there a something specific in the VS install I need to go back and select?

3
  • I can't really tell what it is you're asking. Is your main project trying to reference MSTest in some way? MSTest is a nuget package. You should only need to have this nuget included in your Test Project. Commented Sep 18, 2021 at 21:26
  • Can't you find the library? You can refer to this: stackoverflow.com/questions/64874414/… Commented Sep 20, 2021 at 8:10
  • In VS, Add Project, the "MSTest Test Project (.NET Core)" project type is missing. Commented Sep 20, 2021 at 18:55

1 Answer 1

0

Well, apparently they just renamed it.

Starting in Visual Studio 2019 version 16.9, the MSTest project template name changed from MSTest Unit Test Project (.NET Core) to Unit Test Project.

Found at

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.