PathTooLongException when installing a Visual Studio extension

I am having problems installing the Visual Studio 2010 extension:

Installation error: System.IO.PathTooLongException: C: \ Users \ felix.DOMAIN \ AppData \ Local \ Microsoft \ VisualStudio \ 10.0 \ Extensions \ Vendor \ Vendor 2011 Developer Tools \ 1.0 \ ProjectTemplates \ CSharp \ XYZ \ 1033 \ Vendor.XyzDeveloperTools .XyzPackageProject.zip

I install the extension by double-clicking the .vsix files; therefore, I have no way to reduce the Vendor 2011 developer tools, say VendorTools. Is there any other (more manual) way to install the extension?

By the way, the total length is 199 characters; I thought it was less than 248 characters. I use Win7 64-bit if that matters

+5
source share
4 answers

If you get an error message when you try to install the add-in, the only solution I tried to work with is taken from this resource , thanks to Pedro Reinho :

You should try the following:

  • Close all instances of Visual Studio 2010.
  • Go to the C: \ Program Files \ Microsoft Visual Studio 10.0 \ Common7 \ IDE folder or where you have your Visual Studio 2010 installed.
  • Locate and edit the devenv.pkgdef file in a text editor, such as notepad.
  • Your file should have something like this:

[$ Initialization $] "ApplicationExtensionsFolder" = "$ RootFolder $\ Common7\IDE\Extensions" "PkgDefSearchPath" = "$ ApplicationExtensionsFolder $; $RootFolder $\ Common7\IDE\CommonExtensions; $RootFolder $\ Common7\IDE\devenv.admin.pkgdef;" "UserExtensionsRootFolder" = "$ AppDataLocalFolder $\ Extensions" "RegistryRoot" = " \Microsoft\VisualStudio\10.0"

VSIX. UserExtensionsRootFolder . :

:

"UserExtensionsRootFolder"    = "$AppDataLocalFolder$\Extensions"

:

"UserExtensionsRootFolder"    = "C:\Extensions"

5- . VSIX C:\Extensions

. Vistual Studio 2010 Ultimate 64- Windows XP. , "C:\Extensions" .

+2

codeplex

  • vsix, zip rar, , ,
  • ,  E.g. <Name>V</Name>
  • zip , zip vsix
  • vsix .
+1
0

, .

Visual Studio.

devenv.exe / InstallVSTemplates

This may happen again if you install a new extension. If so, repeat the command above.

0
source

All Articles