当前位置:网站首页>Visual Studio新功能出炉:低优先级构建
Visual Studio新功能出炉:低优先级构建
2022-07-31 06:44:00 【拓扑梅尔-漫漫开发路】
近日,C++开发团队很高兴地宣布,一项C++社区高呼的功能:低优先级构建,已经成功开发完成。借助我们合作伙伴团队的反馈和协作,你现在可以在 Visual Studio 中启动低优先级构建。
这将确保MSBuild节点以较低优先级生成,从而影响所有编译和链接进程。 如果在你的日常工作中,发现VS在构建的时候影响了整机的交互响应,则这个是非常适合你的功能!
在内部,VS像服务一样与MSBuild交互。 MSBuild团队添加了新的 API 功能来切换 MSBuild节点的优先级。 从Visual Studio 2022版本17.3 Preview 1 开始,你可以在 [Tools -> Options -> “Projects and Solutions” -> “Build And Run” -> “Run build at low process priority”] 下设置将构建优先级降低。 如果MSBuild节点已经以之前的优先级运行,则给它们几分钟时间让它们超时或重新启动IDE以关闭它们,如下图所示:

如果希望直接在命令行上启动构建,请使用 msbuild.exe -lowPriority 或 -low 以获得类似效果,如下图所示:

如果你希望试试这项新功能,可以下载最新版本的VS 2022,亲自上手把玩把玩。
总结
原谅我就这么直接啊:我的解决方案也就小小80几个工程,老爷机还算带得动,暂时还用不上这玩意儿。
如果以后TopomelBox这东西做大了,我一定会尝尝鲜。
最后
Microsoft Visual C++团队的博客是我非常喜欢的博客之一,里面有很多关于Visual C++的知识和最新开发进展。大浪淘沙,如果你对Visual C++这门古老的技术还是那么感兴趣,则可以经常去他们那(或者我这)逛逛。
本文来自:《MSBuild Low Priority Builds in Visual Studio》

边栏推荐
- MySQL table creation statement_Three commonly used MySQL table creation statements
- 【Go语言刷题篇】Go完结篇函数、结构体、接口、错误入门学习
- Yu Mr Series 】 【 2022 July 022 - Go Go teaching course of container in the dictionary
- DAY18:XSS 漏洞
- 把 VS Code 当游戏机
- 在 ASP.NET Core 应用程序启动时运行代码的 3 种方法
- gstreamer's caps event and new_segment event
- 【科普向】5G核心网架构和关键技术
- Zabbix6.2 Surprise Release!Especially optimize the performance of medium and large environment deployment!
- 2022.07.22_每日一题
猜你喜欢

2022.07.20_Daily Question

【Go语言刷题篇】Go完结篇函数、结构体、接口、错误入门学习

CNN--Introduction to each layer
![Embedded system driver primary [2] - _ parameters and dependencies under the kernel module](/img/c2/22c1e087b92ed2c898f97bcf0e818b.png)
Embedded system driver primary [2] - _ parameters and dependencies under the kernel module

Conditional statements of shell (test, if, case)

2022.07.20_Daily Question

DAY18: XSS vulnerability

【 TA - frost Wolf _may - "one hundred plan" 】 art 2.3 hard surface

XSS靶场prompt.ml过关详解

DAY18:Xss 靶场通关手册
随机推荐
sort函数(快速排列)的使用方法
2022.07.13 _ a day
XSS靶场prompt.ml过关详解
The Perfect Guide|How to use ODBC for Agentless Oracle Database Monitoring?
2022.07.20_Daily Question
【微服务】 微服务学习笔记二:Eureka注册中心的介绍及搭建
PCB抄板
知识、创新、回报。
科普 | “大姨太”ETH 和 “小姨太”ETC的爱恨情仇
电脑开机密码怎么设置?如何给你的电脑加上“安全锁”
2022.07.22 _ a day
事务的四大特性
Jetpack Compose学习(8)——State及remeber
MySQL安装到最后一步 write configuration file 失败 怎么办?及后安装步骤
Yu Mr Series 】 【 2022 July 022 - Go Go teaching course of container in the dictionary
分布式缓存系统必须要解决的四大问题
Zotero | Zotero translator plugin update | Solve the problem that Baidu academic literature cannot be obtained
Leetcode952. Calculate maximum component size by common factor
文件 - 07 删除文件: 根据fileIds批量删除文件及文件信息
van-uploader uploads images, and cannot preview the image using base64 echo