The type or namespace name 'InCharge' could not be found (are you missing a using directive or an assembly reference?)Double-clicking the error takes me straight away to the using line that it claims might be missing. Madness! The answer, as is typical, is simple if not obvious. My project was automatically created with the target framework of .NET Framework 4 Client Profile. You can research what that's all about but it clearly ignores references to other projects. Switching that to simply .NET Framework 4 in the project's properties resolved the issue without any further fuss.
Wednesday, November 2, 2011
Are you missing a using directive? Stupid compiler, you're highlighting the using statement!
So, here I am, bopping along after adding my company's (InCharge Institute) framework library and referencing it in my project. I've added a using statement and completed writing the code, which ReSharper blesses and gives no syntax errors. And yet, I get a compiler error:
Subscribe to:
Post Comments (Atom)
Mocking GCP APIs containing iterator structs
New company & language, who dis? The astute amongst my readers may have noticed that I left Lightbend to go work with some friends who ...
-
tl;dr version Memory issues? Try -XX:+UseSerialGC -Xss8m in your Run Configuration or as command-line parameters. The Problem I'...
-
New company & language, who dis? The astute amongst my readers may have noticed that I left Lightbend to go work with some friends who ...
-
You Were Saying? When last we met , Dear Reader, I was leading into why I think Akka Serverless is the future of software, at least any sof...
No comments:
Post a Comment