Path too long for Microsoft.VisualStudio.Shell.StartPage.resources.dll

Answered Path too long for Microsoft.VisualStudio.Shell.StartPage.resources.dll

  • Tuesday, November 15, 2011 9:32 AM
     
     

    Hi,

    I have plenty of such error message when debugging for eample a custom AddIn I made for Visual Studio 2010: {"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."} System.Exception {System.IO.PathTooLongException}

    The error occurs during the startup of the Visual Studio used to run the AddIn (instance attached to the debugger) and the path is related to a Microsoft extension. It's not blocking but it's really wierd as the path is a very standard one... So, does this mean that Visual Studio may not run with its onw extensions deployed in such standard path ?

    Here is the call stack:

    mscorlib.dll!System.IO.PathHelper.Append(char value) + 0x8b bytes 
    mscorlib.dll!System.IO.Path.NormalizePath(string path = "C:\\DOCUMENTS AND SETTINGS\\X34058\\LOCAL SETTINGS\\APPLICATION DATA\\MICROSOFT\\VISUALSTUDIO\\10.0\\EXTENSIONS\\MICROSOFT\\PRODUCTIVITY POWER TOOLS\\10.0.20427.10\\en-US\\Microsoft.VisualStudio.Shell.StartPage.resources\\Microsoft.VisualStudio.Shell.StartPage.resources.dll", bool fullCheck = true, int maxPathLength = 260) + 0x220 bytes 
    mscorlib.dll!System.IO.Path.GetFullPathInternal(string path) + 0x2f bytes 
    mscorlib.dll!System.IO.File.Exists(string path) + 0x42 bytes 
    Microsoft.VisualStudio.Platform.AppDomainManager.dll!Microsoft.VisualStudio.Platform.VsAppDomainManager.InnerResolveHandler(string name = "Microsoft.VisualStudio.Shell.StartPage.resources, Version=10.0.0.0, Culture=en-US, PublicKeyToken=b03f5f7f11d50a3a") + 0x99 bytes 
    Microsoft.VisualStudio.Platform.AppDomainManager.dll!Microsoft.VisualStudio.Platform.VsAppDomainManager.ResolveHandler(object sender, System.ResolveEventArgs args) + 0x8 bytes 
    mscorlib.dll!System.AppDomain.OnAssemblyResolveEvent(System.Reflection.RuntimeAssembly assembly = null, string assemblyFullName = "Microsoft.VisualStudio.Shell.StartPage.resources, Version=10.0.0.0, Culture=en-US, PublicKeyToken=b03f5f7f11d50a3a") + 0x99 bytes 
    [Native to Managed Transition] 
    [Managed to Native Transition] 
    mscorlib.dll!System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(string name, System.Globalization.CultureInfo culture = {System.Globalization.CultureInfo}, System.Version version, bool throwOnFileNotFound, ref System.Threading.StackCrawlMark stackMark) + 0x97 bytes 
    mscorlib.dll!System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(System.Globalization.CultureInfo lookForCulture = {System.Globalization.CultureInfo}, ref System.Threading.StackCrawlMark stackMark) + 0xda bytes 
    mscorlib.dll!System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(System.Globalization.CultureInfo culture = {System.Globalization.CultureInfo}, System.Collections.Generic.Dictionary<string,System.Resources.ResourceSet> localResourceSets = Count = 0, bool tryParents = true, bool createIfNotExists = true, ref System.Threading.StackCrawlMark stackMark = LookForMyCaller) + 0x25c bytes 
    mscorlib.dll!System.Resources.ResourceManager.InternalGetResourceSet(System.Globalization.CultureInfo requestedCulture, bool createIfNotExists = true, bool tryParents = true, ref System.Threading.StackCrawlMark stackMark = LookForMyCaller) + 0x231 bytes 
    mscorlib.dll!System.Resources.ResourceManager.InternalGetResourceSet(System.Globalization.CultureInfo culture, bool createIfNotExists, bool tryParents) + 0x31 bytes 
    mscorlib.dll!System.Resources.ResourceManager.GetObject(string name = "styles/startpageresources.baml", System.Globalization.CultureInfo culture = {System.Globalization.CultureInfo}, bool wrapUnmanagedMemStream = false) + 0x10b bytes 
    mscorlib.dll!System.Resources.ResourceManager.GetStream(string name = "styles/startpageresources.baml", System.Globalization.CultureInfo culture) + 0x13 bytes 
    PresentationCore.dll!MS.Internal.Resources.ResourceManagerWrapper.GetStream(string name = "styles/startpageresources.baml") + 0x4c bytes 
    PresentationFramework.dll!MS.Internal.AppModel.ResourcePart.EnsureResourceLocationSet() + 0xba bytes 
    PresentationFramework.dll!MS.Internal.AppModel.ResourcePart.GetStreamCore(System.IO.FileMode mode, System.IO.FileAccess access) + 0xf bytes 
    WindowsBase.dll!System.IO.Packaging.PackagePart.GetStream(System.IO.FileMode mode, System.IO.FileAccess access) + 0x32 bytes 
    PresentationCore.dll!System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream() + 0xa4 bytes 
    PresentationCore.dll!System.IO.Packaging.PackWebResponse.GetResponseStream() + 0x24 bytes 
    PresentationCore.dll!System.IO.Packaging.PackWebResponse.ContentType.get() + 0x27 bytes 
    PresentationCore.dll!MS.Internal.WpfWebRequestHelper.GetContentType(System.Net.WebResponse response = {System.IO.Packaging.PackWebResponse}) + 0x66 bytes 
    PresentationCore.dll!MS.Internal.WpfWebRequestHelper.GetResponseStream(System.Net.WebRequest request, out MS.Internal.ContentType contentType = null) + 0x15 bytes 
    PresentationFramework.dll!System.Windows.ResourceDictionary.Source.set(System.Uri value) + 0xa6 bytes 
    PresentationFramework.dll!System.Windows.Baml2006.WpfSharedBamlSchemaContext.Create_BamlProperty_ResourceDictionary_Source.AnonymousMethod__1c4(object target, object value) + 0x58 bytes 
    PresentationFramework.dll!System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(object instance, object value) + 0x27 bytes 
    System.Xaml.dll!MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(System.Xaml.XamlMember member, object obj, object value) + 0x21 bytes 
    System.Xaml.dll!MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(object inst, System.Xaml.XamlMember property = {System.Windows.Baml2006.WpfKnownMember}, object value) + 0x3a bytes 
    System.Xaml.dll!MS.Internal.Xaml.Runtime.PartialTrustTolerantRuntime.SetValue(object obj = {System.Windows.ResourceDictionary}, System.Xaml.XamlMember property = {System.Windows.Baml2006.WpfKnownMember}, object value = {System.Uri}) + 0x43 bytes 
    System.Xaml.dll!System.Xaml.XamlObjectWriter.SetValue(object inst, System.Xaml.XamlMember property, object value) + 0x3b bytes 
    System.Xaml.dll!System.Xaml.XamlObjectWriter.Logic_ApplyPropertyValue(MS.Internal.Xaml.Context.ObjectWriterContext ctx = {MS.Internal.Xaml.Context.ObjectWriterContext}, System.Xaml.XamlMember prop = {System.Windows.Baml2006.WpfKnownMember}, object value = {System.Uri}, bool onParent = true) + 0x5e bytes 
    System.Xaml.dll!System.Xaml.XamlObjectWriter.Logic_DoAssignmentToParentProperty(MS.Internal.Xaml.Context.ObjectWriterContext ctx = {MS.Internal.Xaml.Context.ObjectWriterContext}) + 0xc9 bytes 
    System.Xaml.dll!System.Xaml.XamlObjectWriter.Logic_AssignProvidedValue(MS.Internal.Xaml.Context.ObjectWriterContext ctx) + 0x3a bytes 
    System.Xaml.dll!System.Xaml.XamlObjectWriter.WriteEndMember() + 0x2a3 bytes 
    System.Xaml.dll!System.Xaml.XamlWriter.WriteNode(System.Xaml.XamlReader reader) + 0x34 bytes 
    PresentationFramework.dll!System.Windows.Markup.WpfXamlLoader.TransformNodes(System.Xaml.XamlReader xamlReader = {System.Windows.Baml2006.Baml2006Reader}, System.Xaml.XamlObjectWriter xamlWriter = {System.Xaml.XamlObjectWriter}, bool onlyLoadOneNode = false, bool skipJournaledProperties = false, bool shouldPassLineNumberInfo = true, System.Xaml.IXamlLineInfo xamlLineInfo = {System.Windows.Baml2006.Baml2006Reader}, System.Xaml.IXamlLineInfoConsumer xamlLineInfoConsumer = {System.Xaml.XamlObjectWriter}, MS.Internal.Xaml.Context.XamlContextStack<System.Windows.Markup.WpfXamlFrame> stack = {MS.Internal.Xaml.Context.XamlContextStack<System.Windows.Markup.WpfXamlFrame>}, System.Windows.Markup.IStyleConnector styleConnector = null) + 0x1e2 bytes 
    PresentationFramework.dll!System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader xamlReader, System.Xaml.IXamlObjectWriterFactory writerFactory, bool skipJournaledProperties, object rootObject, System.Xaml.XamlObjectWriterSettings settings, System.Uri baseUri = {System.Uri}) + 0x115 bytes 
    PresentationFramework.dll!System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader xamlReader = {System.Windows.Baml2006.Baml2006Reader}, bool skipJournaledProperties, object rootObject, System.Xaml.Permissions.XamlAccessLevel accessLevel, System.Uri baseUri) + 0x3d bytes 
    PresentationFramework.dll!System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream stream = {MS.Internal.AppModel.BamlStream}, System.Windows.Markup.ParserContext parserContext = {System.Windows.Markup.ParserContext}, object parent, bool closeStream = true) + 0x1e2 bytes 
    PresentationFramework.dll!System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream stream, System.Windows.Markup.ParserContext pc) + 0xb6 bytes 
    PresentationFramework.dll!System.Windows.Application.LoadComponent(System.Uri resourceLocator, bool bSkipJournaledProperties) + 0xf6 bytes 
    PresentationFramework.dll!System.Windows.Application.LoadComponent(System.Uri resourceLocator) + 0x58 bytes 
    Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.StartPageToolWindow.LoadStartPage(string filename = "Microsoft.VisualStudio.Shell.UI.Internal;component/StartPage.xaml") + 0x55 bytes 
    Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.StartPageToolWindow.LoadAndSet() + 0x81 bytes 
    Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.PlatformUI.StartPageToolWindow.StartPageToolWindowLoaded(object sender, System.EventArgs e) + 0x72 bytes 
    PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object target, System.Windows.RoutedEventArgs routedEventArgs) + 0x78 bytes 
      PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source = {Microsoft.VisualStudio.PlatformUI.StartPageToolWindow}, System.Windows.RoutedEventArgs args = {System.Windows.RoutedEventArgs}, bool reRaised = false) + 0x1ae bytes 
      PresentationCore.dll!System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender = {Microsoft.VisualStudio.PlatformUI.StartPageToolWindow}, System.Windows.RoutedEventArgs args = {System.Windows.RoutedEventArgs}) + 0x79 bytes 
      PresentationCore.dll!System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs e) + 0x17 bytes 
      PresentationFramework.dll!System.Windows.BroadcastEventHelper.BroadcastEvent(System.Windows.DependencyObject root, System.Windows.RoutedEvent routedEvent = {System.Windows.RoutedEvent}) + 0x135 bytes 
      PresentationFramework.dll!System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(object root) + 0xa9 bytes 
      PresentationCore.dll!MS.Internal.LoadedOrUnloadedOperation.DoWork() + 0x16 bytes 
      PresentationCore.dll!System.Windows.Media.MediaContext.FireLoadedPendingCallbacks() + 0x35 bytes 
      PresentationCore.dll!System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() + 0x2e bytes 
      PresentationCore.dll!System.Windows.Media.MediaContext.RenderMessageHandlerCore(object resizedCompositionTarget = {System.Windows.Interop.HwndTarget}) + 0x8a bytes 
      PresentationCore.dll!System.Windows.Media.MediaContext.RenderMessageHandler(object resizedCompositionTarget) + 0x2c bytes 
      PresentationCore.dll!System.Windows.Media.MediaContext.Resize(System.Windows.Media.ICompositionTarget resizedCompositionTarget) + 0x3b bytes 
      PresentationCore.dll!System.Windows.Interop.HwndTarget.OnResize() + 0x14d bytes 
      PresentationCore.dll!System.Windows.Interop.HwndTarget.HandleMessage(MS.Internal.Interop.WindowMessage msg, System.IntPtr wparam, System.IntPtr lparam) + 0x208 bytes 
      PresentationCore.dll!System.Windows.Interop.HwndSource.HwndTargetFilterMessage(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled = false) + 0x3a bytes 
      WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd = 3408964, int msg = 5, System.IntPtr wParam = 0, System.IntPtr lParam = 1704583, ref bool handled = false) + 0xbe bytes 
      WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x7d bytes 
      WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x53 bytes 
      WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source = {System.Windows.Threading.Dispatcher}, System.Delegate method, object args, int numArgs, System.Delegate catchHandler = null) + 0x42 bytes 
      WindowsBase.dll!System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0xb4 bytes 
      WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd = 3408964, int msg = 5, System.IntPtr wParam = 0, System.IntPtr lParam = 1704583) + 0x104 bytes 
      [Native to Managed Transition] 
      [Managed to Native Transition] 
      WindowsBase.dll!MS.Win32.HwndSubclass.DefWndProcWrapper(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0x50 bytes 
      [Native to Managed Transition] 
      [Managed to Native Transition] 
      WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0x140 bytes 
      [Native to Managed Transition] 
      [Managed to Native Transition] 
      PresentationCore.dll!System.Windows.Interop.HwndSource.Resize(System.Windows.Size newSize) + 0x90 bytes 
      PresentationCore.dll!System.Windows.Interop.HwndSource.OnLayoutUpdated(object obj, System.EventArgs args) + 0xe5 bytes 
      PresentationCore.dll!System.Windows.ContextLayoutManager.fireLayoutUpdateEvent() + 0xf5 bytes 
      PresentationCore.dll!System.Windows.ContextLayoutManager.UpdateLayout() + 0x8b8 bytes 
      PresentationCore.dll!System.Windows.UIElement.UpdateLayout() + 0x16 bytes 
      PresentationCore.dll!System.Windows.Interop.HwndSource.SetLayoutSize() + 0x148 bytes 
      PresentationCore.dll!System.Windows.Interop.HwndSource.RootVisualInternal.set(System.Windows.Media.Visual value) + 0x10e bytes 
      PresentationCore.dll!System.Windows.Interop.HwndSource.RootVisual.set(System.Windows.Media.Visual value) + 0x1e bytes 
      Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.HwndToolbarHost.OnToolbarTrayCreated(Microsoft.VisualStudio.PlatformUI.VsToolWindowToolBarTray newTray, Microsoft.VisualStudio.Shell.Interop.VSTWT_LOCATION trayLocation = VSTWT_TOP) + 0x4e bytes 
      Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.BaseToolbarHost.AddToolbar(ulong id, Microsoft.VisualStudio.Shell.Interop.VSTWT_LOCATION location, Microsoft.VisualStudio.OLE.Interop.IDropTarget dropTarget, bool copyToolbarData) + 0x138 bytes 
      Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.BaseToolbarHost.AddToolbar(Microsoft.VisualStudio.Shell.Interop.VSTWT_LOCATION location, ref System.Guid toolbarGuid, uint toolbarId) + 0x5c bytes 
      Microsoft.VisualStudio.TeamFoundation.VersionControl.dll!Microsoft.VisualStudio.TeamFoundation.VersionControl.ToolbarExplorerScc.ToolbarExplorerScc(System.Windows.Forms.Panel toolbarPanel = {System.Windows.Forms.Panel}, Microsoft.VisualStudio.TeamFoundation.VersionControl.ToolWindowFormBase container = {Microsoft.VisualStudio.TeamFoundation.VersionControl.ToolWindowSccExplorerForm}) + 0xa6 bytes 
      Microsoft.VisualStudio.TeamFoundation.VersionControl.dll!Microsoft.VisualStudio.TeamFoundation.VersionControl.ExplorerSccVS.CreateToolbar() + 0x36 bytes 
      Microsoft.TeamFoundation.VersionControl.Controls.dll!Microsoft.TeamFoundation.VersionControl.Controls.ExplorerScc.OnLoad(System.EventArgs e) + 0x22 bytes 
      Microsoft.VisualStudio.TeamFoundation.VersionControl.dll!Microsoft.VisualStudio.TeamFoundation.VersionControl.ExplorerSccVS.OnLoad(System.EventArgs e) + 0x3b bytes 
      System.Windows.Forms.dll!System.Windows.Forms.UserControl.OnCreateControl() + 0x2a bytes 
      System.Windows.Forms.dll!System.Windows.Forms.Control.CreateControl(bool fIgnoreVisible) + 0x18f bytes 
      System.Windows.Forms.dll!System.Windows.Forms.Control.CreateControl(bool fIgnoreVisible = false) + 0x152 bytes 
      System.Windows.Forms.dll!System.Windows.Forms.Control.CreateControl() + 0x24 bytes 
      System.Windows.Forms.dll!System.Windows.Forms.Control.WmShowWindow(ref System.Windows.Forms.Message m) + 0x9f bytes 
      System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x308 bytes 
      System.Windows.Forms.dll!System.Windows.Forms.ScrollableControl.WndProc(ref System.Windows.Forms.Message m) + 0x2a bytes 
      System.Windows.Forms.dll!System.Windows.Forms.Form.WmShowWindow(ref System.Windows.Forms.Message m) + 0x50 bytes 
      System.Windows.Forms.dll!System.Windows.Forms.Form.WndProc(ref System.Windows.Forms.Message m) + 0x209 bytes 
      Microsoft.VisualStudio.TeamFoundation.VersionControl.dll!Microsoft.VisualStudio.TeamFoundation.VersionControl.ToolWindowFormBase.WndProc(ref System.Windows.Forms.Message m) + 0x49 bytes 
      System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x13 bytes 
      System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x31 bytes 
      System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg = 24, System.IntPtr wparam, System.IntPtr lparam) + 0x64 bytes 
      [Native to Managed Transition] 
      [Managed to Native Transition] 
      Microsoft.VisualStudio.Shell.10.0.dll!Microsoft.VisualStudio.Shell.UIWin32ElementWrapper.Create(System.IntPtr parent, out System.IntPtr pHandle = 0) + 0x93 bytes 
      Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.UIElementDocumentObject.Init(bool initSize) + 0x15d bytes 
      Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.InitializeDocumentObject(object punkView) + 0x7d bytes 
      Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.CreateContentPane(string pszName, int fDockViewOn, int fDocument, string lpstrMkDoc, uint eCreateWindowFlags, uint dwToolWinId, object punkView, object punkData, Microsoft.VisualStudio.OLE.Interop.IServiceProvider pServiceProvider, Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy pUIHierarchy, uint vsid, out int pfDefaultPosition, ref System.Guid rguidCmdUI, out Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame ppWindowFrame = null) + 0x1f5 bytes 
      [Native to Managed Transition] 
      [Managed to Native Transition] 
      Microsoft.VisualStudio.Shell.10.0.dll!Microsoft.VisualStudio.Shell.Package.CreateToolWindow(System.Type toolWindowType = {Name = "ToolWindowSccExplorer" FullName = "Microsoft.VisualStudio.TeamFoundation.VersionControl.ToolWindowSccExplorer"}, int id = 0, Microsoft.VisualStudio.Shell.ProvideToolWindowAttribute tool) + 0x1bb bytes 
      Microsoft.VisualStudio.Shell.10.0.dll!Microsoft.VisualStudio.Shell.Package.FindToolWindow(System.Type toolWindowType, int id, bool create, Microsoft.VisualStudio.Shell.ProvideToolWindowAttribute tool) + 0x5b bytes 
      Microsoft.VisualStudio.Shell.10.0.dll!Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsToolWindowFactory.CreateToolWindow(ref System.Guid toolWindowType, uint id) + 0xd5 bytes 
      Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent() + 0x111 bytes 
      Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.EnsureContentConstructed() + 0x61 bytes 
      Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.OnContentShowing(Microsoft.VisualStudio.PlatformUI.Shell.View view) + 0x2f bytes 
      Microsoft.VisualStudio.Platform.WindowManagement.dll!Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.OnViewContentShowing(object sender, Microsoft.VisualStudio.PlatformUI.Shell.Controls.ViewEventArgs args) + 0x6e bytes 
      [Native to Managed Transition] 
      mscorlib.dll!System.Delegate.DynamicInvokeImpl(object[] args) + 0x77 bytes 
      PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeEventHandler(System.Delegate genericHandler, object genericTarget) + 0x93 bytes 
      PresentationCore.dll!System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate handler, object target) + 0x29 bytes 
      PresentationCore.dll!System.Windows.RoutedEventHandlerInfo.InvokeHandler(object target, System.Windows.RoutedEventArgs routedEventArgs) + 0x3e bytes 
      PresentationCore.dll!System.Windows.EventRoute.InvokeHandlersImpl(object source = {Microsoft.VisualStudio.PlatformUI.Shell.Controls.ViewPresenter}, System.Windows.RoutedEventArgs args = {Microsoft.VisualStudio.PlatformUI.Shell.Controls.ViewEventArgs}, bool reRaised = false) + 0x1ae bytes 
      PresentationCore.dll!System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject sender = {Microsoft.VisualStudio.PlatformUI.Shell.Controls.ViewPresenter}, System.Windows.RoutedEventArgs args = {Microsoft.VisualStudio.PlatformUI.Shell.Controls.ViewEventArgs}) + 0x79 bytes 
      PresentationCore.dll!System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs e) + 0x17 bytes 
      Microsoft.VisualStudio.Shell.ViewManager.dll!Microsoft.VisualStudio.PlatformUI.Shell.Controls.ViewPresenter.AsyncRaiseEvent.AnonymousMethod__2(object arg) + 0x3e bytes 
      WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x53 bytes 
      WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source = {System.Windows.Threading.Dispatcher}, System.Delegate method, object args, int numArgs, System.Delegate catchHandler = null) + 0x42 bytes 
      WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() + 0x8d bytes 
      WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(object state) + 0x38 bytes 
      mscorlib.dll!System.Threading.ExecutionContext.runTryCode(object userData) + 0x51 bytes 
      [Native to Managed Transition] 
      [Managed to Native Transition] 
      mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x6a bytes 
      mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool ignoreSyncCtx) + 0x7e bytes 
      mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x2c bytes 
      WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() + 0x68 bytes 
      WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() + 0x15e bytes 
      WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x63 bytes 
      WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd = 852774, int msg = 49879, System.IntPtr wParam = 0, System.IntPtr lParam = 0, ref bool handled = false) + 0xbe bytes 
      WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x7d bytes 
      WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x53 bytes 
      WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source = {System.Windows.Threading.Dispatcher}, System.Delegate method, object args, int numArgs, System.Delegate catchHandler = null) + 0x42 bytes 
      WindowsBase.dll!System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0xb4 bytes 
      WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd = 852774, int msg = 49879, System.IntPtr wParam = 0, System.IntPtr lParam = 0) + 0x104 bytes 

    V.


    Valéry Letroye

All Replies

  • Thursday, November 17, 2011 3:05 AM
    Moderator
     
     Answered

    Hi Valery

    Full paths must not exceed 260 characters to maintain compatibility with Windows operating systems. It is a limitation from Windows OS. For more information about this restriction, see the entry Long Paths in .NET in the BCL Team blog.

     

    The path "C:\\DOCUMENTS AND SETTINGS\\X34058\\LOCAL SETTINGS\\APPLICATION DATA\\MICROSOFT\\VISUALSTUDIO\\10.0\\EXTENSIONS\\MICROSOFT\\PRODUCTIVITY POWER TOOLS\\10.0.20427.10\\en-US\\Microsoft.VisualStudio.Shell.StartPage.resources\\Microsoft.VisualStudio.Shell.StartPage.resources.dll" is exactly 260 characters. I believe you are using Windows XP, in Windows Vista and later OS, the DOCUMENTS AND SETTINGS and LOCAL SETTINGS are replaced by users/ProgramData and Local, which are more shorter. Therefore this will not an issue in general in Vista and 7. So far, we can create a shorter user name, 5 characters, to override this issue.

     

    The extension you mentioned is Productivity Power Tools, I suggest you report this issue to http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef.

     

    Regards,

    Yi

     


    Yi Feng Li [MSFT]
    MSDN Community Support | Feedback to us
    • Marked As Answer by Valéry Letroye Thursday, November 17, 2011 8:03 AM
    •  
  • Thursday, November 17, 2011 8:08 AM
     
     

    We are indeed still working on XP (and "fortunately", a move to Windows 7 is planned at my current customer's company :)

    I will post on this issue where you suggest to do it and see if there is any workaround suggested for XP and my user name (which may not be changed :/)

     

    thx again,

     

    V.


    Valéry Letroye
  • Friday, October 12, 2012 3:14 AM
     
     
    Path too long?

    In fact,ifafile wecan’t deleteit, that our mentality is very bed. I am new here but I can give a small suggestion. Please note that, Long Path Tool helped me in this situation, so you can download “Long Path Tool". Thank you so much.