Could not find standard library: '<filename>'
Visual Basic is unable to find or open one of the standard DLL libraries needed for compilation and linking.
The unusable library is most likely to be either mscorlib.dll or microsoft.visualbasic.dll.
By default, this message is a warning. For information on hiding warnings or treating warnings as errors, see Configuring Warnings in Visual Basic.
Error ID: BC40049
To correct this error
Verify that the file cited in the error message is present on the hard disk from which you are running Visual Basic. Normally the standard libraries should reside in a subdirectory under \WINNT\Microsoft.NET\Framework or \WINDOWS\Microsoft.NET\Framework.
Verify that neither the file nor the directory has a setting or attribute that prevents read access by Visual Basic.
Verify that the file name and extension are spelled correctly. Capitalization is not a concern.
If the file appears to be properly placed and accessible, it might be corrupted on the disk. Reinstall Visual Basic if possible.
Note the exact file name and extension and contact Microsoft Product Support Services.
See Also
Tasks
How to: Invoke the Command-Line Compiler
Concepts
Technical Support Options for Visual Studio