Initial build failing in the SourcLink target. This happens when the user decides not to immediately wire-up the project to an upstream git repo.
Repro steps
Please provide the steps required to reproduce the problem
Initialize git repo [Yn]
(hit enter or Y)
Origin (url of git remote; blank to skip)
(skip this)
Expected behavior
Target step succeeds, or other benign behavior.
Actual behavior
System.Exception: 1 source files do not have matching checksums in the Git repository
at FSI_0005.SourceLink.SourceLink.Index(IEnumerable1 sourceFiles, String pdbFile, String gitRepoPath, String url) in E:\Temp\ProjectScaffold\packages\build\SourceLink.Fake\ tools\SourceLink.fsx:line 101 at FSI_0005.Build.clo@161-12.Invoke(String projFile) in E:\Temp\ProjectScaffold\build.fsx:line 163 at Microsoft.FSharp.Collections.SeqModule.Iterate[T](FSharpFunc2 action, IEnumerable1 source) at FSI_0005.Build.clo@157-11.Invoke(Unit _arg7) in E:\Temp\ProjectScaffold\build.fsx:line 159 at Fake.TargetHelper.runSingleTarget(TargetTemplate1 target) in C:\code\fake\src\app\FakeLib\TargetHelper.fs:line 492
Known workarounds
Not a fatal error. I believe this resolves once an upstream git origin is set.
Description
Initial build failing in the SourcLink target. This happens when the user decides not to immediately wire-up the project to an upstream git repo.
Repro steps
Please provide the steps required to reproduce the problem
Initialize git repo [Yn] (hit enter or Y)
Origin (url of git remote; blank to skip) (skip this)
Expected behavior
Target step succeeds, or other benign behavior.
Actual behavior
System.Exception: 1 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) in E:\Temp\ProjectScaffold\packages\build\SourceLink.Fake\ tools\SourceLink.fsx:line 101 at FSI_0005.Build.clo@161-12.Invoke(String projFile) in E:\Temp\ProjectScaffold\build.fsx:line 163 at Microsoft.FSharp.Collections.SeqModule.Iterate[T](FSharpFunc
2 action, IEnumerable1 source) at FSI_0005.Build.clo@157-11.Invoke(Unit _arg7) in E:\Temp\ProjectScaffold\build.fsx:line 159 at Fake.TargetHelper.runSingleTarget(TargetTemplate
1 target) in C:\code\fake\src\app\FakeLib\TargetHelper.fs:line 492Known workarounds
Not a fatal error. I believe this resolves once an upstream git origin is set.
Related information