[英]When I am installing Entity Framework in Visual Studio 2013 in the package manager console
Install-Package: The default XML namespace of the project must be the MSBuild XML namespace.安装包:项目的默认 XML 命名空间必须是 MSBuild XML 命名空间。 If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the element.如果项目以 MSBuild 2003 格式创作,请将 xmlns="http://schemas.microsoft.com/developer/msbuild/2003" 添加到元素中。 If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.如果项目是用旧的 1.0 或 1.2 格式创作的,请将其转换为 MSBuild 2003 格式。 C:\Users\pc\Documents\Visual Studio 2013\clientsidemanagement\entitydemo\packages\EntityFramewor k.6.3.0\build\EntityFramework.props C:\Users\pc\Documents\Visual Studio 2013\clientsidemanagement\entitydemo\packages\EntityFramework k.6.3.0\build\EntityFramework.props
At line:1 char:16在行:1 字符:16
+ install-Package <<<< EntityFramework + 安装包 <<<< EntityFramework
+ CategoryInfo: NotSpecified: (:) [Install-Packa + CategoryInfo:未指定:(:) [Install-Packa
Using a more recent version of Visual Studio will work.使用更新版本的 Visual Studio 即可。 Also, downgrading to EF 6.2.0 worked for me, but I also need a better solution to this (ie one that lets me use 6.3.0) since I'm deploying to Azure and my site won't deploy unless I use 6.2.0.此外,降级到 EF 6.2.0 对我有用,但我还需要一个更好的解决方案(即让我使用 6.3.0 的解决方案),因为我正在部署到 Azure 并且我的站点不会部署,除非我使用 6.2 .0.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.