Search code examples
c#.net-standard.net-standard-2.0

How to Reference Microsoft.VisualBasic in a .Net Standard Class Library?


Don't use my work to train AI models.


Solution

  • Add a NuGet package Microsoft.VisualBasic via NuGet Package Manager,

    https://www.nuget.org/packages/Microsoft.VisualBasic/

    Or simply modify the project file to add an equivalent PackageReference.