System.IO.PathTooLongException when installing JetBrains ReSharper 6.1 build 6.1.37.86 in VS 2011 Developer Preview

I realize that ReSharper 6.1 for Visual Studio 11 Developer Preview is not supported, so if nobody has the answer for the following issue, I'll understand.

I attempted to install ReSharper.v6.1.37.86.vs11.0.vsix into Visual Studio 11 Developer Preview and received the following error (twice, so it wasn't one-time fluke):

1/11/2012 3:10:39 PM - Searching for applicable products...
1/11/2012 3:10:40 PM - Found installed product - Microsoft Visual Studio 2010 Ultimate
1/11/2012 3:10:40 PM - Found installed product - Microsoft Visual Studio 2010 Premium
1/11/2012 3:10:40 PM - Found installed product - Microsoft Visual Studio 11 Ultimate Developer Preview
1/11/2012 3:10:40 PM - The extension with ID 'JetBrains.ReSharper' is not installed to Microsoft Visual Studio 11 Ultimate Developer Preview.
1/11/2012 3:10:40 PM - Found installed product - Microsoft Visual Studio 11 Premium Developer Preview
1/11/2012 3:10:40 PM - Found installed product - Microsoft Visual Studio 11 Professional Developer Preview
1/11/2012 3:10:40 PM - Found installed product - Microsoft Visual Studio 11 Shell - Integrated Mode Developer Preview
1/11/2012 3:10:40 PM - Found installed product - Microsoft LightSwitch
1/11/2012 3:10:40 PM - Found installed product - Installed Globally
1/11/2012 3:10:45 PM - The following target products have been selected...
1/11/2012 3:10:45 PM -     Microsoft Visual Studio 11 Ultimate Developer Preview
1/11/2012 3:10:45 PM -
1/11/2012 3:10:45 PM - Beginning to install extension to Microsoft Visual Studio 11 Ultimate Developer Preview...
1/11/2012 3:10:46 PM - Install Error : System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)

   at System.IO.Path.GetDirectoryName(String path)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.WriteFilesToInstallDirectory(InstallableExtensionImpl extension, String installPath, ZipPackage vsixPackage, IDictionary`2 extensionsInstalledSoFar, AsyncOperation asyncOp, UInt64 totalBytesToWrite, UInt64& totalBytesWritten)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallInternal(InstallableExtensionImpl extension, Boolean perMachine, Boolean isNestedExtension, IDictionary`2 extensionsInstalledSoFar, List`1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, UInt64 totalBytesToWrite, UInt64& totalBytesWritten)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.BeginInstall(IInstallableExtension installableExtension, Boolean perMachine, AsyncOperation asyncOp)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallWorker(IInstallableExtension extension, Boolean perMachine, AsyncOperation asyncOp)


Is there a way to fix this issue?  If so, how?

0
2 comments
Avatar
Permanently deleted user

Hello
     What's the full path of Visual Studio installation and full path to .vsix file on your machine? Thank you!

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0

The path to the Visual Studio 11 Developer Preview executable is:

C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe

The path to the ReSharper .vsix file is:

C:\downloads\ReSharper\ReSharper.v6.1.37.86.vs11.0.Vsix

I am logged in as the Domain Administrator when I attempt to install.

Immediately, preceding the attempt to install ReSharper 6.1 into Visual Studio 11 Developer Preview, I had SUCCESSFULLY installed my licensed copy of ReSharper 6.1 into Visual Studio 2010 SP1.

0

Please sign in to leave a comment.