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:
- Created a new C# Smart Device Project in Visual Studio 2008.
- Added a C# project (Bouncy Castle) to this solution.
- Created a dependency: my Smart Device Project depends on
crypto
, the Bouncy Castle project. - 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.
精彩评论