NuGet.InstallPackage in FSI uses the wrong Nuget.Core.dll

Issue #437 resolved
Adam Granicz created an issue

The above command yields in FSI:

Retrieving NuGet package...
System.ArgumentException: Type mismatch when building 'expr': the expression has the wrong type. Expected 'NuGet.IPackage', but received type 'NuGet.IPackage'.
Parameter name: receivedType
   at Microsoft.FSharp.Quotations.PatternsModule.checkTypesSR[a](Type expectedType, Type receivedType, a name, String threeHoleSR)
   at Microsoft.FSharp.Quotations.PatternsModule.cast[T](FSharpExpr expr)
   at Microsoft.FSharp.Quotations.FSharpExpr.Cast[T](FSharpExpr source)
   at IntelliFactory.CloudSharper.Interactive.NuGet.InstallPackage(String packageName) in F:\cloudsharper\CloudSharper.Interactive\Interactive.fs:line 199
   at <StartupCode$FSI_0011>.$FSI_0011.main@()
Stopped due to error

Comments (1)

  1. Log in to comment