Can't use connected service in Visual Studio 2019

I'm trying to update my service references in a .net framework project. I can't do it anymore and I get an error saying:

The current project does not support service reference

I've always been able to do this until today. This seems to be a problem only in vs2019 as I'm not experiencing this in vs2017.

I've tried restarting the program multiple times to no avail. When trying to add new service references I get the error:

No Connected Service is supported for the current project type.

The project is a class library in 4.6.2

Upvotes: 1

Views: 6387

Answers (1)

Mrpit
Mrpit

Reputation: 111

As you've seen, you need to install .NET Framework 4.6.2 to open corresponding project. You can install it directly inside VS installer via:

  1. Open VS installer (search installer in windows start)

  2. Click Modify of your installed VS

  3. Switch to 'Individual components'

  4. Under node '.NET', select ".NET Framework 4.6.2 SDK" and ".NET Framework 4.6.2 targeting pack"

  5. Click 'Modify'

enter image description here

You can re-open the solution after this installation.

Upvotes: 3

Related Questions