2016-04-07 22 views
0

Visual Studio 2015の午後のクリーンインストールを試してきました。特定のパッケージImageProcessorに関する苦情を受け取りました。このパッケージをインストールしようとすると、それほど役に立ちません。これらのものはとちょうどの仕事になっていますか?パッケージをNuget経由でインストールできない

興味深いことに私は何をインストールすることができますし、バージョン2.3.2

憤慨含めて私はVS 2015をアンインストールし、再インストール。また、それからナゲットを取り除き、それを再び追加しました。過去に似たような痛みを抱えている誰かが解決策を共有できることを望んで、これらのことをどのように「デバッグ」するのか考えられません。これはその要点です:

> PM> install-package imageprocessor Attempting to gather dependency 
> information for package 'imageprocessor.2.3.3' with respect to project 
> 'Show.Umbraco', targeting '.NETFramework,Version=v4.5.1' Attempting to 
> resolve dependencies for package 'imageprocessor.2.3.3' with 
> DependencyBehavior 'Lowest' Resolving actions to install package 
> 'imageprocessor.2.3.3' Resolved actions to install package 
> 'imageprocessor.2.3.3' Install failed. Rolling back... Package 
> 'ImageProcessor.2.3.3' does not exist in project 'Show.Umbraco' 
> Package 'ImageProcessor.2.3.3' does not exist in folder 
> 'C:\_dev\Show\Show.Umbraco\packages' install-package : Could not 
> install package 'ImageProcessor 2.3.3'. You are trying to install this 
> package into a project that targets '.NETFramework,Version=v4.5.1', 
> but the package does not contain any assembly references or content 
> files that are compatible with that framework. For more information, 
> contact the package author. At line:1 char:1 
> + install-package imageprocessor 
> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
>  + CategoryInfo   : NotSpecified: (:) [Install-Package], Exception 
>  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand 
+3

あなたが読んだプロジェクトは、ImageProcessorでサポートされているものよりも前の.Net Frameworkのバージョンを対象としています。 ImageProcessorパッケージはUmbracoCmsの依存関係です。 – ProNotion

+0

でも、以前のバージョン2.3.2をインストールできますか? anyhoo私は4.5から4.6,1を試してみました。すべての道路がポンペイにつながっています –

+0

FWIW ImageProcessorを導入したnugetを使ってUmbraco(7.3.8)の以前のバージョンを強制しました。2.3.2。今のところやる。 –

答えて

1

Visual Studio 2015 Update 2を使用していますか?

私は同じ問題を抱えており、本当にイライラしています。

解決策は、以前のバージョンのVisual Studio(Visual Studio 2013)でプロジェクトを開くことでした。UmbracoCms 7.4.3(ImageProcessorを含む)を問題なくインストールしました!

+0

はい、これはオプションでした。私は手動インストールルートを行った。原因と修正方法を知りたい。 –

関連する問題