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.

Failed to build OmniSharp.Abstractions

See original GitHub issue

@troydai Following our comments at https://github.com/dotnet/cli/issues/1618#issuecomment-191970379

I don’t have the DNX_UNSTABLE_FEED set on my Win10 laptop. It fully restores, but I ran into this (twice) attempting to build …

capture

capture1

[EDIT] Should I attempt to strip the dnx451 framework out of the project.json files and attempt a build on dnxcore50 or netstandardapp1.5?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
guardrexcommented, Mar 8, 2016

@troydai @hal-ler … yes … @hal-ler … thank you much … your workaround worked for me. I installed the .NET Framework from https://www.microsoft.com/en-us/download/details.aspx?id=49978

I copied the folder …

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.6.1`

to a folder called …

C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1`

The ./build.ps1 script ran to completion …

omnisharp-published-ok

My apps targeting netstandardapp1.5 (with the usual imports) are getting intellisence with the VS Code workspace setting …

"csharp.omnisharp": "C:\\omnisharp-roslyn-dev\\artifacts\\publish\\OmniSharp\\dnxcore50\\
OmniSharp.exe"

I’m good. Thanks again to both of you for your help. I plan to stop pulling down DNX runtimes now, so let me know if that’s going to be a problem.

1reaction
hal-lercommented, Mar 7, 2016

For me the original error popped up from a lack of .NET 4.5.1 Reference Assemblies on my system. One recommended solution was to install VS. I found an alternate hack, by installing: https://www.microsoft.com/en-us/download/details.aspx?id=49978 and creating a copy for 4.5.1 of the folder “C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6.1”.

Read more comments on GitHub >

github_iconTop Results From Across the Web

dotnet build keeps prompting NU1006 warning · Issue #4863
They don't fail the build. Project OmniSharp.Abstractions will be compiled because some of its inputs were newer than its oldest output.
Read more >
.NET 6 Project couldn't load since not found Microsoft. ...
I want to build a blazor sample project as below, but always build failed. ... PID: 8708. Starting OmniSharp on Windows 6.2.9200.0 (x64)...
Read more >
Unable to generate assets to build and debug. OmniSharp ...
So far I've tried unistalling VS code and the C# extention, I updated the omnisharp.path to latest at settings.json and updated the powershell ......
Read more >
OmniSharp not functioning properly in one project but is in ...
I have two identical projects that I am using to create a full stack Ember web-ui with .NET Core JSON API. I notice...
Read more >
Omnisharp with VS Code: Error, "Project Loading Failed"
After I followed his video, It fixed my loading problem. On your C# exstions under the gear pick "Extension Settings" then in 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