-
Notifications
You must be signed in to change notification settings - Fork 258
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
[Feature]: using fixed string instead of GUID for *.psmdcp file name #12029
Comments
Hey @John0King, I'm not sure I understand your concern. Can you let us know what you are trying to achieve and the commands you were running and the effect of the problems you encountered. |
@nkolev92 I want a local folder to be a nuget source (the folder and the .nupkg file need to store in git repo), so every time you build the project with option |
Ah, ok, you are looking for deterministic pack.
The pack target has up to date checks that work on the same machine. On the pack topic, it's not just the _rels folder, but also the timestamps of the dlls that affect the zip. We attempted this at some point and we hit issues. Duplicate of #8601. |
@nkolev92 : Is it possible to just fix the .pcsdmp file to get a consistent name? The timestamps are what caused the problem and it's easier to sell diff all the files in the zip file than all but two of them. |
@joshudson Not sure when we'd able to get to it, but we'd certainly consider community contributions. |
NuGet Product(s) Involved
dotnet.exe
The Elevator Pitch
the name change cause
_rels/.rels
file change, and that also cause .nupkg file change, and for someone who using local folder as nuget source ,then itcause
git
keep track the same .nupkg every time you pack it (especially,when<GeneratePackageOnBuild>True<GeneratePackageOnBuild>
).Additional Context and Details
No response
The text was updated successfully, but these errors were encountered: