Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Invalid reference option: 'symbol' — cannot reference directories
The compiler detected an attempt to specify a directory rather than a specific file. For example, when you use the References compiler option, you must specify a file; it is not possible to specify a directory.
For example, passing /reference:c:\ to the compiler would generate CS1541.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.