Stop automatically messing with my solution configurations and platforms
Every single time I add a project to a solution, Visual Studio "helpfully" adds to the solution every configuration it finds in the project.
Every single time the project has a platform that the solution doesn't, Visual Studio "helpfully" creates the missing solution platform and also, most annoyingly, "Mixed Platforms".
PLEASE leave them alone. I set them up how I like and I'd like them to stay that way.
Example use case #2:
I create a new project (defaults to x86) and add a Util library (AnyCPU). Wham, I'm only 5 seconds into a new project and I already have to clean up "AnyCPU" and "Mixed Platforms" from my solution platforms.
Example use case #1:
A library project has four configurations: Debug, Release, DebugWithFeatureX, ReleaseWithFeatureX. I add this to a project that has existed for years. The configurations "*WithFeatureX" only make sense for the library; the project is supposed to choose one of them and stick with it.
Instead, the users of the library are forced to clean up these never-watned configurations.
5 comments
-
David W Parvin commented
I have the problem of when I add a brand new project to a solution, it does not get all of the solution's configurations and platforms. The new project has a default set and most have nothing to do with what I do all the time. When I go to try to add the configuration/platform to the project, it tells me that I can't because the solution already has that configuration. To get it set in a new project, I have to remove the configuration/platform from the solution and add it back in. Then I have to undo the checkout of all the other projects and now I can continue working.
-
Rafael Rivera
commented
Oh god, yes. I feel like a maid having to clean up after Visual Studio every time I want to share my solution set/code with someone.
-
Garrett Serack commented
Variations on this bug have irritated me for *years* with Visual Studio--it creating solution platforms that I didn't ask or want (most notably 'Mixed Platforms' ).
I've even given thought to creating a plugin called "No-means-no", but it appears that there isn't any programmable interface to delete unwanted solution platforms in the model.
I deal with a ton of projects that don't have this, don't use this, and don't want this, and I spend a non-trivial amount of time correcting for this.
-
James
commented
Odd... I have the exact OPPOSITE problem!! Every time I add a new project, I have to go in and manually create the solution configurations for it, clicking '<new>' for each configuration, then '<new>' for each platform... for all combinations. Oh, and I have to manually set the project to compile with the rest of the solution???
Please tell me how to get to your problem! : P
-
Qwertie
commented
+1. Except, not +1, cuz I'm out of votes :P