VS2010 “Add Item” directory change

后端 未结 4 1361
臣服心动
臣服心动 2021-01-18 07:03

Is there any way to change the default directory Visual Studio 2010 uses when you add a source file through Add -> New Item?

4条回答
  •  旧时难觅i
    2021-01-18 07:19

    I know this post is old... but maybe someone will stumble upon it... like I did today...

    I had the same "problem":

    I have a dedicated directory for icons.

    When I need to add an icon to the resource file, Visual studio takes me to "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE"

    To fix the problem, after I "browsed" to the desired folder, I right-clicked the favorites of the "open file" dialog and selected "add current location to Favorites".

    Next time you will get this dialog, you simply have to look for the folder in the favorites, and click it.

提交回复
热议问题