我正在尝试使用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个错误。
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
.....
.....有什么帮助吗?
发布于 2016-01-11 09:14:15
再试一次nuget套餐。您下载的文件不是单个文件版本。单个文件版本是在编译时生成的,并打包为nuget包。别忘了PetaPoco有三个版本。请看维基
https://stackoverflow.com/questions/34478311
复制相似问题