Visual Studio Startup Repair command

Source: Internet
Author: User

Today vs can not start, even the command line of the devenv.exe/? Can not do, see Help command, memory is not good, have seen but did not remember Ah, fortunately I installed two different versions of VS, another vs help command can still be seen. Although the repair, or the help command memo, next time will not be unprepared, useful people need also can learn from, most likely the problem is the plugin caused by the problem, Safe mode is most useful, almost can start:

use:devenv [solutionfile | projectfile | anyfile.ext] [switches]the first argument for devenv is usually a solution file or project file. You can also use any other file as the first argument if you want to has thefile open automatically in an editor. When you enter a project file, the Idelooks. sln file with the same base name as the project file in Theparent dire Ctory for the project file. If no such. sln file exists, then theide looks for a single. sln file that references the project.  If no such Single.sln file exists, then the IDE creates an unsaved solution with a default. Slnfile name, which has the same Base name as the project file.  Command line builds:devenv solutionfile.sln/build [solutionconfig] [/project projectnameorfile [/projectconfig name] ]available Command Line switches:/buildBuilds the solution or project with the specified solution configuration. For example "Debug". If multiple platforms is possible, the configuration name must is enclosed in quotes and contain platform name. For example: "Debug| Win32 "./cleanDeletes build outputs./commandStarts the IDE and executes the command./deployBuilds and then deploys the specified build configuration./editOpens the specified files in a running instance of this application. If There is no running instances, it would start a new instance with a simplified window layout./lcidSets the default language in the IDE for the UI./logLogs IDE activity to the specified file for troubleshooting./NoVSIPDisables the VSIP developer ' s license key for VSIP testing. /OutAppends the build log to a specified file./projectSpecifies the project to build, clean, or deploy. Must be used With/build,/rebuild,/clean, Or/deploy./projectconfigOverrides the project configuration specified in the solution configuration. For example "Debug". If multiple platforms is possible, the configuration name must is enclosed in quotes and contain platform name. For example: "Debug|    Win32 ". Must be used with/project./rebuildCleans and then builds the solution or project with the specified configuration./resetaddinRemoves commands and command UI associated with the specified add-in./resetsettingsRestores the IDE ' s default settings, optionally resets to the specified VSSettings file./resetskippkgsClears all skiploading tags added to VSPackages./runCompiles and runs the specified solution./runexitCompiles and runs the specified solution then closes the IDE./SafeModeLaunches the IDE in Safe mode loading minimal windows./upgrade    Upgrades the project or the solution and all projects in it.  A backup of these files would be created as appropriate. Please see help on the ' Visual Studio Conversion Wizard ' For more information on the backup process. Product-specific Switches:/componentsdiff compares, component folders. Requires three Arguments:optionaltfsservercollectionuri Sourceversionedserverfolderpath Ta Rgetversionedserverfolderpath If Optionaltfsservercollectionuri is not provided Tempt is made to use the current TFS project Collection./debugexe Open The specified executable to be debugged.  The remainder of the command line are passed to this executable as its Arguments./diff compares the files.    Takes four Parameters:sourcefile, TargetFile, sourcedisplayname (optional), targetdisplayname (optional)/openprojects Opens versioned Project. Requires three Arguments:optionaltfsservercollectionuri VersIonedprojectserveritempath Optionalsolutionserveritempath If Optionaltfsservercollectionuri Is isn't provided, then an attempt was made to use the current TFS project Collection./tfslink Opens Team    Explorer and launches a viewer for the provided artifact URIs if one is registered. /useenv use PATH, INCLUDE, LIBPATH, and LIB environment variables instead of the IDE paths for VC + + builds.  To attach the debugger from the command line, Use:vsjitdebugger.exe-p<PID>

Visual Studio Startup Repair command

Related Article

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.