|
-
Apr 8th, 2022, 04:29 PM
#1
[RESOLVED] Recompile Multiple Solutions
Is there any means to recompile many solutions in any automated fashion in both debug and release versions? Failing that, is there a setting such that you can recompile a project for both debug and release versions at the same time without needing to change the setting manually?
The background is kind of in the this thread, especially the third post:
https://www.vbforums.com/showthread....-Has-Gone-Nuts
All the plugins in this project are separate solutions. All of them need to reference a certain common dll. Something went wrong with that common dll. I have no idea quite what it was, but the results were bizarre, to say the least. A class within the dll has a property. It's had that property for years, and nothing has changed. In whatever the event was that prompted me to start that other thread, the property was 'lost'. Recompiling the common dll was not enough. Any plugin that referenced that common dll and made use of the class that had that property started reporting that the property didn't exist any longer. Recompiling the plugin would fix the issue.
So, VS has managed to get it's wires crossed, somehow. The three dozen projects that reference that dll all need to be recompiled, because, while they still have a reference to the common dll, and that common dll isn't just right, it hasn't changed in years, all those projects now think it's lost something that it hasn't lost.
The solution is easy enough: Every one of the projects has to be recompiled...maybe. Since the projects are all plugins, each is in it's own solution. Is there an easy way to recompile them all at once?
Additionally, it has always annoyed me that you have to select Debug or Release versions. I guess I can see that a person might want to make changes to one and leave the other alone (though only making changes to debug while leaving release alone, not vice versa), but I don't. I want to rebuild once time and get a fresh debug and release build. Is that option available?
My usual boring signature: Nothing
 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|