I want to tidy up my solution and came up with the following structure
- Project 1: MainApp (just the app, references Controls)
- Project 2: Controls (contains controls and references ViewModel)
- Project 3: ViewModel (contains the viewmodel references Model)
- Project 4: Model (contains the model)
When I run the project now, I get a FileNotFound error for the ViewModel.dll. If I check the bin folder of the MainApp, I see a the Controls.dll, but not the ViewModel.dll.
How do I configure the project, so that all dll's are copied to the bin folder of the MainApp?
Edit: I am using Visual Studio 2015 and not MS Build.