-
Notifications
You must be signed in to change notification settings - Fork 682
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
the extern alias 'XXX' was not specified in a /reference option #2342
Comments
Thanks! I believe the issue here is that extern alias support needs to be added to the OmniSharp server (https://github.com/OmniSharp/omnisharp-rolsyn). We'll take a look. |
Is there any update here? I have a project I'm trying to port from VS to VSCode, but it uses extern aliases and reference aliases in the csproj files, but I'm getting the same "problems" in vscode since it doesn't use the alias. |
fixed in OmniSharp/omnisharp-roslyn#1409 |
Is this live in the omnisharp VS Code extension yet? I'm still having this issue.1.17.1 |
@josegomez The C# extension hasn't pulled in that build of omnisharp yet, but you can try it out by setting the value of the option |
This is live in 1.19.0. |
In 1.20.0 this issue still happened. |
Environment data
dotnet --info
output:VS Code version:
Version 1.23.1
Commit d0182c3417d225529c6d5ad24b7572815d0de9ac
Date 2018-05-10T17:11:17.614Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64
C# Extension version: 1.15.2
Steps to reproduce
extern alias test;
using test::B;
Expected behavior
I expect the project to compile, or not show any compiler warnings. it works in visual studio w/out any issues
Actual behavior
i get 2 errors:
The text was updated successfully, but these errors were encountered: