Unusual requirement. But it can be done. Add a new project to your solution, use the Visual C++ > General > Makefile Project template. Set its NMake > Build Command Line setting to the commands you want to execute. Use Project > Project Dependencies to make all other projects depend on it.
Related Contents:
- What are the various “Build action” settings in Visual Studio project properties and what do they do?
- How can I rename a project folder from within Visual Studio?
- Error: Cannot access file bin/Debug/… because it is being used by another process
- Tool to view the contents of the Solution User Options file (.suo)
- Copying Visual Studio project file(s) to output directory during build
- Using Git with Visual Studio [closed]
- How do I install a NuGet package .nupkg file locally?
- Run exe after msi installation?
- What are the differences between Visual Studio Code and Visual Studio?
- How do I diagnose and fix a Visual Studio (for example 2015, 2017) crash?
- Where is the IIS Express configuration / metabase file found?
- What are the obj and bin folders (created by Visual Studio) used for?
- Command to collapse all sections of code?
- Difference between Rebuild and Clean + Build in Visual Studio
- Where does Visual Studio 2017 store its config?
- Creating virtual directories in IIS express
- Can you force Visual Studio to always run as an Administrator in Windows 8?
- How do I set a path in Visual Studio?
- How can I disable ReSharper in Visual Studio and enable it again?
- How to support both vcxproj to cmake on a project?
- Build NuGet Package automatically including referenced dependencies
- Mercurial .hgignore for Visual Studio 2008 projects
- Exclude files from web site publish in Visual Studio
- Why is Visual Studio 2013 very slow?
- How do you auto format code in Visual Studio?
- How to turn off CodeLens-References
- “Process with an Id of #### is not running” in Visual Studio
- Visual Studio: How do I show all classes inherited from a base class?
- Packages not loading after installing Visual Studio 2015 RTM
- How do I “Add Existing Item” an entire directory structure in Visual Studio?
- How to have TFS 2010 detect changes done to files outside of Visual Studio?
- How to solve ERR_CONNECTION_REFUSED when trying to connect to localhost running IISExpress – Error 502 (Cannot debug from Visual Studio)?
- Warning major version 52 is newer than 51, the highest major version supported by this compiler
- Visual Studio 2017 Debug Error: To prevent an unsafe abort when evaluating the function *.toString all threads were allowed to run
- I want to delete all bin and obj folders to force all projects to rebuild everything
- RunAs A different user when debugging in Visual Studio
- Visual Studio – Attach to process shortcut
- Hidden Features of Visual Studio (2005-2010)?
- Visual Studio 2015 installer hangs during install?
- Visual Studio – Where to define custom path macros?
- What does “Register for COM Interop” actually do?
- How do I use Qt in my Visual Studio 2015 projects?
- How do I change the startup project of a Visual Studio solution via CMake?
- How can I reference a dll in the GAC from Visual Studio?
- Avoiding “Press any key to continue” when running console application from Visual Studio
- Unblocking a DLL on a company machine. How?
- Open two instances of a file in a single Visual Studio session
- What does Visual Studio mean by normalize inconsistent line endings?
- CMake: Visual Studio 15 2017 could not find any instance of Visual Studio
- How to fix “Internal Diagnostics Hub Exception” in VS 2015 Update 1?