H5W3
当前位置:H5W3 > 问答 > 正文

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

安装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

求,该怎么办?

回答

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

未经允许不得转载:H5W3 » 安装vs2019时被我关机了,开机后无法重新安装怎么办?

赞 (0)

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址