zoukankan      html  css  js  c++  java
  • Building vs solution in command line

    call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
    
    msbuild "%1" /p:Configuration=Release
    
    pause

    解压到目录,然后运行.reg

    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\VisualStudio.Launcher.sln\Shell]
    
    [HKEY_CLASSES_ROOT\VisualStudio.Launcher.sln\Shell\buildDebug]
    @="Build(Debug)"
    
    [HKEY_CLASSES_ROOT\VisualStudio.Launcher.sln\Shell\buildDebug\command]
    @="\"c:\\vsbuild_debug.bat\" \" %1 \""
    
    [HKEY_CLASSES_ROOT\VisualStudio.Launcher.sln\Shell\bulildRelease]
    @="Build(Release)"
    
    [HKEY_CLASSES_ROOT\VisualStudio.Launcher.sln\Shell\bulildRelease\command]
    @="\"c:\\vsbuild_release.bat\" \" %1 \""
    
    [HKEY_CLASSES_ROOT\VisualStudio.Launcher.sln\Shell\Open]
    
    [HKEY_CLASSES_ROOT\VisualStudio.Launcher.sln\Shell\Open\Command]
    @="\"C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\MSEnv\\VSLauncher.exe\" \"%1\""
    
    [HKEY_CLASSES_ROOT\VisualStudio.Launcher.csproj.10.0\Shell]
    
    [HKEY_CLASSES_ROOT\VisualStudio.Launcher.csproj.10.0\Shell\buildDebug]
    @="Build(Debug)"
    
    [HKEY_CLASSES_ROOT\VisualStudio.Launcher.csproj.10.0\Shell\buildDebug\command]
    @="\"c:\\vsbuild_debug.bat\" \" %1 \""
    
    [HKEY_CLASSES_ROOT\VisualStudio.Launcher.csproj.10.0\Shell\bulildRelease]
    @="Build(Release)"
    
    [HKEY_CLASSES_ROOT\VisualStudio.Launcher.csproj.10.0\Shell\bulildRelease\command]
    @="\"c:\\vsbuild_release.bat\" \" %1 \""
    
    [HKEY_CLASSES_ROOT\VisualStudio.Launcher.csproj.10.0\Shell\Open]
    
    [HKEY_CLASSES_ROOT\VisualStudio.Launcher.csproj.10.0\Shell\Open\Command]
    @="\"C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\MSEnv\\VSLauncher.exe\" \"%1\""
    call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86
    
    msbuild "%1" /p:Configuration=Debug
    
    pause
  • 相关阅读:
    jquery事件之事件委托和事件切换
    jquery事件之事件处理函数
    jquery动画效果
    jquery筛选元素函数
    jquery操作DOM
    jquery对css操作
    jquery属性操作
    Jquery选择器(三)
    Jquery选择器(二)
    Jquery选择器(一)
  • 原文地址:https://www.cnblogs.com/shenfengok/p/3109970.html
Copyright © 2011-2022 走看看