Foo.bla instead of Foo.dll), and FooTest references Foo as project reference. Foo.dll, which obviously doesn't exist. I can work around this issue by just having two copies of the same assembly with two different file extensions, but is there a more elegant way to solve this?