Command Line compilation solution)

Source: Internet
Author: User
Microsoft (r) Development Environment 7.10.3077.
  
Copyright (c) Microsoft Corp 1984-2001. All rights reserved.
  
Usage:
  
Devenv [solutionfile | projectfile | anyfile. Ext] [Switches]
  
You can call devenv to specify the solution file or project file with the first parameter. You can also call devenv to make the first parameter any other type of file to be opened in the editor. If a project file is provided, IDE will open the project file in the context of the solution by searching for the. sln file with the same base name as the project file in the same directory as the project file. If the. sln file exists, IDE searches for a single. sln file that references the project. If such a single. sln file does not exist, IDE will create an unsaved solution with the default. sln file name, which has the same base name as the project file.
  
Command Line generation:
  
Devenv solutionfile. sln/build solutionconfig [/Project projectnameorfile [/P rojectconfig name]
  
Available command line switches:
  
/Build to generate the specified solution configuration
  
/Project: Specify the project to be generated instead of the Solution
  
You must specify/build to use/Project
  
/Projectconfig specifies the project configuration to be generated (for example, debug)
  
You must specify/project to use/projectconfig
  
/Out writes the generated result to the specified file
  
/Rebuild is similar to/build, but force cleanup is executed first.
  
/Clean
  
/Deploy to generate the specified solution configuration and deploy it
  
/Run the specified solution configuration
  
/Runexit run the specified solution configuration and then terminate
  
/Execute the specified internal command line after the command is started
  
/Mditabs option-based document interface
  
/MDI Interface
  
/FN use the specified font name
  
/Fs uses the specified font size
  
/Lcid: Use the specified language ID
  
/Novsip disable the vsip developer license key for vsip Testing
  
/Safemode only loads the default environment and service for Stability
  
/Resetskippkgs allows vspackages marked as failed to be loaded
  
Reload
  
/Migratesettings migrate some user settings in another version
  
Product-specific switches:
  
/Debugexe open the specified executable file to be debugged.
  
The rest of the command line is used as its parameter
  
To this execution file.
  
/Useenv uses path, include, libpath, and Lib Environment Variables
  
Instead of using the IDE path generated by VC ++.
  
To attach a debugger from a command line, use:
  
Vs7jit.exe-P <pid>

 

 

 

Note: When VS 2005 expressversion is used, Ms does not specify devenv.exe, but I tried it,

The command of devenv.exebasically supports vcexpress.exe. When bulid is used, it uses/make instead of/bulid.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.