Installation fails due to path too long exception

Feb 6, 2013 at 7:23 AM
Hello,

I tried to install LASG 1.0.0.6 with VS2010 Pro, but keep getting the following error
06.02.2013 09:13:32 - Microsoft Visual Studio Extension Installer
06.02.2013 09:13:32 - -------------------------------------------
06.02.2013 09:13:32 - Initializing Install...
06.02.2013 09:13:32 - Extension Details...
06.02.2013 09:13:32 -   Identifier      : LayerGuidance
06.02.2013 09:13:32 -   Name            : Layered Architecture Solution Guidance 2010
06.02.2013 09:13:32 -   Author          : Serena Yeoh
06.02.2013 09:13:32 -   Version         : 1.0.0.6
06.02.2013 09:13:32 -   Description     : A collection of project templates and tools for simplifying the development of Layered Applications.
06.02.2013 09:13:32 -   Locale          : en-US
06.02.2013 09:13:32 -   MoreInfoURL     : http://layerguidance.codeplex.com/
06.02.2013 09:13:32 -   InstalledByMSI  : False
06.02.2013 09:13:32 -   MinFramework    : 4.0
06.02.2013 09:13:32 -   MaxFramework    : 4.0
06.02.2013 09:13:32 - 
06.02.2013 09:13:32 -   Supported Visual Studio Editions : 
06.02.2013 09:13:32 -       Version : 10.0
06.02.2013 09:13:32 -           Ultimate
06.02.2013 09:13:32 -           Premium
06.02.2013 09:13:32 -           Pro
06.02.2013 09:13:32 - 
06.02.2013 09:13:32 -   Supported Isolated Shells : 
06.02.2013 09:13:32 - 
06.02.2013 09:13:32 -   References      : 
06.02.2013 09:13:32 -       -------------------------------------------------------
06.02.2013 09:13:32 -       Identifier   : Microsoft.Practices.RecipeFramework.VisualStudio
06.02.2013 09:13:32 -       Name         : Guidance Automation Extensions
06.02.2013 09:13:32 -       MinVersion   : 2.0
06.02.2013 09:13:32 -       MaxVersion   : 
06.02.2013 09:13:32 -       MoreInfoURL  : 
06.02.2013 09:13:32 -       Nested       : No
06.02.2013 09:13:32 - 
06.02.2013 09:13:32 - 
06.02.2013 09:13:32 - Searching for applicable products...
06.02.2013 09:13:32 - Found installed product - Microsoft Visual Studio 2010 Professional
06.02.2013 09:13:33 - The extension with ID 'LayerGuidance' is not installed to Microsoft Visual Studio 2010 Professional.
06.02.2013 09:13:35 - The following target products have been selected...
06.02.2013 09:13:35 -   Microsoft Visual Studio 2010 Professional
06.02.2013 09:13:35 - 
06.02.2013 09:13:35 - Beginning to install extension to Microsoft Visual Studio 2010 Professional...
06.02.2013 09:13:35 - 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 Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.BeginInstall(IInstallableExtension installableExtension, Boolean perMachine, AsyncOperation asyncOp)
   at Microsoft.VisualStudio.ExtensionManager.ExtensionManagerService.InstallWorker(IInstallableExtension extension, Boolean perMachine, AsyncOperation asyncOp)
What path is meant here?
Maybe it is related to having a German Windows XP SP3 ?!?


Kind regards,
Philippe
Coordinator
Feb 20, 2013 at 11:15 PM
Hi!

LASG currently only supports English version of Visual Studio 2010 and 2012.

Apologies for any inconveniences.

Hugs,
Serena
Feb 26, 2013 at 8:42 AM
Hello!

But I am using an english version of Visual Studio 2010. Only the OS is a german Windows XP SP3.

Could you tell me which path could be the cause for the above failure? Maybe I can then try to manually tinker around ...

Kind regards,
Philippe
Coordinator
Mar 22, 2013 at 12:09 AM
I'm really clueless about this at the moment. The path is handled automatically by the VSIX installer (which the package is created by GAX). I'm not very sure how to specify an absolute path yet. I apologize for that.

At this moment, I know the installer tries to bury the files in this path:

<Drive>:\Users\<Your User Name>\AppData\Local\Microsoft\VisualStudio\<Your VS version>\Extensions\<some random created path name>

I know it is ugly but I still have not figured out whether there are any options for me to specify a nicer name path.

Sorry for the inconveniences.

Hugs,
Serena