Visual Studio Set Project Environment Variables

eryar@163.com

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中为某个开发项目设置环境变量。

最新文章

  1. Linux远程执行Shell命令或脚本
  2. 用chrome来映射查找样式对应的sass
  3. C#范型不会用,求助~
  4. mac系统 下 npm 安装 bower报错
  5. 汇总常用的jQuery操作Table tr td方法
  6. PTA 链表删除结点的题目测试
  7. 全栈必备 Linux 基础
  8. 内存中 OLTP - 常见的工作负荷模式和迁移注意事项(三)
  9. eclipse菜单解释及中英对照《二》
  10. Wormholes(Bellman-ford)
  11. 简单管理用户SESSION小记(个人观点,欢迎斧正)
  12. HDU 4405 Aeroplane chess 概率DP 难度:0
  13. tyvj P1952 Easy(递推+期望)
  14. “弹出DVD驱动器错误”解决方法
  15. StringMVC POJO
  16. Ubuntu 18.04 安装 Apache, MySQL, PHP7, phpMyAdmin
  17. Mysql数据字典导出
  18. 多核CPU配合负载均衡可以这样用,为老板省点钱
  19. 开启swap交换分区
  20. springmvc防止重复提交拦截器

热门文章

  1. 14.mocha+should.js
  2. rest_framework(解析器 上)
  3. jzoj1495 宝石 解题报告[扫描线]
  4. [Swift] 随机数 | Random numbers
  5. plt.rcParams[]
  6. DedeCMS文章编辑不更新时间1970年1月1日
  7. Element UI的Table用法
  8. Linux 文件系统权限
  9. python 进阶:修饰器的介绍
  10. 紫书 习题 10-7 UVa 10539(long long + 素数筛)