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

Generate NuGet package during build #253

Merged
merged 1 commit into from
Dec 12, 2020

Conversation

TysonMN
Copy link
Member

@TysonMN TysonMN commented Dec 12, 2020

How about generating a NuGet package as part of the build?

In general, it is useful to know if some change prevents the ability to create the NuGet package. More specifically, this helps test unreleased code. Of course it is possible to add a direct dependency on the project, but it is easier to obtain and share the NuGet package and depend on it after putting it in a local NuGet package source. In particular, this change would make it easier to test PR #251.

@moodmosaic
Copy link
Member

I don't see why not. Even if we want to undo this in the future, it wouldn't be a breaking change. 👍

@moodmosaic moodmosaic merged commit d122728 into hedgehogqa:master Dec 12, 2020
@TysonMN TysonMN deleted the generate_package_on_build branch December 13, 2020 12:23
@cmeeren
Copy link
Contributor

cmeeren commented Dec 13, 2020

I always do it this way myself for my own packages. I have never found a downside. It removes the need for a separate dotnet pack step or similar.

@moodmosaic
Copy link
Member

Exactly, and we can take that section off from the README.md now, I suppose.

@moodmosaic
Copy link
Member

Not a huge deal, but I've run into this dotnet/sdk#10335.

@TysonMN
Copy link
Member Author

TysonMN commented Dec 17, 2020

Is the fix to remove the call to dotnet pack and just use the already built NuGet package?

@moodmosaic
Copy link
Member

Yep. I'll update the README.md 👀

@ghost ghost added this to the 0.9.0 milestone Sep 22, 2021
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

Successfully merging this pull request may close these issues.

3 participants