A co-worker who is using VB.NET has not been successful in executing VBC because the LIBPATH argument value that he needs to use is a directory name that contains spaces. He has tried quoting the directory name, but gets a compiler error. (Samples are below.)
There is the possible solution of re-enabling 8.3 filenames on his computer and using the 8.3 name as the argument value, but... Is there a more reasonable alternative?
-
vbc /t:module /libpath:C:\Program Files\Common Files\GAC\ ...
results in Fatal error BC2000 : compiler initialization failed unexpectedly: The system cannot find the file specified.
vbc /t:module /libpath:"C:\Program Files\Common Files\GAC\" ...
results in Command line error BC2008 : no input sources specified
There is the possible solution of re-enabling 8.3 filenames on his computer and using the 8.3 name as the argument value, but... Is there a more reasonable alternative?
-
vbc /t:module /libpath:C:\Program Files\Common Files\GAC\ ...
results in Fatal error BC2000 : compiler initialization failed unexpectedly: The system cannot find the file specified.
vbc /t:module /libpath:"C:\Program Files\Common Files\GAC\" ...
results in Command line error BC2008 : no input sources specified