Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
fsi.txt
Microsoft (R) F# Interactive version 14.0.23413.0
Copyright (c) Microsoft Corporation. All Rights Reserved.
For help type #help;;
>
--> Referenced 'D:\GitHub\FsProjectsAdmin\src\../.paket/paket.exe'
> let source = Paket.PackageSources.DefaultNuGetSource
let package = Paket.Domain.PackageName("paket")
Paket.NuGetV2.GetVersions false "" ([source], package);;
Exception raised during pretty printing.
Please report this so it can be fixed.
Trace: System.InvalidCastException: [A]Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[Paket.SemVerInfo,Microsoft.FSharp.Collections.FSharpList`1[Paket.PackageSources+PackageSource]]] cannot be cast to [B]Microsoft.FSharp.Collections.FSharpList`1[System.Tuple`2[Paket.SemVerInfo,Microsoft.FSharp.Collections.FSharpList`1[Paket.PackageSources+PackageSource]]]. Type A originates from 'paket, Version=2.57.1.0, Culture=neutral, PublicKeyToken=null' in the context 'LoadFrom' at location 'C:\Users\Sergey_Tihon\AppData\Local\assembly\dl3\6V3HJEXH.M00\TOV81ZDZ.P48\051dc538\a681595d_b38ed101\paket.exe'. Type B originates from 'FSharp.Core, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' in the context 'Default' at location 'C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\FSharp.Core\v4.0_4.4.0.0__b03f5f7f11d50a3a\FSharp.Core.dll'.
at Microsoft.FSharp.Compiler.Interactive.Shell.Utilities.AnyToLayoutSpecialization`1.Microsoft-FSharp-Compiler-Interactive-Shell-Utilities-IAnyToLayoutCall-FsiAnyToLayout(FormatOptions options, Object o)
at Microsoft.FSharp.Compiler.Interactive.Shell.FsiValuePrinter.PrintValue(FsiValuePrinterMode printMode, FormatOptions opts, Object x, Type ty)
val source : Paket.PackageSources.PackageSource = https://www.nuget.org/api/v2
val package : Paket.Domain.PackageName = paket
val it : (Paket.SemVerInfo * Paket.PackageSources.PackageSource list) list =
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment