当前位置:网站首页>Visual studio production environment configuration scheme: slowcheetah
Visual studio production environment configuration scheme: slowcheetah
2022-07-19 08:04:00 【[illusory private school]】
High quality resource sharing
| Learning route guidance ( Click unlock ) | Knowledge orientation | Crowd positioning |
|---|---|---|
| 🧡 Python Actual wechat ordering applet 🧡 | Progressive class | This course is python flask+ Perfect combination of wechat applet , From the deployment of Tencent to the launch of the project , Create a full stack ordering system . |
| Python Quantitative trading practice | beginner | Take you hand in hand to create an easy to expand 、 More secure 、 More efficient quantitative trading system |
brief introduction
SlowCheetah It can be compiled in different modes to produce different app.config Configuration requirements , It has been included by Microsoft , Support XML,JSON Format .
Now let's use XML To try how to use SlowCheetah,JSON The method has not been studied yet .
install
- nuget install SlowCheetah, Choose Microsoft Microsoft that

- open vs Extension store install plug-ins SlowCheetah

Use
- Right click app.config file , choice
Add Transform, Generate app.config Variation file

choice Add Transform

Generate variation file
2. Add two configuration items for testing , A user configuration , An application configuration 
Settings file

App.config file
3. modify App.Release.config. take App.config Copy the configuration information in , increase xdt:Transform="Replace" xdt:Locator="Match(name)” Said to find name same xml node , Replace the original value value
more xml Syntax reference http://go.microsoft.com/fwlink/?LinkId=214134
4. Preview similarities and differences . Right click App.Release.config , choice Preview Transform. Preview what you wrote Release Whether the configuration is correct and effective 
choice Preview Transform

Check the similarities and differences
5. Okay , Switch Release Try pattern compilation
How to modify the configuration in the referenced project ?
For example, the project below refers to a Device Project , Right click directly Device Of app.config File add variation , When compiling the main project ,Device The variant in is invalid .
Compare the final compiled app.config, You can find that you need to insert some nodes , So here's the plan
- Insert a name by Device.Properties.Settings Of section node
- Insert a Device.Properties.Settings node
- Be careful
xdt:Transform="Insert”Property indicates that a node is inserted at this location
边栏推荐
- 美联储降息,为何长期利好数字货币市场? 2020-03-05
- The website vulnerability repair service provider analyzes the ultra vires caused by controllable parameters
- the max_ iter was reached which means the coef_ did not converge “the coef_ did not converge“
- Modify radio style
- Visit Beijing Zoo in dog days
- Discussion on risc-v Technology
- [C# 类和对象]-C# 中的方法以及类和对象编程
- Redis jump table implementation principle & time complexity analysis
- The best storage scheme of MCU CS Chuangshi SD NAND
- 半导体材料技术
猜你喜欢

4-channel fmc+ baseband signal processing board (4-channel 2G instantaneous bandwidth ad+da)

分叉币的发展史及价值|ETH、BCH、BSV 2020-03-08

【MySQL】 事务:事务基础知识、MySQL事务实现原理、事务日志 redolog & undolog 详解

VMware cloud director 10.4 release (including download) - cloud computing provisioning and management platform

FMC sub card: 8-channel 125msps sampling rate 16 bit AD acquisition sub card

FMC sub card: 4-way sfp+ 10 Gigabit optical fiber network FMC sub card

How to choose flash for new products?

Semiconductor material technology

redis消息订阅
![[MySQL] transaction: basic knowledge of transaction, implementation principle of MySQL transaction, detailed explanation of transaction log redolog & undo](/img/88/282a6ddfb37944e9cacc62c202364d.png)
[MySQL] transaction: basic knowledge of transaction, implementation principle of MySQL transaction, detailed explanation of transaction log redolog & undo
随机推荐
【特征工程】
[day01] preface, introductory program, constant variables
Practice of online problem feedback module (V): realize the automatic filling function of general field content
Discussion on risc-v Technology
From the casino logic, analyze the investment value of platform currency 2020-03-03
openvino机器学习初体验
美联储降息,为何长期利好数字货币市场? 2020-03-05
[C # console] - C # console class
养老年金保险有必要买吗?适合老人的养老年金产品有哪些?
Jd.com's purchase intention forecast (III)
If a number in C language is exactly equal to the sum of its factors, this number is called "perfect". For example, 6=1 + 2 + 3 programming
Go language Bible
Redis 跳跃表实现原理 & 时间复杂度分析
【C语言】自定义类型详解:结构体、枚举、联合
神经网络和自动控制的联系
Standard Version (release and changelog Automation)
Wechat oauth2.0 login process and security analysis
网站漏洞修复服务商分析可控参数带来的越权
看完代码回首看论文:YOLOv3重读
Understand LSTM and Gru