【发布时间】:2015-06-02 05:30:15
【问题描述】:
我可以做些什么来修复这个构建?通过 NuGet 将实体框架添加到此项目。
所有项目在本地系统上编译都没有问题。但是在 Visual Studio Online 上构建失败。
通过打开诊断日志记录,我可以追踪到这个导致我的构建失败的警告:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3245: 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.
【问题讨论】:
-
始终将 EntityFramework.SqlServer.dll 标记为副本
标签: entity-framework msbuild nuget tfsbuild azure-devops