-
Notifications
You must be signed in to change notification settings - Fork 606
WIP: Add NuGet.Build.Tasks.Pack package #700
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
Conversation
What problem are you running into? You should never need to reference this package directly. |
Without it
|
Example failure output:
|
Example success output:
Strangely enough that version is no longer showing up on myget.org. I could swear it was just there. Anyway, the goal of this process is to make pull request builds publicly accessible via NuGet. |
What version of the .NET Core SDK are those scripts running against? Something else must be going on, because that package is not needed to successfully pack a project. The latest SDK is SDK 3.1.101, so I suggest installing that first and see if it works. |
I'll see about updating our CI image. I remember seeing this issue when testing on Windows until I installed the correct SDK version. |
I use 3.1 locally. |
Yep I'm updating the CI image, which should resolve this. |
@bording unfortunately installing both the 2.2 and 3.1 SDK packages on our debian build image does not resolve the issue. Please see the following output: publish-pr-48-error.txt |
This should re-enable per-PR releases to MyGet
d4cc824
to
53b1e09
Compare
I wish there was some way for me to repro the problem locally, because you 100% don't need to reference that package, (and in some cases referencing it could even cause problems/conflicts I think) so there is something else going on. |
@bording I can provide a Or, if you use Docker, the image we use is available here. I will modify the script we use to reproduce the problem and will post it here in a response. |
I think I might have figured out the problem: You need to get rid of that. That's preventing the SDK's pack task from being used. |
@bording's advice seems to work, at least without that dummy task |
Thanks @bording. I've got some other build errors to address before merging. |
This should re-enable per-PR releases to MyGet