When I compile a VSIX project in VS2022 (v4.7.2), there is an error saying .Net Core 3.1 is not supported.

Vinodkumar Napa 0 Reputation points
2023-09-25T13:51:44.0533333+00:00

Below is the step by step process

  1. Opened Visual Studio 2022 using Analyzer with code fix (.Net standard) as shown in below.

User's image

  1. After project is created, I am getting the below error as framework is not supported

User's image

  1. When I try to build the solution, then I am getting below error as Could not load assembly.

User's image

I am using v4.7.2 framework with VS 2022 version 17.6.4, I am getting these errors. But when I use VS2022 version 17.6.2 I am not seeing these errors.

I need to use v4.8 framework version in VS2022 17.6.4 version. can any one please help me to resolve the above errors?

Please redirect to the correct forum if this is not the right forum.

Thanks.

Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
227 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 29,516 Reputation points Microsoft Vendor
    2023-09-26T07:02:32.91+00:00

    Hi @Vinodkumar Napa

    Welcome to Microsoft Q&A! 

    I tested on Visual Studio Community 2022 version 17.7.3, it works normally. 

    Please open the Visual Studio Installer and update your VS2022 to the latest version.

    Then, re-launch the VS and check that the Analyzer with code fix (.NET Standard) project is created properly. 

    Sincerely,

    Anna


    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.


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.