The main problem I found with / noshadow is that it stops creating your project, since NUnit is now forced to use and block your DLL. If you leave this option disabled, NUnit will create a copy of your DLL.
If you are trying to practice TDD and constantly build your project in the Red, Green, Refactor cycle, then you cannot easily use / noshadow. An error message will appear:
The process cannot access the file 'bin \ Debug \ calculator.dll' because it is being used by another process.
There are probably ways around this, but the main problem I found.
As for when you will use this: I think the main reason is to speed up the performance, but since the most real unit tests run very fast, I'm not sure when you really need it. I'm sure other people will come up with good examples.
Paddyslacker
source share