我正在运行Windows 10,没有挂起的更新,我现在运行sfc/scan而DISM.exe/Online/Cleanup-image/Restorehealth都没有报告问题.我已经尝试安装企业,专业人员和社区,并使用--layout标志为专业人员构建本地安装程序,所有这些都会产生相同的错误.我还尝试卸载Visual Studio 2015企业和各种其他视觉工作室位,resharper和ncrunch.
[3604:0011][2016-11-19T11:06:58] Error 0x80004003:
0x80004003 at Microsoft.VisualStudio.Setup.Cache.InstanceRepository.GetInstance()
at Microsoft.VisualStudio.Setup.Cache.CacheRepository.<GetInstances>d__25.MoveNext()
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at Microsoft.VisualStudio.Setup.Engine.VerifyInstallationPath(IServiceProvider services, String installationPath, IInstance instance, IQuery query)
at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token)Object reference not set to an instance of an object.
Run Code Online (Sandbox Code Playgroud) 我已经安装了visual studio 2017企业版和新的独立版Team Explorer 2017.似乎没有选择添加tfs命令行工具或tfs shell集成. 这意味着它是一个扩展,但我还没有在视觉工作室市场上找到任何东西.我不想重新安装2015使用2015电动工具,但我的盒子上没有任何地方的tf.exe.
托管调试助手“FatalExecutionEngineError”:“运行时遇到致命错误。错误的地址是 0x641ad419,在线程 0x5d0c 上。错误代码是 0xc0000005。此错误可能是 CLR 或用户代码的不安全或不可验证部分中的错误。此错误的常见来源包括 COM 互操作或 PInvoke 的用户封送错误,这可能会破坏堆栈。
这似乎只在使用 Asp.Net Core 1.1 时发生,并且只发生在 .net 的实体框架中(不是 EF Core)。它也不会一直发生,但是当它发生时总是在 EF 调用期间。
我已经尝试启用“使用托管兼容模式”,如here所述,但似乎没有什么区别。
entity-framework visual-studio visual-studio-2017 asp.net-core-1.1