question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't install from nuget

See original GitHub issue

I’m using Visual Studio Community edition and I’m creating a simple F# Console appl. When I try to install Expecto from NuGet Package Manager, it fails with

Attempting to gather dependency information for package 'Expecto.5.0.0' with respect to project 'IllegalDataUnrepresentable', targeting '.NETFramework,Version=v4.0' Gathering dependency information took 1,69 sec Attempting to resolve dependencies for package 'Expecto.5.0.0' with DependencyBehavior 'Lowest' Unable to find a version of 'Mono.Cecil' that is compatible with 'Expecto 5.0.0 constraint: Mono.Cecil (>= 0.10.0-beta5)'. ========== Finished ========== Time Elapsed: 00:00:01.8725801

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
giuliohomecommented, Jul 23, 2017

@MNie Thank you!!!

I’m still getting an exception (HRESULT: 0x80004005 (E_FAIL)), but I hope it’s fine anyway.

PM> Install-Package Expecto -pre


Attempting to gather dependency information for package 'Expecto.5.0.0' with respect to project 'IllegalDataUnrepresentable', targeting '.NETFramework,Version=v4.6.2'
Gathering dependency information took 1,96 sec
Attempting to resolve dependencies for package 'Expecto.5.0.0' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'Expecto.5.0.0'
Resolved actions to install package 'Expecto.5.0.0'
Retrieving package 'Mono.Cecil 0.10.0-beta5' from 'nuget.org'.
Retrieving package 'Argu 3.7.0' from 'nuget.org'.
Retrieving package 'FSharp.Core 4.1.17' from 'nuget.org'.
Retrieving package 'System.ValueTuple 4.3.0' from 'nuget.org'.
Retrieving package 'Expecto 5.0.0' from 'nuget.org'.
  GET https://www.nuget.org/api/v2/package/Expecto/5.0.0
  GET https://www.nuget.org/api/v2/package/Mono.Cecil/0.10.0-beta5
  GET https://www.nuget.org/api/v2/package/Argu/3.7.0
  OK https://www.nuget.org/api/v2/package/Argu/3.7.0 681ms
Installing Argu 3.7.0.
  OK https://www.nuget.org/api/v2/package/Expecto/5.0.0 1220ms
Installing Expecto 5.0.0.
  OK https://www.nuget.org/api/v2/package/Mono.Cecil/0.10.0-beta5 1275ms
Installing Mono.Cecil 0.10.0-beta5.
Adding package 'Argu.3.7.0' to folder 'C:\dev\SO\FSharp\Typing\IllegalDataUnrepresentable\packages'
Added package 'Argu.3.7.0' to folder 'C:\dev\SO\FSharp\Typing\IllegalDataUnrepresentable\packages'
Added package 'Argu.3.7.0' to 'packages.config'
Successfully installed 'Argu 3.7.0' to IllegalDataUnrepresentable
Adding package 'Mono.Cecil.0.10.0-beta5' to folder 'C:\dev\SO\FSharp\Typing\IllegalDataUnrepresentable\packages'
Added package 'Mono.Cecil.0.10.0-beta5' to folder 'C:\dev\SO\FSharp\Typing\IllegalDataUnrepresentable\packages'
Added package 'Mono.Cecil.0.10.0-beta5' to 'packages.config'
Successfully installed 'Mono.Cecil 0.10.0-beta5' to IllegalDataUnrepresentable
Adding package 'System.ValueTuple.4.3.0' to folder 'C:\dev\SO\FSharp\Typing\IllegalDataUnrepresentable\packages'
Added package 'System.ValueTuple.4.3.0' to folder 'C:\dev\SO\FSharp\Typing\IllegalDataUnrepresentable\packages'
Added package 'System.ValueTuple.4.3.0' to 'packages.config'
Successfully installed 'System.ValueTuple 4.3.0' to IllegalDataUnrepresentable
Adding package 'FSharp.Core.4.1.17' to folder 'C:\dev\SO\FSharp\Typing\IllegalDataUnrepresentable\packages'
Added package 'FSharp.Core.4.1.17' to folder 'C:\dev\SO\FSharp\Typing\IllegalDataUnrepresentable\packages'
Errore non specificato. (Eccezione da HRESULT: 0x80004005 (E_FAIL))
Added package 'FSharp.Core.4.1.17' to 'packages.config'
Successfully installed 'FSharp.Core 4.1.17' to IllegalDataUnrepresentable
Adding package 'Expecto.5.0.0' to folder 'C:\dev\SO\FSharp\Typing\IllegalDataUnrepresentable\packages'
Added package 'Expecto.5.0.0' to folder 'C:\dev\SO\FSharp\Typing\IllegalDataUnrepresentable\packages'
Added package 'Expecto.5.0.0' to 'packages.config'
Successfully installed 'Expecto 5.0.0' to IllegalDataUnrepresentable
Executing nuget actions took 20,19 sec
Time Elapsed: 00:00:30.5054732
0reactions
MNiecommented, Jul 23, 2017

@giuliohome You’re welcome 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't Install Nuget Package
First, you have to make sure the version of NuGet Package Manager for Visual Studio 2013 is the latest version 2.12.0.817, not the...
Read more >
Unable to install NuGet provider for PowerShell
Run PowerShell as administrator. Run the command Install-Module PowershellGet -Force. When asked to install NuGet provider, press Y and follow ...
Read more >
When PowerShellGet v1 fails to install the NuGet Provider
The underlying issue here is that the remote endpoint used to bootstrap the provider requires TLS 1.2 and the client may not have...
Read more >
Can't install any nuget package in VS 2019 v16.6.0
workaround 1: My workaround is to manually type "install-package packageName" in the package manager console within Visual Studio. workaround 2: ...
Read more >
Resolved - Can't install nuget packages. Button grayed out.
The error i get when I am trying to install packages through PK is: NuGet\Install-Package : Project 'Default' is not found. ... I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found