![](/img/trans.png)
[英]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.