在使用qazxsw poi将qazxsw poi库添加到我的qazxsw poi并尝试示例之后:
我确保添加Tweetinvi
如:
nuget
我收到以下错误:当前上下文中不存在名称'asp.net application
'。
这取决于您使用的版本,但references
是不再使用的旧逻辑。
您现在可以执行以下操作:
using Tweetinvi;
using Tweetinvi.Models;
var applicationCredentials = CredentialsCreator.GenerateApplicationCredentials(ConsumerKey,
ConsumerSecret);
我希望这可以帮助你