Changing a project's files based on solution in Visual Studio 2008 -
In a C # solution I have several projects that share an common Aussiebus Infox file, so that some assembly features Is shared in projects. It works fine as long as I have only one CommonAssemblyInfo.cs file, though I have many solutions (applications) that use these projects, and each common version of each solution is CommonAssemblyInfo.cs.
How can I use a different CommonAssemblyInfo.cs file based on projects in which solution?
In the end, I want my assemblies related to those characteristics, whose solution they have compiled.
I do not think I should resolve them to make files because they can not all be in the same directory with the same filename. I can not use a pre-build event because I do not have a specific project that is always created before I prefer not to use a build script because I have the ability to create and run solutions through the Visual Studio environment Want to
No, I do not believe you can not do this - and for me, this is the first place Sounds like a very bad idea in. If two binaries are made from the same source, then with the same configuration, why do they understand the different characteristics?
What are you trying to achieve with this? Before making your construction more complicated in the IMO, you should have a good reason for an actually and should go in the normal way of doing normal work.
I also suggest that things like the name of the company - namely, in the usual General Code Code> General Asbank. Cs file - then each project with its own project-specific settings, Code> AssemblyInfo.cs , in general. I am not a big fan of sharing privately the projects between any source files, but I can see how this really matters something in this case.
Comments
Post a Comment