[英]Cannot install “Microsoft.AspNet.Razor 3.2.3” at the nuget package manager visual studio 2015
Cannot install "Microsoft.AspNet.Razor 3.2.3" at the nuget package manager visual studio 2015. 无法在nuget包管理器visual studio 2015上安装“Microsoft.AspNet.Razor 3.2.3”。
Install-Package : Could not install package 'Microsoft.AspNet.Razor 3.2.3'.
安装包:无法安装包'Microsoft.AspNet.Razor 3.2.3'。 You are trying to install this package into a project that targets 'MonoAndroid,Version=v5.0', but the package does not contain any assembly references or content files that are compatible with that framework.
您正在尝试将此软件包安装到以“MonoAndroid,Version = v5.0”为目标的项目中,但该软件包不包含任何与该框架兼容的程序集引用或内容文件。 For more information, contact the package author.
有关更多信息,请与软件包作者联系。
The Microsoft.AspNet.Razor NuGet package can be installed into a project. Microsoft.AspNet.Razor NuGet包可以安装到项目中。 It may fail if you do not have the Xamarin Portable Class Library (PCL) profiles or or the Mono frameworks installed.
如果您没有安装Xamarin可移植类库(PCL)配置文件或Mono框架,它可能会失败。
see here : http://lastexitcode.com/blog/2014/11/16/InstallingPortableClassLibrariesForXamarinStudio/ 请看: http : //lastexitcode.com/blog/2014/11/16/InstallingPortableClassLibrariesForXamarinStudio/
The Microsoft.AspNet.Razor 3.2.3 NuGet package only contains an assembly for .NET 4.5 so you cannot use it in a MonoAndroid project. Microsoft.AspNet.Razor 3.2.3 NuGet包仅包含.NET 4.5的程序集,因此您无法在MonoAndroid项目中使用它。
A .NET 4.5 assembly may use an API that is not supported by MonoAndroid. .NET 4.5程序集可能使用MonoAndroid不支持的API。 NuGet considers them to be incompatible.
NuGet认为它们是不兼容的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.