msbuild构建web应用脚本
2015-10-22 10:12
393 查看
@echo off SET DestPath=D:\projectFolder SET SrcPath=D:\srcFolder SET ProjectName=ProjectName SET Configuration=Release RD /S /Q "%DestPath%" rem clear existed directory
:: build project MSBuild "%SrcPath%%ProjectName%.csproj" /p:Configuration=%Configuration% :: deploy project ::/t:TransformWebConfig MSBuild "%SrcPath%%ProjectName%.csproj" /target:_CopyWebApplication /property:OutDir=%DestPath%\ /property:WebProjectOutputDir=%DestPath% /p:Configuration=%Configuration% xcopy "%SrcPath%bin\*.*" "%DestPath%\bin\" /k /y echo ========================================= echo %SrcPath%%ProjectName%.csproj is published echo =========================================
相关文章推荐
- xcode7 中 视图切换时UITabbar变成UIToolbar
- easyUI detailview 展开部分IE错位解决方案
- seajs学习(4)----require 书写约定
- php curl 报错:SSL certificate problem: unable to get local issuer certificate
- requestScope
- serialVersionUID的作用
- 从客户端(content="<p> &nb...")中检测到有潜在危险的 Request.Form 值。
- RequireJS知识总结
- UITableView分割条闪动问题
- UIScrollView UIPageControl
- UIVisualEffectView用法 毛玻璃效果
- easyUI datagrid列字段添加按钮
- EasyUI datagrid 的多条件查询
- 关于ExecuteNonQuery()执行成功却返回-1的问题
- Java中生成的UUID(全局唯一标识符-----(唯一)-------)
- *LeetCode-Count Univalue Subtrees
- Use openCV lib in either Pre-built libraries or yourself build libs
- UGUI 帧动画插件
- Leetcode Verify Preorder Sequence in Binary Search Tree
- *LeetCode-Verify Preorder Sequence in Binary Search Tree