Skip to content
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

Unavailable GraphQL Dependancies #11

Open
DanJBower opened this issue Jan 20, 2020 · 3 comments
Open

Unavailable GraphQL Dependancies #11

DanJBower opened this issue Jan 20, 2020 · 3 comments

Comments

@DanJBower
Copy link

DanJBower commented Jan 20, 2020

I am having issues installing this package from NuGet. When I try, I get the error:

Install-Package : NU1102: Unable to find package GraphQL.Server.Core with version (>= 3.5.0-alpha0038)
  - Found 7 version(s) in nuget.org [ Nearest version: 3.5.0-alpha0027 ]
  - Found 0 version(s) in Microsoft Visual Studio Offline Packages
  - Found 0 version(s) in dotnet.myget.org roslyn
  
Install-Package : NU1102: Unable to find package GraphQL with version (>= 3.0.0-preview-1356)
  - Found 97 version(s) in nuget.org [ Nearest version: 3.0.0-preview-1352 ]
  - Found 0 version(s) in Microsoft Visual Studio Offline Packages
  - Found 0 version(s) in dotnet.myget.org roslyn

I think the issues are with the package references as neither of the two versions below seem to be available on nuget.org currently.

<PackageReference Include="GraphQL" Version="3.0.0-preview-1356" />
<PackageReference Include="GraphQL.Server.Core" Version="3.5.0-alpha0038" />

I tried cloning your master branch to see if I could build the project, but I had to change the package references to the two below before it would build.

<PackageReference Include="GraphQL" Version="3.0.0-preview-1352" />
<PackageReference Include="GraphQL.Server.Core" Version="3.5.0-alpha0027" />

Is there a public source I could connect too to get the package versions you had originally or can you update the package to have dependencies available on nuget.org?

@corstian
Copy link
Owner

I think I should look into possibilities to see whether I can link to the graphql-dotnet MyGet repositories which are available over here (https://myget.org/F/graphql-dotnet/api/v3/index.json).

I'm not sure whether or not I can pack those in a NuGet package...

See the nuget.config file in the graphql-dotnet server for further reference:
https://github.com/graphql-dotnet/server/blob/a1d1295d6fefa675f96b119df1f00ada531ff64a/nuget.config

@DanJBower
Copy link
Author

Thanks for the very quick response. Adding the feed you mentioned to my sources allowed me to install your package.

@corstian
Copy link
Owner

Great to hear! Reopening this as to see whether I can add the feed to the package, or until the correct packages are available on NuGet.

@corstian corstian reopened this Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants