VS2022 WCF Website project build issues with Managed CLR assembly reference

Rajesh Thakkar 20 Reputation points

I am trying to upgrade my VS2015 WCF Website project to VS 2022. This one project does not build and the error indicates it is not able to find references from a Managed C++ CLR assembly.

Has anything changed between VS 2015 and VS 2022 as far as WCF and Managed C++ / CLR project references are concerned?


Microsoft Technologies based on the .NET software framework.
3,525 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,764 questions
0 comments No comments
{count} votes

Accepted answer
  1. QiYou-MSFT 4,311 Reputation points Microsoft Vendor

    Hi @Rajesh Thakkar

    First of all, I think you need to look at what the framework version of your project is.

    Starting with Visual Studio 2022, Visual Studio no longer includes applications for .NET Framework components for .NET Framework 4.0-4.5.1 as these versions are no longer supported. Visual Studio 2022 and later versions cannot build a . NET Framework 4.0 to Application of the NET Framework 4.5.1. To continue building these apps, you can use Visual Studio 2019 or earlier.

    Best Regards

    Qi You

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 additional answers

Sort by: Most helpful