Updating Service Reference lost some proxy/client code in Visual Studio 2022

Xiaorong 0 Reputation points
2024-05-06T06:45:22.4766667+00:00

There was a WCF service which could work as expected with VS2019.

Using Visual Studio 2022, after click "update Service Reference", there are a lot of reference errors. It seems that it lost some proxy/client code for a WCF service residing in a different project in the same Visual Studio solution.

But this works fine if I use Visual Studio 2019.

Both projects--the one where the WCF service resides and the one where I'm trying to create the client/proxy--are .NET Framework 4.8.

Note: If upgrading the same service again with VS2019, the reference errors will no longer occur.

Developer technologies Visual Studio Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.