One way I found to build a project with its build configuration while debugging is to use msbuild on the command line:
msbuild <YourProject>.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x64
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have searched around the web but did not find any discussions relating to this; I'm aware that Visual Studio has a Hotreload feature, however, that is not what I'm referring to here.
Let's say I have Project A that builds a DLL and Project B that builds an executable.
While debugging the executable, if I try to right click Project A and Build, VS won't let me do that. Instead it prompts me to stop debugging.
Ideal solution would be to compile the DLL from within VS then use UnloadLibrary/LoadLibrary.
Otherwise I'd have to write a cmd utility and keep that in sync with the VS project configuration.
One way I found to build a project with its build configuration while debugging is to use msbuild on the command line:
msbuild <YourProject>.vcxproj /t:Rebuild /p:Configuration=Debug /p:Platform=x64