Skip to content

Re-enable deterministic timestamping after resolving NuGet issue #7331

Closed

Description

@mmitche

NuGet/NuGet.Client#7020 introduced an issue where file locks are incorrectly held, leading to failures in signing when copying files. See NuGet/NuGet.Client#7020 (comment) for a potential implementation. After resolution and a rebootstrap, Re-enable deterministic timestamps.

Activity

  1. nkolev92 commented on Jun 23, 2026

    @nkolev92
    Contributor

    NuGet-side tracking issue created: NuGet/Home#14959. Root cause confirmed: PackageBuilder.CalcPsmdcpName (deterministic path) calls file.GetStream() (File.OpenRead) but ReadAllBytes only disposes the MemoryStream, never the source stream — leaking file handles held by the long-lived dotnet host process, which then breaks signing. Once the NuGet fix ships and the VMR rebootstraps, deterministic timestamping can be re-enabled here.

  2. akoeplinger commented on Jun 26, 2026

    @akoeplinger
    Member

    The fix went into preview6 so we can reenable this once we rebootstrap on a preview6 sdk.

  3. mmitche commented on Jun 30, 2026

    @mmitche
    MemberAuthor

    We'll also need to remove the opt-out swtich from arcade-validation's tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions