locked
Error in VS out of nowhere

    Question

  • Today, I opened my project as usual... and found that XAML IntelliSense didn't work (the code behind worked), VS crashed everytime I deleted a file in the project explorer, and all my page in designer view got this error: (But my application itself can debug and run)

    EDIT: line auto identation in XAML also doesn't work. In short, my XAML editor becomes worse than notepad++ and XAML designer is just unusable.

    Help would be appreciated.

    Best Regards,

    Permagate


    • Edited by Permagate Thursday, May 10, 2012 7:47 AM
    Thursday, May 10, 2012 7:42 AM

All replies

  • Hi, we have the exact same problem occurring inside a specific Visual Studio 11 solution.
    The designer was working fine until yesterday and starting this morning we’ve been experiencing this error.

    As a note, in a new solution the error does not occur.

    Below the complete error message:

    System.NotSupportedException

    The given path's format is not supported.

       at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.DirectInvoke[T](WaitHandle abort, Func`1 func)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TResult,TValue](RemoteHandle`1 targetObject, Func`1 func)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TResult,TValue](RemoteHandle`1 targetObject, Func`2 func)   at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.Microsoft.Expression.DesignHost.IDesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor)   at Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateDesignerViewInfo(IIsolationTarget isolationTarget, IHostSourceItem item, IHostTextEditor editor, CancellationTokenSource cancelSource)

     

    System.NotSupportedException

    The given path's format is not supported.

    Server stack trace:    at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.WaitForCompletion(BlockingCall call)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.Invoke(BlockingCall call)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.Invoke[T](Func`1 func, WaitHandle aborted)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalIn[TResult](IRemoteObject targetObject, Func`1 func)   at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostSourceItem remoteItem, IRemoteHostTextEditor remoteEditor)   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)Exception rethrown at [0]:    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)   at Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner(IRemoteHostSourceItem remoteItem, IRemoteHostTextEditor remoteEditor)   at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerService.<>c__DisplayClass8.<Microsoft.Expression.DesignHost.IDesignerService.CreateDesigner>b__7(IRemoteDesignerService d)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass4`2.<MarshalOut>b__3()   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.DirectInvoke[T](WaitHandle abort, Func`1 func)

     

    System.NotSupportedException

    The given path's format is not supported.

       at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.WaitForCompletion(BlockingCall call)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.Invoke(BlockingCall call)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.Invoke[T](Func`1 func, WaitHandle aborted)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TResult,TValue](RemoteHandle`1 targetObject, Func`1 func)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[TResult,TValue](RemoteHandle`1 targetObject, Func`2 func)   at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalHostShadowCopyTask.Microsoft.Expression.DesignHost.IHostShadowCopyTask.BeginShadowCopyTask(IHostProject hostProject)   at Microsoft.Expression.DesignSurface.Project.ProjectContextManager.InitializeProjectShadowCache(IHostProject project)   at Microsoft.Expression.DesignSurface.Project.ProjectContextManager.GetProjectContext(IHostProject project, IPlatform platform)   at Microsoft.Expression.DesignSurface.Project.ProjectContextManager.GetSourceItemContext(IHostSourceItem sourceItem)   at Microsoft.Expression.DesignSurface.DesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor)   at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerService.<>c__DisplayClass9.<Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerService.CreateDesigner>b__8()   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.<>c__DisplayClassa`1.<Invoke>b__9()   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.Call.Invoke()

     

    System.NotSupportedException

    The given path's format is not supported.

    Server stack trace:    at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)   at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)   at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)   at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)   at System.IO.Directory.CreateDirectory(String path)   at Microsoft.Expression.HostUtility.ShadowCopy.HostShadowCopyProvider.CopyFile(String sourcePath, String destinationPath, Boolean watchFile)   at Microsoft.Expression.HostUtility.ShadowCopy.HostShadowCopyProvider.CacheFiles(String sourceDirectory, String targetDirectory, IEnumerable`1 paths, Boolean watchFiles)   at Microsoft.Expression.HostUtility.ShadowCopy.HostShadowCopyProvider.ShadowCopyFiles(String[] sourcePaths, String sourceRoot, String destinationRoot, Boolean watchFiles)   at Microsoft.Expression.HostUtility.ShadowCopy.HostShadowCopyService.PerformCachedShadowCopy(IHostShadowCopyProvider provider, ShadowCopySource source)   at Microsoft.Expression.HostUtility.ShadowCopy.HostShadowCopyTask.RealizeShadowCopySource(IEnumerable`1 sources)   at Microsoft.Expression.HostUtility.ShadowCopy.HostShadowCopyTask.RealizeShadowCopyStrategy(ShadowCopyStrategy[] newStrategies)   at Microsoft.Expression.HostUtility.ShadowCopy.HostShadowCopyTask.BeginSdkReferenceShadowCopy(IHostProject referencingProject, IHostSdkReference sdkReference)   at Microsoft.Expression.HostUtility.ShadowCopy.HostShadowCopyTask.BeginShadowCopyTask(IHostProject hostProject)   at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteHostShadowCopyTask.<>c__DisplayClass1.<Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteHostShadowCopyTask.BeginShadowCopyTask>b__0()   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalIn[TResult](IRemoteObject targetObject, Func`1 func)   at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteHostShadowCopyTask.Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteHostShadowCopyTask.BeginShadowCopyTask(IRemoteHostProject hostProject)   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)Exception rethrown at [0]:    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)   at Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteHostShadowCopyTask.BeginShadowCopyTask(IRemoteHostProject hostProject)   at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalHostShadowCopyTask.<>c__DisplayClass1.<Microsoft.Expression.DesignHost.IHostShadowCopyTask.BeginShadowCopyTask>b__0(IRemoteHostShadowCopyTask v)   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.<>c__DisplayClass4`2.<MarshalOut>b__3()   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.<>c__DisplayClassa`1.<Invoke>b__9()   at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.Call.Invoke()

    Thank you very much,
    Michele

    Friday, May 11, 2012 11:28 PM
  • Hi Permagate, Michele

    I am trying to involve someone familiar with this topic to further look at this issue.

    Thanks.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us

    Wednesday, May 16, 2012 9:39 AM
    Moderator