rror BC2017 could not find library

Simon 286 Reputation points

The project that I am having an issue with is used with VB.Net 2019.

(I have installed in my computer VB 2022 as well).

The following error has come up today, which I have never had before, and I don't understand, what caused it.

Error BC2017 could not find library '..\packages\Microsoft.CodeAnalysis.Analyzers.1.1.0\analyzers\dotnet\vb\Microsoft.CodeAnalysis.Analyzers.dll'

Error BC2017 could not find library '..\packages\Microsoft.CodeAnalysis.Analyzers.1.1.0\analyzers\dotnet\vb\Microsoft.CodeAnalysis.VisualBasic.Analyzers.dll'

An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,662 questions
{count} votes

Accepted answer
  1. Jiachen Li-MSFT 28,946 Reputation points Microsoft Vendor

    Hi, welcome to Microsoft Q&A.

    You can try install Microsoft.CodeAnalysis.Analyzers and Microsoft.CodeAnalysis.VisualBasic in Nuget Package Managment.

    User's image

    Best Regards.
    Jiachen Li
    If the answer is helpful, please click "Accept Answer" and upvote it.
    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 comments No comments

0 additional answers

Sort by: Most helpful