IIS and Web Servers
error opening project with visual studio on windows 10
Gravatar is a globally recognized avatar based on your email address. error opening project with visual studio on windows 10
  VFPJCOOK
  All
  Dec 31, 2019 @ 08:22am

Rick,

I am trying to move all my development from a windows 7 environment to a windows 10 environment. My web service project that you helped me develop opens just fine in visual studio on my windows 7 workstation. I can not get this project to open using visual studio 15 community on my windows 10 workstation. I get the following error:

IISExpress 10 is installed on this Windows 10 workstation:

Thanks, John Bulletproof Software, Inc

Gravatar is a globally recognized avatar based on your email address. re: error opening project with visual studio on windows 10
  Rick Strahl
  VFPJCOOK
  Jan 1, 2020 @ 09:51pm

I'd recommend you install a more recent version of Visual Studio. Install Visual Studio 2019 Community and choose the .NET Framework Web Development payload with the installer. it should install IIS 10.

Otherwise you can also install IIS Express 10 manually from:

https://www.microsoft.com/en-us/download/details.aspx?id=48264

I'm not sure how VS 2015 could be installed without having IIS Express installed, unless you explicitly opted out of installing the .NET installation. AFAIK, IIS Express is installed with Visual Studio.

FWIW, I just looked at the zip file I sent you last, unzipped and opened the project without an issue on Windows 10 with VS2019 and VS2017 (by accident).

One quick thing you can try is to delete the .suo file in the root. That file holds the server configuration. It's possible that on your project that's somehow tied to an older version of IIS Express. If you delete that file, the dependency is removed and VS will adjust to whatever is available on your system.

+++ Rick ---

© 1996-2024