<Target Name="SetVBRuntimePath" AfterTargets="ResolveAssemblyReferences"> <PropertyGroup> <VBRuntime Condition="'%(ReferencePath.FileName)' == 'Microsoft.VisualBasic'">%(ReferencePath.Identity)</VBRuntime> </PropertyGroup> </Target>
OK... that is completely silly stupid (talking about VS).
Suggests to add a reference to Microsoft.VisualBasic
Can't do that (errors out) since it already is referenced. Removed the reference. Repeated process.
Compiles and runs in VS2019 Preview.