I could probably hack some stupid solution to my problem, but I would love to do it right and save myself future headaches. I can write simple .vcxproj files, but they usually end up being quite beginner-like and poor quality.
I have a large-ish project, which I would like to build with two options. The two options differ from each other simply by the choice of one particular source file (.cs). The source directory contains both source files, each with its own unique file-name. The configuration needs to build, and later initialize the right file at runtime. It is ok to build the two versions separately, but the switch must be clean. I do not really care whether the initialization functions have the same name, or have different names.
I would love to get advice how to formulate that project's vcxproj file, so I can easily switch between building one version or the other version of my project.
Thanks