开发者

C# ASP.Net The type or namespace name 'Secure' does not exist in the namespace 'source_extranet'

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!


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜