qq_51464765
xm666s
2020-10-17 07:47
采纳率: 66.7%
浏览 106

安装vs2019时被我关机了,开机后无法重新安装怎么办?

图片说明

一开机就给错误提示,叫我安装两个dll,接着我点开安装程序重新安装

如图,打开后出现这么个东西接着就没了,于是我去安装那两个dll,装完后再打开又给我一个意味深长的错误提示.

再打开错误提示都不给了,直接自动退出.

在C:\Users\Administrator\AppData\Local\Temp\VSFaultInfo\201017_071414_6653438找到一些错误信息,

Error Information

AppInsightsEvent Name = vs/setup/bootstrapper/error

      Description = XamlParseException

 TelemetrySession = '175a713b-36e6-4ff5-af32-c6a06e190b16' Started = True OptIn=True IsInitialized = True Cloned = False
  WatsonEventType = VisualStudioNonFatalErrors2
         UTC time = 2020-10-16T23:13:26

Exception:

System.Windows.Markup.XamlParseException

在“System.Windows.Baml2006.TypeConverterMarkupExtension”上提供值时引发了异常。

System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)

System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)

System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)

Microsoft.VisualStudio.Setup.Bootstrapper.View.Root.InitializeComponent()

Microsoft.VisualStudio.Setup.Bootstrapper.View.Root..ctor(RootViewModel viewModel)

Microsoft.VisualStudio.Setup.Bootstrapper.InteractiveViewModel.<>c__DisplayClass2_0.<.ctor>b__0()

System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)

System.Windows.Threading.Dispatcher.Invoke(Action callback)

Microsoft.VisualStudio.Setup.Bootstrapper.InteractiveViewModel..ctor(IServiceContainer serviceProvider, ProgramOptions options)

Microsoft.VisualStudio.Setup.Bootstrapper.ViewModelFactory.Create(IServiceContainer serviceProvider, ProgramOptions options)

Microsoft.VisualStudio.Setup.Bootstrapper.Bootstrapper..ctor(IServiceContainer serviceProvider, ProgramOptions options)

Microsoft.VisualStudio.Setup.Bootstrapper.Program.Run(String[] args)

 Inner Exception:
 System.InvalidOperationException
 属性路径无效。“FrameworkAppContextSwitches”不具有名为“UseAdornerForTextboxSelectionRendering”的公共属性。
 System.Windows.PropertyPath.ResolvePropertyName(String name, Object item, Type ownerType, Object context, Boolean throwOnError)
 System.Windows.PropertyPath.ResolvePathParts(ITypeDescriptorContext typeDescriptorContext)
 System.Windows.PropertyPath.PrepareSourceValueInfo(ITypeDescriptorContext typeDescriptorContext)
 System.Windows.PropertyPath..ctor(String path, ITypeDescriptorContext typeDescriptorContext)
 System.Windows.PropertyPathConverter.ConvertFrom(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, Object source)
 System.Windows.Baml2006.TypeConverterMarkupExtension.ProvideValue(IServiceProvider serviceProvider)
 MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)

WerReportAddDump PID=7572 vs_setup_bootstrapper WerDumpTypeMiniDump

求,该怎么办?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • weixin_45317919
    Zhi Zhao 2020-10-17 14:58
    已采纳

    我建议你找到当初的安装目录,然后把vs2019有关的文件都删了,再重新安装。

    点赞 评论

相关推荐