I am having difficulties compiling the test project in my .NET solution solution when using any configuration other than "Debug". I am using a th开发者_JS百科ird party assembly (Ninject), the assembly is referenced as usual in my project settings.
It works fine in Debug mode, but when switching to relase I get this error:
Error 13 The type or namespace name 'Core' does not exist in the namespace 'Ninject' (are you missing an assembly reference?) H:\Sites\Zeiterfassung\Zeiterfassung.Tests\TestBase.cs 10 15 Zeiterfassung.Tests
When I switch back to Debug, everything is working fine again.
Here's what surprised me most: I've tried creating a new solution configuration via Visual Studio 2008's Configuration Manager and copied all settings from the Debug solution. Even the resulting configuration has exactly the same problem.
I am guessing that you have added a reference to an Assembly that is located in the bin\Debug folder. Double check where your references are pointing to.
精彩评论