Twitterizer 2和C# - 命名空间找不到 [英] Twitterizer 2 and C# - Namespace could not be found

查看:398
本文介绍了Twitterizer 2和C# - 命名空间找不到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Twitterizer2一个愚蠢的问题,也许我:)。我添加引用twitterizer 2.3.1从我下载与newtonsoft一个接上引用和浏览右击找到他们沿着目录。

I have a silly problem with Twitterizer2 and probably me :) . I add the reference twitterizer 2.3.1 from my downloads directory along with the newtonsoft one by right clicking on references and browsing to find them.

我再加入

using Twitterizer;



你瞧我所有的波浪红色下划线消失

lo and behold all my squiggly red underlines go away

在所有这样的代码:

OAuthTokens tokens = new OAuthTokens();

当我去运行它(与调试),我得到一个错误:

when I go to run it(with debug), I get an error:

错误2类型或命名空间名称'Twitterizer'找不到(是否缺少using指令或程序集引用?)

Error 2 The type or namespace name 'Twitterizer' could not be found (are you missing a using directive or an assembly reference?)

现在$使用Twitterizer b $ b:

Now using Twitterizer;

变成错误(红色波浪)。它就像它已被取消引用。我想补充回来,一切都很好,直到我运行它 - arggh

becomes in error(red and squiggly). It is like it has been dereferenced. I add it back and all is well until I run it - arggh

TIA

推荐答案

您使用VS2010?如果是这样,尝试去项目属性 - >应用程序选项卡,并确保你没有使用中有客户资料框架版本

Are you using VS2010? If so, try to go project properties -> Application Tab and make sure that you are not using a Framework version that has "client profile" in it.

这篇关于Twitterizer 2和C# - 命名空间找不到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆