gpt4 book ai didi

windows-8 - Visual Studio 2012 设计器在开发人员许可证续订后崩溃

转载 作者:行者123 更新时间:2023-12-03 06:52:01 24 4
gpt4 key购买 nike

这件事发生在我身上两次。一旦我的开发者许可证到期并提示我续订,我的 Visual Studio 设计器就开始崩溃,当我尝试加载任何 xmal 时,我会收到以下异常:

System.Runtime.InteropServices.COMException
The application cannot be started. Try reinstalling the application to fix the problem. (Exception from HRESULT: 0x80073CFC)
at Microsoft.Expression.HostUtility.AppPackage.AppPackageNativeMethods.IApplicationActivationManager.ActivateApplication(String appUserModelId, String activationContext, ActivateOptions options, Int32& processId)
at Microsoft.Expression.HostUtility.AppPackage.WrtUtility.ActivateApplication(String appUserModelId, String activationContext, Object site)
at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.ActivateApplicationInternal(String appUserModelId, String activationContext, Object site)
at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary environmentVariables, Int32& processId, Object& processData)
at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain..ctor(ProcessDomainFactory factory, IIsolationBoundary boundary, AppDomainSetup appDomainInfo, FrameworkName targetFramework, String identifier, String baseDirectory)
at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
at Microsoft.Expression.HostUtility.Platform.AppContainerProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.Initialize()
at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type)
at Microsoft.Expression.DesignHost.Isolation.IsolatedExportProvider.Initialize()
at Microsoft.VisualStudio.ExpressionHost.Services.VSIsolationService.CreateExportProvider(IIsolationTarget isolationTarget, ICatalogFactory catalogFactory, IExportFilter filter)
at Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
at Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry)
at Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)
at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func`2 func, CancellationToken cancelToken)
at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.<>c__DisplayClassa`1.<StartTask>b__6()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()

我已经尝试了很多方法来找到问题的解决方案,但没有任何效果,唯一的出路就是重新安装 Windows 并重新安装 Visual Studio。

最佳答案

尝试清除 Visual Studio 和 Team Foundation 服务器(如果适用)缓存。我知道这听起来很奇怪,但我的团队都经历了一个非常相似的问题,这是唯一一致有效的方法(除了完全重新安装)。

删除这些位置中的所有文件:

TFS 缓存:C:\Users[用户名]\AppData\Local\Microsoft\Team Foundation[版本]\Cache

一个可能的 VS 缓存位置:c:\Users\\AppData\Local\Temp\VWDCache

连接问题可能适用,也可能不适用,只是表明 VS 加载的项目的缓存版本可能与您的情况有冲突的许可证信息:https://connect.microsoft.com/VisualStudio/feedback/details/758523/visual-studio-2012-reloads-a-cached-version-of-an-edited-csproj-file

关于windows-8 - Visual Studio 2012 设计器在开发人员许可证续订后崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15226360/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com