.net framework msbuild环境搭建 (不装vs)
1. 安装 .net framework sdk
小于等于 .net framework 4.5 版本的 .net framework sdk 通过 windows sdk 工具安装
从下面额链接找到对应的windows SDK下载:
http://msdn.microsoft.com/en-us/library/windows/desktop/ff851942.aspx
Win8.1 对应 .NET Framework V4.5.1
Win8 对应 V4.5
2.安装msbuild
安装步骤
3.部署到远程服务器
不用 PublishProfile
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\msbuild.exe" ./WebApi.csproj /p:Configuration=Release /p:DeployOnBuild=true /p:DeployTarget=MsDeployPublish /p:MsDeployServiceUrl=192.168.xxx.xxx /p:AllowUntrustedCertificate=True /p:MSDeployPublishMethod=WMSvc /p:UserName="xxxxx" /p:Password="xxxxx" /p:DeployIISAppPath="xxxxx" /p:VisualStudioVersion=16.0
用 PublishProfile
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\msbuild.exe" ./WebApi.csproj /p:Configuration=Release /p:CreatePackageOnPublish=True /p:DeployOnBuild=true /p:PublishProfile=./Properties/PublishProfiles/FolderProfile.pubxml /p:VisualStudioVersion=16.0 /p:Password="xxxxx"
VisualStudioVersion 对应具体的 vs
最新文章
- gitlab使用个人版v16.11
- C程序范例(1)——学生管理系统”数组“实现
- mbed学习之 PWMOUT
- [06]APUE:系统数据文件和信息
- Ubuntu14中supervisor的安装及配置
- [转]backbone.js 初探
- [荐]Js apply()和call()方法详解 - http://www.w3cfuns.com/article-5596443-1-1.html
- nginx:配置详细说明
- ThinkPHP跳转与重定向的区别在哪里
- VHDL学习札记:library and Package
- JVM基础知识总结
- .net视图中日期格式化
- linux版本qq的安装
- Orchard开源ASP.NET MVC CMS简介
- css超简单实现div页面居中【适合做弹出框】
- Flask-SQLAlchemy.........>;model创建表
- 毕加索的艺术——Picasso,一个强大的Android图片下载缓存库,OkHttpUtils的使用,二次封装PicassoUtils实现微信精选
- 使用VMware安装Ubuntu虚拟机,创建后开启显示黑屏的解决方法
- 改造一下jeecg中的部门树
- Ubuntu16.04安装Ambari 2.7.3
热门文章
- python爬取站长之家植物图片
- first集合follow集的求法
- linux 管道,输出重定向,后端执行
- Bag of Tricks for Image Classification with Convolutional Neural Networks笔记
- GStreamer: your gstreamer installation is missing a required plugin in funct
- 项目Beta冲刺(团队)——05.23(1/7)
- ubuntu及Cenos国内镜像下载
- JPA批量插入优化
- 如果用了flex去加一个箭头怎么让他剧中
- [原创]App弱网测试方法介绍