Is it possible to put in place automatically enforced restrictions on the dependencies allowed between projects in Visual Studio?
For example, say I have three simple layers; UI, Business and Data. Can I enforce that UI should never hold a reference to Data and stop the solution from building if such a thing were to happen?
I'd expect a persistent developer to be able to get around this but can see the benefits of it in terms of guiding developers and detecting mistakes early on.