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
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
{count} votes

Your answer

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