首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >PetaPoco集成中的错误

PetaPoco集成中的错误
EN

Stack Overflow用户
提问于 2015-12-27 06:58:30
回答 1查看 164关注 0票数 2

我正在尝试使用PetaPoco作为我的ORM。

正如在http://www.toptensoftware.com/petapoco/上所描述的,我尝试过来自nuget的Install-Package PetaPoco。但它以An error occurred while loading packages from'https://api.nuget.org/v3/index.json': The operation has timed out.结尾

然后我从https://github.com/toptensoftware/PetaPoco/blob/master/PetaPoco/PetaPoco.cs下载并添加了https://github.com/toptensoftware/PetaPoco/blob/master/PetaPoco/PetaPoco.cs

但我还是犯了73个错误。

代码语言:javascript
复制
The type or namespace name 'Internal' does not exist in the namespace 'PetaPoco'
The name 'DatabaseType' does not exist in the current context
The type or namespace name 'ITransaction' could not be found
.....
.....

有什么帮助吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-01-11 09:14:15

再试一次nuget套餐。您下载的文件不是单个文件版本。单个文件版本是在编译时生成的,并打包为nuget包。别忘了PetaPoco有三个版本。请看维基

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/34478311

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档