question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't build omnisharp-roslyn for vim on Windows 10

See original GitHub issue

After running build.ps1 , the script tried to download dotnetCoreSdk but it is already installed

PS C:\Program Files\dotnet\sdk> dir


    Directory: C:\Program Files\dotnet\sdk


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
da----        7/31/2017  11:57 AM                1.0.0
da----        8/13/2017  10:07 AM                1.0.4
da----        8/15/2017   2:03 AM                1.1.0
da----        8/14/2017  11:14 PM                2.0.0
da----        8/12/2017   4:16 PM                2.0.0-preview2-006497
d-----        8/14/2017  11:18 PM                NuGetFallbackFolder

full error log -

PS C:\Users\ratanparai\vimfiles\plugins\bundle\omnisharp-vim\omnisharp-roslyn> .\build.ps1
Preparing to run build script...
Running build script...
Analyzing build script...
Processing build script...
Installing addins...
Compiling build script...
Current platform: Windows (x64)

========================================
Cleanup
========================================
Executing task: Cleanup
Finished executing task: Cleanup

========================================
ValidateMono
========================================
Skipping task: ValidateMono

========================================
InstallDotNetCoreSdk
========================================
Executing task: InstallDotNetCoreSdk
dotnet-install: Downloading https://dotnetcli.azureedge.net/dotnet/Sdk/1.0.4/dotnet-dev-win-x64.1.0.4.zip
Failed to download https://dotnetcli.azureedge.net/dotnet/Sdk/1.0.4/dotnet-dev-win-x64.1.0.4.zip.
At C:\Users\ratanparai\vimfiles\plugins\bundle\omnisharp-vim\omnisharp-roslyn\.dotnet\dotnet-install.ps1:159 char:13
+             throw $ErrorMsg
+             ~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Failed to downl...-x64.1.0.4.zip.:String) [], RuntimeException
    + FullyQualifiedErrorId : Failed to download https://dotnetcli.azureedge.net/dotnet/Sdk/1.0.4/dotnet-dev-win-x64.1.0.4.zip.

An error occurred when executing task 'InstallDotNetCoreSdk'.
Error: Failed to Install .NET Core SDK 1.0.4

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
filipwcommented, Feb 7, 2020

OmniSharp VIM has moved to consume binaries instead of using the submodule approach so I will close this as not applicable anymore.

1reaction
idbriicommented, Apr 3, 2018

Have you tried downloading a release instead of compiling? https://github.com/OmniSharp/omnisharp-roslyn/releases

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue getting omnisharp-vim to run omnisharp-roslyn on ...
I am trying to get Omnisharp-vim up and running in gvim 8.1 (x64) on Windows 8.1. I used vundle to install omnisharp-vim initially...
Read more >
OmniSharp/omnisharp-vim
OmniSharp -vim is a plugin for Vim to provide IDE like abilities for C#. OmniSharp works on Windows, Linux and MacOS. The plugin...
Read more >
Can't build omnisharp-roslyn for vim on Windows 10
After running build.ps1 , the script tried to download dotnetCoreSdk but it is already installed. PS C:\Program Files\dotnet\sdk> dir ...
Read more >
OmniSharp-VIM, OmniSharp-Roslyn, and dotnet core on ...
I've painstakingly installed Omnisharp-vim and set it to work with the OmniSharp-Roslyn server. I also have Syntastic and YouCompleteMe ...
Read more >
Making C# and OmniSharp play well with Neovim
As it turns out, however, the issue is actually with Roslyn itself, not OmniSharp. There are tickets on both the Neovim and the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found