Can't install Microsoft.VisualStudio.Web.CodeGeneration.Design because it requires Microsoft.CodeAnalysis.Elfie?

Terry Poupart 0 Reputation points
2023-07-04T14:54:35.19+00:00

How can I get 'Microsoft.CodeAnalysis.Elfie.nupkg'?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,356 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    3 deleted comments

    Comments have been turned off. Learn more

  2. Anna Xiu-MSFT 30,791 Reputation points Microsoft Vendor
    2023-07-05T10:14:17.3333333+00:00

    Hi @Terry Poupart

    Welcome to Microsoft Q&A! 

    Which version of Visual Studio are you using? what is your project’s target framework? 

    I tested on VS 2022 Community version 17.6.4.

    I can successfully install the Microsoft.VisualStudio.Web.CodeGeneration.Design

    package and Microsoft.CodeAnalysis.Features package

    by right-clicking on Project > Manage NuGet Packages

    And the Microsoft.CodeAnalysis.Elfie package can be installed as a dependency.

    User's image

    It is noted that the Microsoft.CodeAnalysis.Elfie package can’t be installed separately for now. 

    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.