Visual Studio 啟動修復命令

來源:互聯網
上載者:User

標籤:

 今天VS啟動不了了,連命令列的 devenv.exe /? 都執行不了,看不到協助命令了,記性不好,以前看過但沒記住呀,還好我裝了兩個不同版本的VS, 另一個VS的協助命令還是可以看到的。雖然修複了,還是把協助命令備忘一下,下次就不會措手不及了,有用的人需要也可以借鑒一下,最有可能出現問題的是外掛程式引起的問題,安全模式最有用,幾乎都可以啟動:

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 have thefile open automatically in an editor. When you enter a project file, the IDElooks for an .sln file with the same base name as the project file in theparent directory 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 that 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:/Build    Builds the solution or project with the specified solution    configuration. For example "Debug". If multiple platforms    are possible, the configuration name must be enclosed in quotes    and contain platform name. For example: "Debug|Win32"./Clean    Deletes build outputs./Command    Starts the IDE and executes the command./Deploy    Builds and then deploys the specified build configuration./Edit    Opens the specified files in a running instance of this    application. If there are no running instances, it will    start a new instance with a simplified window layout./LCID    Sets the default language in the IDE for the UI./Log    Logs IDE activity to the specified file for troubleshooting./NoVSIP    Disables the VSIP developer‘s license key for VSIP testing./Out    Appends the build log to a specified file./Project    Specifies the project to build, clean, or deploy.    Must be used with /Build, /Rebuild, /Clean, or /Deploy./ProjectConfig    Overrides the project configuration specified in the solution    configuration. For example "Debug". If multiple platforms are    possible, the configuration name must be enclosed in quotes    and contain platform name. For example: "Debug|Win32".    Must be used with /Project./Rebuild    Cleans and then builds the solution or project with the    specified configuration./ResetAddin    Removes commands and command UI associated with the specified Add-in./ResetSettings    Restores the IDE‘s default settings, optionally resets to    the specified VSSettings file./ResetSkipPkgs    Clears all SkipLoading tags added to VSPackages./Run    Compiles and runs the specified solution./RunExit    Compiles and runs the specified solution then closes the IDE./SafeMode    Launches 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 will be created as appropriate.  Please    see Help on ‘Visual Studio Conversion Wizard‘ for more    information on the backup process.Product-specific switches:/componentsDiff Compares two component folders. Requires three arguments:                OptionalTfsServerCollectionUri SourceVersionedServerFolderPath                 TargetVersionedServerFolderPath                If OptionalTfsServerCollectionUri is not provided, then an                 attempt is made to use the current TFS project collection./debugexe    Open the specified executable to be debugged. The remainder of     the command line is passed to this executable as its arguments./diff    Compares two files.  Takes four parameters:    SourceFile, TargetFile, SourceDisplayName(optional),    TargetDisplayName(optional)/openProjects   Opens versioned project. Requires three arguments:                OptionalTfsServerCollectionUri VersionedProjectServerItemPath                OptionalSolutionServerItemPath                If OptionalTfsServerCollectionUri is not provided, then an                 attempt is made to use the current TFS project collection./TfsLink    Opens Team Explorer and launches a viewer for the     provided artifact URI if one is registered.    /useenv    Use PATH, INCLUDE, LIBPATH, and LIB environment variables    instead of IDE paths for VC++ builds.To attach the debugger from the command line, use:    VsJITDebugger.exe -p <pid>

 

Visual Studio 啟動修復命令

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.