Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2019 - Incompatible The application which this project type is based on was not found

After installing Visual Studio 2019 (previously I had 2017), some Web projects appear as

"Incompatible"

The application which this project type is based on was not found.

It still works on 2017 but I haven been able to figure out why I am getting this error.

Project type:

Web Site    {E24C65DC-7377-472B-9ABA-BC803B73C61A}

If I launch the VS Installer and install or uninstall any component and then open VS 2019 and my solution it loads fine WebSite and I can run it. If I close it and reopen it a 2nd time it becomes incompatible again.

Does anyone had the same issue?

like image 319
Dalorzo Avatar asked Jun 05 '19 17:06

Dalorzo


People also ask

How do you resolve an incompatible issue in Visual Studio?

The fix was to right click on the "incompatible" project on the Solution Explorer and select "Reload Project". Fixed it immediately.


1 Answers

I found the answer to this issue.. It has to do with the

*.user files.

In order to resolve the problem:

  • I searched for all the files in the project directory with extension *.user
  • and I removed them all
  • last I reloaded the projects

And this fixed my problem.

like image 193
Dalorzo Avatar answered Sep 22 '22 19:09

Dalorzo