gpt4 book ai didi

visual-studio - Visual Studio Team Services 生成问题

转载 作者:行者123 更新时间:2023-12-01 05:22:39 24 4
gpt4 key购买 nike

我正在使用 Visual Studio Team Services作为源代码控制并启用了持续集成。

我的项目是一个使用 Entity Framework 5 的 ASP.NET 应用程序。当我 checkin 代码并且构建 Controller 尝试构建它时,出现以下错误

DataModel\GenomicsTutorDataModel.Context.cs (40): The type or namespace name 'DbSet' could not be found (are you missing a using directive or an assembly reference?)

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets (1578): 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.



在我的解决方案中,我使 system.data.entity CopyLocal = True 但没有成功。

有任何想法吗?

最佳答案

可能你在 64 位 机器和TFS服务器是不是?
尝试为 构建您的项目任意 CPU x86 .

关于visual-studio - Visual Studio Team Services 生成问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15669510/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com