开发者

Visual Studio 2010 Open Containing Folder Error

开发者 https://www.devze.com 2023-03-13 03:27 出处:网络
When trying to use the Open Containing Folder from Visual Studio 2010 in Windows 7 64-bit, I get the following error about half the time:

When trying to use the Open Containing Folder from Visual Studio 2010 in Windows 7 64-bit, I get the following error about half the time:

Unable to open the folder. It might have be开发者_开发技巧en deleted or existing permissions might be insufficient.

Does anyone have a fix for the problem? I've made a workaround in the following macro:

Public Sub OpenContainingFolder()
    Shell("""C:\Windows\explorer.exe"" /select,""" + DTE.ActiveDocument.FullName + "", AppWinStyle.NormalFocus)
End Sub


Given that this has been open for so long, I'm sticking with the workaround:

Public Sub OpenContainingFolder()
    Shell("""C:\Windows\explorer.exe"" /select,""" + DTE.ActiveDocument.FullName + "", AppWinStyle.NormalFocus)
End Sub
0

精彩评论

暂无评论...
验证码 换一张
取 消