Omnisharp doesn't start up when c# project is in OneDrive folder with "File On-Demand" on
See original GitHub issueEnvironment data
dotnet --info
output: 2.0.2
VS Code version: 1.17.2
C# Extension version: 1.12.1
Windows Version: Windows 10 1709 (OS Build 16299.19) It has a new OneDrive feature “File On-Demand”
Steps to reproduce
- Close all VS Code windows/applications if any.
- Make sure the OneDrive Setting “Files On-Demand” is on.
- Create a simple “Hello World” console app in OneDrive folder:
dotnet new console
- Open the new created project in VS Code, open “Program.cs” file
Expected behavior
OmniSharp should start up.
I moved the “HelloWorld” project out of OneDrive folder, then it worked.
Actual behavior
OmniSharp doesn’t start up.
Visual Studio 2017 has similar problem when a project is in OneDrive folder no matter if “File On-Demand” is on or off. I guess Omnisharp would not start up as long as the project is in OneDrive folder even if “File On-Demand” is off.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:10 (3 by maintainers)
Top Results From Across the Web
C# intellisense not working in VS Code
In latest Windows 10 release, the C# plugin can't start up when a project resides in a OneDrive folder with "File On-Demand" feature...
Read more >github - Franky's Notes
This portal is a open-source project that has been announced a few weeks ago. In this post, I will share my first impressions...
Read more >Front-end Development with ASP.NET Core, Angular, and ...
NET Core Startup Class. 14. New Fundamental Features of ASP.NET Core. 15. Environments. 15. Dependency Injection. 17. What Is Dependency Injection?
Read more >Search Results for "g-code"
Fira Code is a free and open source monospaced font containing programming ligatures for the most commonly-used multi-character combinations in programming.
Read more >Could not find a part of the path \roslyn\csc.exe
Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same on my end, vscode x64 1.18.0
i’m having this problem right now; when I open the solution with VSCode on Ubuntu, Omnisharp doesn’t start, but when I do it on Windows, it works
edit: holy hell, i just figured that this configs on the settings of VSCode were making Omnisharp not working: