When I was working in the iOS world, I had a set of 4 projects that were nearly identical except for Text Data, PNG, and a few features here and there. To facilitate this, I set up 4 build targets that all pretty much referenced the same source files, but various differing data and image files. After that I could just select the build target from the top menu, and quickly put out that app.
I tried to add multiple projects to a visual studio solution that referenced the same files, but I ended up with "Namespace already contains a reference to XXX class" errors. What is the correct way to accomplish this behavior in Visual Studio (2012 Express)?
EDIT
There is a new error now. What I really want is only the startup project and its dependencies to be built. However, all of the projects get built every time. Now I get a weird error
Manifest references file 'XXX.exe' which is not part of the payload.
I edited both of the manifest files to explicitly use the .exe name, but no success.
Here's a guide to create multiple projects and share the copy of references:
When using open source libraries, should we compile against the source or the binaries?
and this is a similar one, for the references are built with some project in the solution:
How do you organise open-source Visual Studio projects with open-source dependencies?
Note that ..
you can create the projects and share the source file;
you can create the projects and make them have some relation of dependent;
but, you cannot create the projects and share the source file and make them been dependencies to each other directly.
For the
Manifest references file 'XXX.exe' which is not
problem, I found an external link of a solution around that:How to Resolve the ‘Manifest Reference file ‘XYZ’ is not part of the payload