When I select menu Build → Build or anything else, it only builds the currently selected configuration (Debug or Release). How can I make it build, for ex
If you want to use the build button and not build it via menus, you can use the Post-build Command function (or pre-build - it is up to you).
You can parametrize the commands using project properties via macros. It can be useful for auto-copying of final assemblies to central location, etc.