Visual Studio Set Project Environment Variables
2024-08-31 15:40:02
Visual Studio Set Project Environment Variables
In Visual Studio you can specify changes to environment variables in the project settings. Open your project, go to Project -> Properties... Under Configuration Properties -> Debugging, edit the Environment value to set environment variables.
For example, if you want to add the directory “c:\foo\bin” to the path when debugging your application, set the Environment value to “PATH=%PATH%;c:\foo\bin”.
Here’s a screenshot of the settings dialog:
当使用第三方库进行开发时,如果某个第三方库有多个版本,为了使多个版本互不影响,且也不想把相关的程序路径设置到电脑的环境变量中去,则可以在Debugging中为某个开发项目设置环境变量。
最新文章
- Linux远程执行Shell命令或脚本
- 用chrome来映射查找样式对应的sass
- C#范型不会用,求助~
- mac系统 下 npm 安装 bower报错
- 汇总常用的jQuery操作Table tr td方法
- PTA 链表删除结点的题目测试
- 全栈必备 Linux 基础
- 内存中 OLTP - 常见的工作负荷模式和迁移注意事项(三)
- eclipse菜单解释及中英对照《二》
- Wormholes(Bellman-ford)
- 简单管理用户SESSION小记(个人观点,欢迎斧正)
- HDU 4405 Aeroplane chess 概率DP 难度:0
- tyvj P1952 Easy(递推+期望)
- “弹出DVD驱动器错误”解决方法
- StringMVC POJO
- Ubuntu 18.04 安装 Apache, MySQL, PHP7, phpMyAdmin
- Mysql数据字典导出
- 多核CPU配合负载均衡可以这样用,为老板省点钱
- 开启swap交换分区
- springmvc防止重复提交拦截器
热门文章
- 14.mocha+should.js
- rest_framework(解析器 上)
- jzoj1495 宝石 解题报告[扫描线]
- [Swift] 随机数 | Random numbers
- plt.rcParams[]
- DedeCMS文章编辑不更新时间1970年1月1日
- Element UI的Table用法
- Linux 文件系统权限
- python 进阶:修饰器的介绍
- 紫书 习题 10-7 UVa 10539(long long + 素数筛)