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
  • 相关阅读:
    SQL server 语言基础
    存储过程练习
    触发器
    存储过程
    时间日期函数,类型转化,子查询,分页查询
    数学函数,字符串函数
    用 CREATE TABLE 命令建立表的结构
    结构体,枚举类型
    函数练习
    集合以及特殊集合
  • 原文地址:https://www.cnblogs.com/shenfengok/p/3109970.html
Copyright © 2011-2022 走看看