-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Not Respecting "Generate NuGet package on build" #22
Comments
Hi @Noggog, glad to see you over here too! This is a very nice catch/bug you uncovered, thanks! Turns out that the compatibility properties are defined in a .props file (see https://github.com/kzu/nugetizer/blob/9f35e172668e1ddf05c12dada190fdac751132d7/src/NuGetizer.Tasks/NuGetizer.Compatibility.props#L18) but props are imported at the top of your project, when your custom properties aren't still available. I'll move that to targets 👍 |
Hm, actually, it's imported from targets: https://github.com/kzu/nugetizer/blob/292b2c1e9e54b9615f5a1fd4f27c62fd558388a2/src/NuGetizer.Tasks/NuGetizer.targets#L18 Could you run a build with Thanks! |
Hmm, something weird is going on. Both from Visual Studio and command line (
But they aren't there when I go look Maybe they are being made, but then just cleaned up and deleted right after for somehow? I'm just using my example repo from before: |
Hmm, I've been running This is my overall behavior. You can see my https://i.imgur.com/LMNn5iL.mp4 I cloned to a 2nd machine (my laptop) and got the same behavior. Additionally, I made the changes we did to the GitInfoTests repo to one of my other projects, and had some strange behavior. The presence of Nugetizer made the "Package" option in the project panel disappear entirely. Removing Nugetizer brings it back, This behavior hasn't occurred in GitInfoTests yet that I've seen. |
Without binlogs, it's really hard to know what's going on. |
ok, was a bug, here's a binlog where it's fixed now :) |
Heyyy! Got things working! Thanks for the help investigating |
Thanks for uncovering the bug and helping verify the fix! 💯 |
First off, just wanted to say thanks for the help over in issue devlooped/GitInfo#134
When swapping over to Nugetizer, it was able to solve the issue of parent library versioning stamps, but I'm now noticing that it doesn't seem to be respecting my Project Settings -> Package -> "Generate NuGet package on build" setting.
Is this something that Nugetizer could be adjusted to respect and fulfill?
The text was updated successfully, but these errors were encountered: