rror BC2017 could not find library

Simon 286 Reputation points
2023-02-28T20:22:00.41+00:00

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'

VB
VB
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
    2023-03-01T02:07:24.55+00:00

    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