We have this problem in my company (my boss doesn't like DLLs, some junk files about version control ...)
We have two paths around it that we often use:
1) Get the CI tool for unit testing: we use TeamCity, which has a rather complicated integration with NUnit, and our solution runs quickly enough (and has quite a few tests) to make this an acceptable option.
2) Manually pre-compile and unit test the resulting binaries: it is quite possible to run the ASP.net/MSBuild compiler from the command line (as if you were doing the Publish assembly) and just unit test as a result of the binaries.
However, if you have the opportunity to split the code into binary files (class libraries) or simply using a web application, I would suggest this as a better alternative.
Ed James Jun 21 '10 at 11:32 2010-06-21 11:32
source share