Visual Studio 2012 designer will work after updating the developer license

It happened to me twice. As soon as my developer license expires and I am asked to renew it, my visual studio designer crashes and I get the following exception when I try to load any 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() 

I tried a lot to find a solution to the problem, but nothing worked, the only way out is to install the windows again and install the visual studio again.

+4
source share
2 answers

Something similar happened to me once. Try to clean the project, as well as clean the bin and obj folders from the project folder.

0
source

Try to clear the cache server of your visual studio and base server (if applicable). I know this sounds strange, but my team went through a very similar problem, and it was the only thing that worked sequentially (except for a complete reinstall).

Delete all files in these places:

TFS Cache: C: \ Users [UserName] \ AppData \ Local \ Microsoft \ Team Foundation [Version] \ Cache

One possible VS cache location: c: \ Users \\ AppData \ Local \ Temp \ VWDCache

Connecting a problem, which may or may not be applied, simply shows that VS is downloading cached versions of projects that potentially have conflicting license information, in your case: https://connect.microsoft.com/VisualStudio/feedback/details/758523/visual -studio-2012-reloads-a-cached-version-of-an-edited-csproj-file

0
source

All Articles