Open
Description
"Could not be found" is clear enough. But why is the compiler looking for the missing file at all? Where is it referenced? Clicking on the error message does not highlight any line of code. In my case, the file has been excluded from the project intentionally. The File column shows "vbc" which means nothing to me.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 4f367c8-35c2-637f-cfa9-0c9ae23096ee
- Version Independent ID: 4f2f7437-faae-bfee-e078-42daa0c12138
- Content: File <filename> could not be found - Visual Basic
- Content Source: docs/visual-basic/misc/bc2001.md
- Product: dotnet-visualbasic
- Technology: vb-diagnostics
- GitHub Login: @KathleenDollard
- Microsoft Alias: kdollard