-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C# support not working after C# extension installed #114
Comments
From @Tyriar on March 20, 2016 2:18 Did you install the C# extension? https://code.visualstudio.com/Docs/languages/csharp#_installing-c35-support |
From @Leocrespo on March 20, 2016 2:23 Yes it's installed |
From @Tyriar on March 20, 2016 2:28 @Leocrespo and was vscode restarted after it was installed? |
From @Leocrespo on March 20, 2016 2:30 Yes of course. Have you tried downloading the file and opening it, I'm sure there won't be any intellisense. |
From @Tyriar on March 20, 2016 2:40 Works fine for me. I'm on Windows 10 and had VS2015 installed before VSCode. I haven't actually used the C# support before, one of the other devs might be able to help you out beyond this point. |
From @Leocrespo on March 20, 2016 2:48 |
From @Tyriar on March 20, 2016 3:6 @Leocrespo this might resolve your issue http://stackoverflow.com/a/29979730/1156119 |
From @Leocrespo on March 20, 2016 3:14
|
From @Leocrespo on March 20, 2016 3:24 All I want is to have basic intellisense on the file I posted, just as I do when I open it with VS. So I created a solution in VS2015. then opened everything with VSCode and still no intellisense. |
From @Tyriar on March 20, 2016 7:33 Visual Studio can generate sln files as you mention, VSCode cannot. VSCode typically relies on external tools or extensions for that kind of project scaffolding. As for the So once the .NET Core is installed, you should be able to run this to generate a project.json:
And then this to run your application:
When coming back to VSCode I ran into this OmniSharp issue related to VSCode not being able to find the globally installed dnx runtime microsoft/vscode#126 (comment) Not sure why open folder is not there, it always has been for me (I don't use OSX though). You can always run the command from the command palette:
|
From @pflannery on March 20, 2016 17:29 @Leocrespo just want to point out that the example you show here would never work as your trying to write the script in the c# class root scope. Try this example project in vscode https://github.com/dotnet/core/tree/master/samples/helloworld run i'm running vscode 0.10.11 |
@Leocrespo There is a Omnisharp log file (Cmd+L,L) Please paste its contents here. |
invalid C# code as outlined here: #114 (comment) |
It's 2 steps to reproduce there error: If you guys don't get it, never mind, I'm not with patience to explain. Good luck with your "editor". |
This is a duplicate of #47 |
I had this issue on OSX. My log file shows:
After finding this issue, the problem was solved this by installing the mono runtime with
|
This is a duplicate of #47, which was filed by the same customer. |
From @Leocrespo on March 20, 2016 2:15
Steps to Reproduce:
If it doesn't have intellisense, it's not an editor. Might as well use textedit.
Copied from original issue: microsoft/vscode#4467
The text was updated successfully, but these errors were encountered: