PDFsharp-MigraDoc-WPF nuget package - nuget

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.

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 upgrade NuGet package lucene-net from version 3.0.3 to version 4.8.0

I am using lucene-net version 3.0.3, and I want binary filed store. Binary filed requires lucene-net version 4, but I cannot install this version.
This is what I have tried and the error I received:
PM> Install-Package Lucene.Net -Version 4.8.0.648-beta
Install-Package:
Some NuGet packages are missing from the solution. The packages need
to be restored in order to build the dependency graph. Restore the
packages before performing any operations.
At line:1 char:1
+ Install-Package Lucene.Net -Version 4.8.0.648-beta
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetMissingPackages,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
As said in this blogpost of Itamar Syn-Hershko, Lucene.NET version 4.8 is not yet available with NuGet.
But as described, you can get it through the private feed of MyGet though. To do this, first add a new package source in the NuGet Package Manager settings, with Source: https://www.myget.org/F/lucene-net/.
After you've done this, you should find the new version with the NuGet Package Manager (don't forget to set the correct Package source).

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