views:

65

answers:

2

In debug, everything builds normally. When I try to compile in release mode, I get:

"The type or namespace name 'Castle' could not be found (are you missing a using directive or an assembly reference?)"

I obviously have the reference, or the project would not compile in debug either. So, what am I doing wrong?

+1  A: 

I had a similar problem recently (with some other assemblies). Restarting VS helped.

Mark Seemann
+1  A: 

I had to restart my computer in order to fix this.

Dwayne