views:

30

answers:

2

I am receiving the

CS0234: The type or namespace name '...' does not exist in the namespace '...' (are you missing an assembly reference?)

I notice when I click on "Show Detailed Compiler Output" that the project nor its binary output is referenced in the csc build command. It was working fine before but after I make a few changes in code, my app started to break. Any help would be greatly appreciated!

It's also worth noting I'm using ASP.NET MVC 2.

A: 

Is this a compile time error? I had a similiar error when I made somechanges to my view. If you did any changes in your view and having this kind of issue - let me know, I`ll write how to fix that.

Yaroslav Yakovlev
+1  A: 

It ends up ASP.NET is not so good at resolving references. I ended up adding my assembly to the web.config section and all was good.

Benny