Microsoft.Activities not found - nuget

I am using Visual Studio 2012 premium and have NuGet package installed. From the Package manager console, I issued the Install-Package command to get Microsoft.Activities but I got the following error:
PM> Install-Package "Microsoft.Activities"
Install-Package : Unable to find package 'Microsoft.Activities'.
At line:1 char:1
+ Install-Package "Microsoft.Activities"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Could it be something I did incorrectly, typo or something simple? I tried to Get-Package -ListAvailable and see the Microsoft.Activities there...just can not install it to my project.
Any help would be highly appreciated. Thanks!

The command looks fine. Are you trying to install from Nuget Official Source ( http://nuget.org) ? There is no package by Id Microsoft.Activities. There are packages with ids Microsoft.Activities.UnitTesting and Microsoft.Activities.Extensions..

It looks like Microsoft.ACtivities has been unlisted.
http://nuget.org/packages/Microsoft.Activities
you might want to contact the owner to see what are the alternatives: http://nuget.org/packages/Microsoft.Activities/ContactOwners
from http://wf.codeplex.com/wikipage?title=Microsoft.Activities%20Overview it looks like it might have changed to microsoft.activities.extensions as bhuvak suggested above.

Related

Error Installing automapper -version:4.1.0

I am using visual studio 2013
Package Manager Console Host Version 2.8.60610.756
I am trying to install antomapper version 4.1 using this command
install-package automapper -version:4.1.0
but I am getting this error message:
The source at nuget.org [https://www.nuget.org/api/v2/] is
unreachable. Falling back to NuGet Local Cache at
C:\Users[Username]\AppData\Local\NuGet\Cache Install-Package : Unable
to find version '4.1.0' of package 'automapper'. At line:1 char:16
+ install-package <<<< automapper -version:4.1.0
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Please help me resolve this issue
thanks in advance
As per the error message you quoted:
The source at nuget.org [https://www.nuget.org/api/v2/] is unreachable.
Your computer cannot reach nuget. Either your network connectivity is down, or nuget is having a temporary outage.

How to install MVVMLight through nuget

I need to add MVVM Light toolkit to an existing project.
I run nuget command.. My project is in 4.5 Framework. I got this error
Attempting to resolve dependency 'MvvmLightLibs (≥ 5.0.2.0)'.
Install-Package : 'MvvmLightLibs' already has a dependency defined for 'CommonServiceLocator'.
At line:1 char:16
+ Install-Package <<<< MvvmLight
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPa
ckageCommand
I installed through extensions and updates and it got installed but when i tried to create a new mvvm project using visual studion wizard same this dependency error arises.
How to resolve this..
Install the latest version of NuGet
i agrees with Sievajet. solved the same problem by upgrading to the latest version of NuGet

Source Unreachable issue in installing Entity Framework in Visual Studio 2013

I am having issues with installing Entity Framework in Visual Studio 2013. I am having following error.
The source at nuget.org [https://www.nuget.org/api/v2/] is unreachable. Falling back to NuGet Local >Cache at C:\Users\9040\AppData\Local\NuGet\Cache
Install-Package : Unable to read package from path 'EntityFramework.6.1.2.nupkg'.
At line:1 char:16
+ install-package <<<< EntityFramework
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidDataException
+ FullyQualifiedErrorId : >NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Please suggest. Thanks
Ok i got it solved. Thought i should share it. I don't know why but Package console does not pick source path from Package Manager Settings. I explicitly had to state the path with Install command and it worked. This is the command
Install-Package EntityFramework -Source https://www.nuget.org/api/v2/
Thanks

Unable to upgrade to Ef 6.0. Unable to find a version of 'Breeze.Server.WebApi.EF' that is compatible

I'm issuing this command in the Package Manager Console..
PM> install-package EntityFramework -version 6.0.0
and it is giving me the error that it cannot find a version of the Breeze.Server.WebApi.EF package that is compatible (Shown at bottom). Here are the breeze packages I currently have installed:
Does anyone know what might be happening here?
Full error...
Install-Package : Updating 'EntityFramework 5.0.0' to 'EntityFramework 6.0.0' failed. Unable to find a version o
f 'Breeze.Server.WebApi.EF' that is compatible with 'EntityFramework 6.0.0'.
At line:1 char:16
+ install-package <<<< EntityFramework -version 6.0.0
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Breeze.Server.WebApi.EF has a requirement of EF < 6.0. You'll need to remove that and use the new packages listed in the Nuget Documentation.
ie. Remove Breeze.WebApi and add Breeze.WebApi2

PDFsharp-MigraDoc-WPF nuget package

I am looking for the PDFsharp-MigraDoc-WPF Nuget package. The pdfsharp site indicates that the package exists, but it is not present in the Nuget Gallery: only a GDI package is there. An attempt to Install-Package by name failed.
PM> Install-Package PDFsharp-MigraDoc-WPF
Install-Package : Unable to find package 'PDFsharp-MigraDoc-WPF'.
At line:1 char:1
+ Install-Package PDFsharp-MigraDoc-WPF
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Is there a configuration change that I need to make (e.g. pointing to another nuget server from the company that publishes PDFsharp-MigraDoc-WPF) in order to get the package?
The PDFsharp site indicates that the NuGet package with the WPF version was not published yet.
For the WPF version you can use the source code package (reference the projects in VS) or get the DLL package.