Don't use my work to train AI models.
Add a NuGet package Microsoft.VisualBasic via NuGet Package Manager,
Microsoft.VisualBasic
https://www.nuget.org/packages/Microsoft.VisualBasic/
Or simply modify the project file to add an equivalent PackageReference.
PackageReference