I'm trying to extract some common code into its own class but am running into problems. I'm new to C#, but not to programming. When I make a new class in its own namespace with C# 2008 Express it seems to compile just fine. But when I open up Multicharts it says the code is unverified and disables it in my chart. Furthermore, the PowerLanguage.NET editor won't compile the code saying:
Code: Select all
The type or namespace name 'PLStudies' could not be found (are you missing a using directive or an assembly reference?)...
I'm not sure why it is looking for PLStudies since I renamed the namespace with the refactoring tools in C# 2008 Express to be PLStudies.MK.
I'm trying to extract any code logic into classes so I can run them standalone within NUnit.
My thanks in advance.