Paket failed with:
The input sequence was empty.
Parameter name: source
StackTrace:
at Microsoft.FSharp.Collections.SeqModule.Head[T](IEnumerable`1 source)
at Paket.PackageMetaData.findDependencies@294-4.Invoke(Tuple`2 tupledArg)
at Microsoft.FSharp.Primitives.Basics.List.map[T,TResult](FSharpFunc`2 mapping, FSharpList`1 x)
at Paket.PackageMetaData.findDependencies[a](DependenciesFile dependenciesFile, String config, String platform, TemplateFile template, ProjectFile project, Boolean lockDependencies, Boolean minimumFromLockFile, FSharpMap`2 map, Boolean includeReferencedProjects, FSharpOption`1 version, a specificVersions)
at Paket.PackageProcess.allTemplates@172.Invoke(Tuple`2 tupledArg)
at Microsoft.FSharp.Collections.IEnumerator.map@111.DoMoveNext(b& )
at Microsoft.FSharp.Collections.IEnumerator.MapEnumerator`1.System-Collections-IEnumerator-MoveNext()
at Microsoft.FSharp.Collections.Generator.Microsoft-FSharp-Collections-Generator-Generator-1-get_Apply@542-1.Invoke(Unit unitVar0)
at Microsoft.FSharp.Collections.Generator.appG[a](Generator`1 g)
at Microsoft.FSharp.Collections.Generator.EnumeratorWrappingLazyGenerator`1.System-Collections-IEnumerator-MoveNext()
at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable`1 source)
at Paket.PackageProcess.Pack[a](String workingDir, DependenciesFile dependenciesFile, String packageOutputPath, FSharpOption`1 buildConfig, FSharpOption`1 buildPlatform, FSharpOption`1 version, IEnumerable`1 specificVersions, FSharpOption`1 releaseNotes, FSharpOption`1 templateFile, FSharpOption`1 excludedTemplates, Boolean lockDependencies, Boolean minimumFromLockFile, Boolean symbols, Boolean includeReferencedProjects, FSharpOption`1 projectUrl)
at Paket.Program.handler@350-21.Invoke(ParseResults`1 results)
at Paket.Program.processWithValidation[T](FSharpFunc`2 validateF, FSharpFunc`2 commandF, Command command, String[] args)
at Paket.Program.processCommand@61-1.Invoke(Command command, String[] args)
at Paket.Program.main()
However, all of these options affect the output nupkg.
The least damaging is probably removing the minimum-from-lock-file flag.
Description
Packing nuget packages does not work when you have this situation:
include-referenced-projectsminimum-from-lock-fileRepro steps
type project.paket\paket.exe pack output . include-referenced-projects minimum-from-lock-fileExpected behavior
Actual behavior
Command fails with:
With the -v switch we get the stack trace:
Known workarounds
include-referenced-projectsminimum-from-lock-fileHowever, all of these options affect the output nupkg.
The least damaging is probably removing the
minimum-from-lock-fileflag.Related information