-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Single-file: Generate bundles with deterministic IDs #3601
Comments
Is this something that is planned for fixing in nearest future? If not, will you accept contribution for this? |
Btw. here is the exact location of the rootcause of the issue: https://github.com/dotnet/runtime/blob/main/src/installer/managed/Microsoft.NET.HostModel/Bundle/Manifest.cs#L82 |
#3601 Bundling should generate id based on the content in order to secure unique but reproducible ids
Fixed by #52930. |
@vitek-karas Thanks for merging the fix. Is there a roadmap for when a version with the fix will be released? |
This should go into the Preview 6 of .NET 6. It will take a couple of days to get to https://github.com/dotnet/installer where you can download a nightly build before the Preview 6 is released. |
Note that this only affects the SDK, not the runtime. So you can use the latest .NET 6 SDK, but still target 3.1 or 5.0 for the app itself. |
The Bundler generates bundled apps with randomly generated bundle-IDs for each build.
Instead, this should be changed to use an ID based on the contents of the bundle.
This way, two builds on the same input generate identical output.
The text was updated successfully, but these errors were encountered: