Nuget Package SHA-512 hash is different on each build #14182
-
|
Hi, I'm having a problem with enabling Nuget LockFiles for my projects. It seems that every time I build a package it results in a different hash in the *.nupkg.sha512 file, which prevents the app using the package from resolving it due to hash mismatch. I tried building the package with Can somebody help me understand what am I doing wrong? What I want to achieve is this:
Currently the last step fails because the SHA of the NugetDependency is different on steps 2 and 5. It also doesn't seem like an issue with CI, because I'm getting different values by just rebulding my local project. After closely examining the contents of the package it seems that there two files that are changing between builds:
The first one uses a guid for the name and the second one references this name. So I guess my question boils down to this: how can I force a static name for this file, so that it stops changing my package signatures? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Ok, I found my answer: #8601 What I want to achieve is currently not possible because deterministic build was removed. |
Beta Was this translation helpful? Give feedback.
Ok, I found my answer: #8601
What I want to achieve is currently not possible because deterministic build was removed.