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

Using Paket for a Grpc project #4152

Open
l3m opened this issue May 20, 2022 · 2 comments
Open

Using Paket for a Grpc project #4152

l3m opened this issue May 20, 2022 · 2 comments

Comments

@l3m
Copy link

l3m commented May 20, 2022

Description

According to Grpc documentation, the package reference for Gprc.Tools should look something like this:

<PackageReference Include="Grpc.Tools" Version="2.23.0">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

For paket, I found the following issues that seem related: #2370 #4097.

Should it be possible to use the current version of paket with Grpc.Tools, so that the equivalent functionality of the above PackageReference is achieved?

If yes, how can I set this up in paket.dependencies and/or paket.reference?

If no, is it harmful to use paket for all other nuget references, and just add Grpc.Tools as above as PackageReference?

@l3m l3m changed the title How to setup Paket for a Grpc project Using Paket for a Grpc project May 20, 2022
@purkhusid
Copy link

Not sure if this is relevant for you but if you are using F# then see this issue: grpc/grpc-dotnet#1742

@l3m
Copy link
Author

l3m commented May 23, 2022

@purkhusid Thanks, I'm aware. We have a mostly F#-solution with a C#-project for Grpc-Codegen. It works with nuget, but I'd prefer to use paket for all projects, not just for the F# ones.

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