I’ve got a visual studio solution with 40 windows mobile projects in it. Because the application uses a form of IoC/DI, almost all of the projects need to be deployed by visual studio. (Yes, it’s a lot. If I could start over again, I would make an effort to keep the number of projects to a minimum.)
I debug the application using a number of different emulators. Whenever I want to debug the application on a different emulator, I have to go through each of the projects and change its ‘Target Device’ property to the appropriate emulator.
Is there an easy way to do this for the entire solution? Thanks.
Change your target for each to Windows CE, which will allow you to target any device. Once you’ve done that, simply expand the solution node so you can see all projects then hold down shift and/or alt and multi select all of the projects (I usually just select the first, hold shift and select the last) and then set the target device.