开发者

Added project to VS 2008 solution; created dependency; getting compiler error CS0246

This is probably a very basic error on my part. Here's what I did:

  1. Created a new C# Smart Device Project in Visual Studio 2008.
  2. Added a C# project (Bouncy Castle) to this solution.
  3. Created a dependency: my Smart Device Project depends on crypto, the Bouncy Castle project.
  4. Added some using statements to my project:
    using Org.BouncyCastle.Crypto;
    using Org.BouncyCastle.Crypto.Parameters;
    using Org.BouncyCastle.Security;
    using Org.BouncyCastle.Utilities.Encoders;

Compiling the project gives m开发者_高级运维e four CS0246 errors:

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

I pulled the C# code into the project directly, so I don't know what I'm missing.

Thanks!


Created a dependency

Nobody ever says that. Which I'd have to guess is the source of the problem, you "add a reference". Project + Add Reference.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜