XAML设计器错误 - 智能感知缺失

时间:2014-11-09 12:52:07

标签: visual-studio-2013 windows-store-apps winrt-xaml intellisense windows-10

我遇到以下错误:
- Visual Studio 2013 Ultimate Update 1(与Update 3相同)
- Windows 10 TP Build 9860
- 仅限Windows应用商店应用(WPF桌面应用程序无错误)。

错误描述:
- UI XAML Designer不起作用(参见附件例外)
- XAML文件中的Intellisense无法正常工作(未显示任何建议)。

System.Exception
Install failed. Please contact your software vendor.

Deployment Register operation with target volume C: on Package App.aa5630c6a.a99c1.a41a2.aaba0.ac20dd792d3d9_1.0.0.0_x86_NorthAmerica_8wekyb3d8bbwe from:  (C:\Users\Diego\AppData\Local\Microsoft\VisualStudio\12.0\Designer\ShadowCache\hwvetbdr.ucs\pfhjajzj.4bs\AppXManifest.xml)  failed with error 0x80070002. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
   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.IsolatedObjectFactory.Initialize()
   at Microsoft.VisualStudio.ExpressionHost.Services.VSIsolationService.CreateObjectFactory(IIsolationTarget isolationTarget, IObjectCatalog catalog)
   at Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
   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()

Exception

卸载并重新安装没有修复它 有没有人经历过它?

编辑: 每个XAML控件

的属性选项卡都是空白的

1 个答案:

答案 0 :(得分:3)

Windows 10目前是技术预览版,并不适合您开发,您需要等待Windows 10开发人员预览版,以便您可以在Windows 10上开始编码(可能会在BUILD 2015附近出现)在我看来的事件)。

正如他们在这里所说:http://technet.microsoft.com/en-US/windows/dn798751.aspx?ocid=wc-mscom-wol

“Windows 10 Technical Preview for Enterprise是Windows 10(Windows客户端操作系统的下一个版本)商店中的一些特性和功能的早期版本。此页面提供的资源可帮助您探索企业技术预览版,评估应用程序的兼容性,并测试新的就地升级过程。“

根据我的理解,主要是您在操作系统上测试您的应用程序和公司应用程序,看看您的公司是否能够在此处进行迁移,而不是为了开始编码。

祝你好运!

编辑: 你看看TechNet论坛:https://social.technet.microsoft.com/Forums/en-US/home?category=WinPreview2014 你可以看到他们主要是在寻找操作系统的bug,而不是如何开发应用程序。