Skip to content

Building package fails because of checksum errors #681

@TeaDrivenDev

Description

@TeaDrivenDev

I cannot build the NuGet package, because "92 source files do not have matching checksums in the Git repository".

Repro steps

  1. Clone the FSharp.Compiler.Services repository
  2. Run build CreatePackage

Expected behavior

The build succeeds, and a NuGet package is created.

Actual behavior

The build fails with

Running build failed.
Error:
System.Exception: 92 source files do not have matching checksums in the Git repository
   at FSI_0005.SourceLink.SourceLink.Index(IEnumerable`1 sourceFiles, String pdbFile, String gitRepoPath, String url)
   at FSI_0005.Build.clo@110-14.Invoke(String framework)
   at Microsoft.FSharp.Primitives.Basics.List.iter[T](FSharpFunc`2 f, FSharpList`1 x)
   at FSI_0005.Build.clo@105-13.Invoke(Unit _arg7)
   at Fake.TargetHelper.runSingleTarget(TargetTemplate`1 target) in C:\code\fake\src\app\FakeLib\TargetHelper.fs:line 492

Known workarounds

[added] Use

git config --global core.autocrlf input

Related information

  • Windows 7
  • master branch
  • .NET 4.6.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions