我在Windows 10 Pro正式版上運行Visual Studio 2015社區。沒有任何問題或錯誤安裝Visual Studio,但XAML設計與下面的錯誤而崩潰:Visual Studio 2015 XAML設計器因System.Exception而失敗
System.Exception
Install failed. Please contact your software vendor.
Deployment Register operation with target volume C: on Package 74da95b4-525a-49a9-99a1-472cc815a148_1.0.0.0_x86_NorthAmerica_8wekyb3d8bbwe from: (AppXManifest.xml) failed with error 0x8E5E0408. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
at Microsoft.VisualStudio.DesignTools.HostUtility.Platform.AppContainerProcessDomainFactory.CreateDesignerProcess(String applicationPath, String clientPort, Uri hostUri, IDictionary environmentVariables, Int32& processId, Object& processData)
at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain..ctor(ProcessDomainFactory factory, IIsolationBoundary boundary, AppDomainSetup appDomainInfo, IIsolationTarget isolationTarget, String baseDirectory)
at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
at Microsoft.VisualStudio.DesignTools.HostUtility.Platform.AppContainerProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary)
at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.IsolationBoundary.Initialize()
at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type)
at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedObjectFactory.Initialize()
at Microsoft.VisualStudio.DesignTools.DesignerHost.Services.VSIsolationService.CreateObjectFactory(IIsolationTarget isolationTarget, IObjectCatalog catalog)
at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
at Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry, IServiceProvider serviceOverrides)
at Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)
at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func`2 func, CancellationToken cancelToken)
at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedTaskScheduler.<>c__DisplayClass10_0`1.<StartTask>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
我正在開發一款Windows Phone 8.1的應用程序,但問題始終沒有關係我的應用程序,因爲我試圖創建一個空白的Windows 10 UWP應用程序和一個空白的Windows 8.1通用應用程序,兩者在嘗試打開默認MainPage.xaml的XAML設計器時都有相同的錯誤。
我也嘗試調試Visual Studio的另一個實例,但它沒有拋出任何異常。
這似乎是XAML設計器中的一個錯誤,但如果有人知道正在使用的解決方法,請與我分享。
在此先感謝!
編輯:
問題是由在Visual Studio 2015年更新1
您是否運行正版? – Ave
是的,我有Windows 8.1 Pro(法律),並免費升級到10 Pro。它說我的Windows被激活。而且VS2015從微軟網站免費,所以它也是合法的。 – AirPett
我有同樣的問題,問題解決了嗎? – TPWang