gpt4 book ai didi

c# - 尽管存在 dll,但无法识别 Tweetinvi 命名空间

转载 作者:行者123 更新时间:2023-11-30 16:58:51 25 4
gpt4 key购买 nike

我正在使用创建一个 .Net 4.0 应用程序来使用 Tweetinvi API 将内容发布到 Twitter。我不能使用包,所以我下载了 dll 并将它们添加到我的项目中:

References

但是我的包含显示错误:

Includes

我的错误控制台显示:

Error 423 The type or namespace name 'Core' does not exist in the namespace 'Tweetinvi' (are you missing an assembly reference?) {...file...}.cs 10 17 ApiProviders

谁能告诉我为什么会这样,我该如何解决?

最佳答案

Tweetinvi 需要 Bcl.Async包裹。您也需要添加它。

检查 all the dependencies并确保所有都已安装。

但是如前所述,我强烈建议为此使用 NuGet。如果不允许您使用“公共(public)提要”,您可以下载包并将它们放在本地文件夹中,然后将此文件夹添加为 Visual Studio 中的新提要。

关于c# - 尽管存在 dll,但无法识别 Tweetinvi 命名空间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24676008/

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