[英]How to access the files in bin/debug within the project folder in Visual studio 2010?
[英]How to Access Bin Folder of Active Project using visual studio 2010 add in
我想使用创建附加项目后的对象(_applicationObject)访问活动项目的Bin文件夹,直到现在我的代码:
object ob = _applicationObject.ActiveSolutionProjects;
// i want this result
// D:/Myproject/Bin
Environment.CurrentDirectory
返回当前工作目录。
或者你可以使用
System.Reflection.Assembly.GetExecutingAssembly().Location
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.