在Visual Studio 2010为构建输出路径 [英] Output path for build in visual studio 2010

查看:127
本文介绍了在Visual Studio 2010为构建输出路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要输出的程序文件的项目DLL。 $(PROGRAMFILES)\\微软...这不是建设程序文件,但在项目本身的文件夹中名为$(PROGRAMFILES)!

我如何建立程序文件??


解决方案

  1. 在解决方案资源管理器中,右键单击您的项目,点击卸载项目

  2. 项目卸载后,再次右键单击它,然后单击编辑MYPROJECT.csproj

  3. 在打开,将&LT XML编辑器窗口; OutputPath> 元素< OutputPath> $(PROGRAMFILES)LT; / OutputPath> - 要么全部,或只为配置,你感兴趣

  4. 保存并关闭

  5. 右键单击项目再次选择刷新工程

  6. 完成!

I need to output the project dll in program files. "$(PROGRAMFILES)\Microsoft..." It is not building in program files, but in the project itself in a folder called "$(PROGRAMFILES)"!

How do I build in program files??

解决方案

  1. In Solution Explorer, right click your project, click "Unload Project"
  2. After the project unloads, right click on it again, click "Edit MYPROJECT.csproj"
  3. In the XML editor window that opens, change <OutputPath> elements to <OutputPath>$(ProgramFiles)</OutputPath> -- either all of them, or only those for the configurations that interest you
  4. Save and close
  5. Right click on project again, choose "Reload Project"
  6. Done!

这篇关于在Visual Studio 2010为构建输出路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆