OmniSharp / omnisharp-atom

Omnisharp support for the atom editor
https://atom.io/packages/omnisharp-atom
MIT License
318 stars 61 forks source link

Unresolved dependencies #414

Open AlexZeitler opened 9 years ago

AlexZeitler commented 9 years ago

On Ubuntu, I cloned this GH repo: https://github.com/aspnet-contrib/AspNet.Security.OpenIdConnect.Server

I did . mono-snapshot mono/2015.06.16+09.38.12' I diddnvm use 1.0.0-beta6-12004`, then DNU restored all depedencies in the folders:

src/AspNet.Security.OpenIdConnect.Extensions src/AspNet.Security.OpenIdConnect.Server samples/Mvc/Mvc.Client samples/Mvc/Mvc.Server

In samples/Mvc/Mvc.Server and samples/Mvc/Mvc.Client I ran dnx . kestrel. Everything works fine.

When I open the root folder of the project in ATOM with omnisharp-atom 0.17.3 installed, it tries to restore packages and fails with:

Unresolved dependencies for AspNet.Security.OpenIdConnect.Server:
 - Microsoft.AspNet.Authentication 1.0.0
 - Microsoft.Framework.Caching.Abstractions 1.0.0
 - Microsoft.Framework.Logging.Abstractions 1.0.0
 - Microsoft.Framework.NotNullAttribute.Sources 1.0.0
 - Microsoft.Framework.WebEncoders.Core 1.0.0
 - Microsoft.IdentityModel.Protocol.Extensions 2.0.0
 - Newtonsoft.Json 6.0.4
 - System.IdentityModel.Tokens 5.0.0

Unresolved dependencies for AspNet.Security.OpenIdConnect.Extensions:
 - Microsoft.IdentityModel.Protocol.Extensions 2.0.0

Unresolved dependencies for Mvc.Server:
 - EntityFramework 7.0.0
 - EntityFramework.InMemory 7.0.0
 - Kestrel 1.0.0
 - Microsoft.AspNet.Diagnostics 1.0.0
 - Microsoft.AspNet.Mvc 6.0.0
 - Microsoft.AspNet.Cors 1.0.0
 - Microsoft.AspNet.Authentication.Cookies 1.0.0
 - Microsoft.AspNet.Authentication.Google 1.0.0
 - Microsoft.AspNet.Authentication.OAuthBearer 1.0.0
 - Microsoft.AspNet.Authentication.Twitter 1.0.0
 - Microsoft.AspNet.Server.IIS 1.0.0
 - Microsoft.AspNet.Server.WebListener 1.0.0
 - Microsoft.AspNet.StaticFiles 1.0.0
 - Microsoft.Framework.Logging 1.0.0
 - Microsoft.Framework.Logging.Console 1.0.0
 - Microsoft.AspNet.Owin 1.0.0
 - Microsoft.Owin 3.0.0
 - NWebsec.Owin 1.0.0
 - Microsoft.IdentityModel.Protocol.Extensions 2.0.0
 - Microsoft.AspNet.Authentication 1.0.0
 - Microsoft.Framework.Caching.Abstractions 1.0.0
 - Microsoft.Framework.Logging.Abstractions 1.0.0
 - Microsoft.Framework.NotNullAttribute.Sources 1.0.0
 - Microsoft.Framework.WebEncoders.Core 1.0.0
 - Newtonsoft.Json 6.0.4
 - System.IdentityModel.Tokens 5.0.0

Unresolved dependencies for Mvc.Client:
 - Newtonsoft.Json 6.0.4
 - Kestrel 1.0.0
 - Microsoft.AspNet.Mvc 6.0.0
 - Microsoft.AspNet.Authentication 1.0.0
 - Microsoft.AspNet.Authentication.Cookies 1.0.0
 - Microsoft.AspNet.Authentication.OpenIdConnect 1.0.0
 - Microsoft.AspNet.Server.IIS 1.0.0
 - Microsoft.AspNet.Server.WebListener 1.0.0
 - Microsoft.AspNet.StaticFiles 1.0.0
 - Microsoft.Framework.Logging 1.0.0
 - Microsoft.Framework.Logging.Console 1.0.0

What am I doing wrong?

david-driscoll commented 9 years ago

It could be the breaking change between beta4 and beta5 in terms of how it handles the project.lock.json file. I'm not entirely sure. @davidfowl any ideas?