Can't open ASP.Net SOAP Service in VS2022

Terry Wight 1 Reputation point
2022-07-27T16:40:44.713+00:00

I need to work on an old VS2003 Solution with a SOAP ASP.Net Web Service and its class library. When I try to open the solution with VS2022 it will not load the projects. The errors are as follows:

D:\Git\API1.0\SOAP.Order_WS\SOAP.Order_WS.vbproj : error : The imported project "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VisualStudio\v14.0\WebApplications\Microsoft.WebApplication.targets" was not found. Also, tried to find "Microsoft\VisualStudio\v14.0\WebApplications\Microsoft.WebApplication.targets" in the fallback search path(s) for $(MSBuildExtensionsPath32) - "C:\Program Files (x86)\MSBuild" . These search paths are defined in "C:\Users\TWight\AppData\Local\Microsoft\VisualStudio\17.0_20148a73\devenv.exe.config". Confirm that the path in the <Import> declaration is correct, and that the file exists on disk in one of the search paths. D:\Git\API1.0\SOAP.Order_WS\SOAP.Order_WS.vbproj

D:\GIt\API1.0\OrderService.APIRedirects\APIRedirects.vbproj : error : The imported project "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VisualStudio\v14.0\WebApplications\Microsoft.WebApplication.targets" was not found. Also, tried to find "Microsoft\VisualStudio\v14.0\WebApplications\Microsoft.WebApplication.targets" in the fallback search path(s) for $(MSBuildExtensionsPath32) - "C:\Program Files (x86)\MSBuild" . These search paths are defined in "C:\Users\TWight\AppData\Local\Microsoft\VisualStudio\17.0_20148a73\devenv.exe.config". Confirm that the path in the <Import> declaration is correct, and that the file exists on disk in one of the search paths. D:\Git\API1.0\OrderService.APIRedirects\APIRedirects.vbproj

I've looked for information on how to load the MSBuild dependencies, but have had no luck.

I've looked for articles on how to open VS2003 solutions with VS2022, and came up empty.

Is there a way to get these projects to load so I can make changes and recompile and deploy or will I have to try to install an old VS2003 or 2008 version?

TIA

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,243 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,563 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
961 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,815 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Terry Wight 1 Reputation point
    2022-07-27T18:26:44.413+00:00

    I was able to solve this problem by installing Visual Studio 2015 Enterprise with Update 3

    This seems to have provided the necessary dependency, although the file listed in the error message ("C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VisualStudio\v14.0\WebApplications\Microsoft.WebApplication.targets") still does not exist on my system. Very strange.

    0 comments No comments