我正在尝试将MVC应用和SQL Server数据库发布到Azure网站。
当我从Visual Studio中本地运行时,所有内容都构建并加载正常。但是,当尝试发布到Azure时,我得到13个构建错误,这些错误基本上都是因为无法找到EntityFramework的DLL。
Warning 2 Could not resolve this reference. Could not locate the assembly "EntityFramework". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. RMoney.Data
Warning 3 Could not resolve this reference. Could not locate the assembly "EntityFramework.SqlServer". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. RMoney.Data
我启用了允许NuGet下载丢失包的选项(我通过nuget添加了EF)。
我已将所有DLL设置为' copylocal = true'太
我发布了没有附加SQL DB的其他Azure网站,没有任何问题。
知道我可能做错了吗?