سؤال

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 me 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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top