I am trying to compile VB code using Roslyn. Some of the files use My reference like:
My.Computer.FileSystem.FileExists(ExtraPath)
While compiling code I am getting the error:
error BC30456: 'Computer' is not a member of 'My'.
I am not exactly sure what I am missing. I did create a MetaDataReference
to Microsoft.VisualBasic.dll
.