views:

244

answers:

2

Afternoon all,

I really need your help as this is a Nightmare!

I was earlier having a problem with referencing a 3rd Party Dll (Here) but have overcome this problem and am now having a problem referencing my own classes!

Everything seems fine at build with no errors at all but when I go to run the application it comes up with the following Compilation Error:

Compiler Error Message: CS0234: The type or namespace name 'Secure' does not exist in the namespace 'source_extranet' (are you missing an assembly reference?)

The line that the Error points to this line in the class:

source_extranet.Secure.BackendCustomData newdata =
new source_extranet.Secure.BackendCustomData();

This line of code points to a class in the same folder as the calling code class.

I have scoured Google looking for an answer and haven't found anything that points me to an answer to my problem.

Any help would be AMAZING!

A: 

Check that your class Secure also uses the source_extranet namespace. And if its a partial class make sure the partials also have the right namespace.

Gary L Cox Jr
The class namespace is "source_extranet.Secure".
Louis Russell
A: 

This has all been going wrong because a colleague was attempting to add in additional functionality and was clearly very unsuccessful!

Upon reverting his changes it is now working perfectly.

Louis Russell