Project default is not found

Asked

Viewed 80 times

1

I went to install a Nuget package and gave error Project default is not found. Well, I went to ComboBox Default Project to add the project I want to install the package and Combo does not list anything, It is empty. How do I get projects to appear there? I only have two projects, a SPA that is my startup and a Class Library called Domain. It is in the Domain that I want to install the package(FluentValidation).

  • 1

    It’s not just selecting the project from the Package Manager console?

  • @Georgewurthmann, how do I do it? The combo is empty.

  • If you have the solution open just go on Package Manager Console that will appear all projects in the combo Default project. If you have Solution open and don’t show up you have some problem there.

  • But that’s exactly what I’m posting, nothing appears.

1 answer

1

The nuget installed is compatible with the project?

Check which version of Nuget is installed in your project and which frameworks support it. After that follow the steps below to see if you can solve it:

  • Right-click on the project name in the dashboard Solution Explorer > Estates.
  • In the guide Application, change the framework for a newer version (which supports the Nuget version).
  • Close and try again.

Also check that the project name is not too long, it seems that this may also cause the problem.

  • 1

    aeu had two VS open, because it needed the other to understand the DDD model.Well, I closed this one and it still didn’t run. I closed everything, I restarted and when climbing the VS worked. I do not know what happened.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.