我試圖安裝StructureMap.MVC4的一個項目,在Visual Studio 2012,.NET 4.0中創建和ASP.MVC 4.無法在.NET 4中,MVC 4安裝StructureMap.MVC4,VS 2012
但我越來越低於錯誤:
Could not install package 'Microsoft.AspNet.WebApi.Client 5.1.2'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', 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:16 + install-package <<<< structuremap.mvc4 WebApi_StructureMap_DotNet4 + CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
任何建議,我什麼都不知道請!
謝謝馬特。這解決了這個問題。 –