添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

I'm facing below error in Visual studio 2022 Professional edition - 17.4.4 version,

Feature 'XXX' is currently unavailable due to an internal error in Visual studio 2022 - 17.4.4

I tried clean up all the visual studio version , and installed visual studio professional edition from scratch, but still the issue exists.

Please assist how to resolve this visual studio error.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Windows.Markup.XamlParseException: Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception. ---> System.Xaml.XamlObjectWriterException: Provide value on 'MS.Internal.Markup.StaticExtension' threw an exception. ---> System.ArgumentException: 'Microsoft.VisualStudio.Shell.VsResourceKeys.ListDetailTabControlStyleKey' StaticExtension value cannot be resolved to an enumeration, static field, or static property.

Thanks,

Jagan

Welcome to Microsoft Q&A!

It may still be a known issue:

https://developercommunity.visualstudio.com/t/Feature-x-is-currently-unavailable-due/10189905

Please try a workaround from other community user:

Go to Tools > Options > Text Editor > C# > Advanced > uncheck “ Run code analysis in separate process (requires restart) ”.

If it doesn’t work, I suggest you report a problem to Product Team by selecting “ Help ”  menu > Send Feedback .

Sincerely,

If the answer is the right solution, please click " Accept Answer " and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Hi Anna,

Thanks for the reply.

I tried the steps but the problem still exists. I'm getting the below error. I could not access the solution files or project files. where ever I clicks, the it shows the below popup message.

An exception was encountered while constructing the content of this frame.  This information is also logged in "C:\Users\{username}\AppData\Roaming\Microsoft\VisualStudio\17.0_4fd0bbdc\ActivityLog.xml".Exception details:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Windows.Markup.XamlParseException: Set property 'System.Windows.ResourceDictionary.DeferrableContent' threw an exception. ---> System.Xaml.XamlObjectWriterException: Provide value on 'MS.Internal.Markup.StaticExtension' threw an exception. ---> System.ArgumentException: 'Microsoft.VisualStudio.Shell.VsResourceKeys.ListDetailTabControlStyleKey' StaticExtension value cannot be resolved to an enumeration, static field, or static property.   at System.Windows.Markup.StaticExtension.ProvideValue(IServiceProvider serviceProvider)   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)   --- End of inner exception stack trace ---   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)   at System.Xaml.XamlObjectWriter.Logic_ProvideValue(ObjectWriterContext ctx)   at System.Xaml.XamlObjectWriter.Logic_AssignProvidedValue(ObjectWriterContext ctx)   at System.Xaml.XamlObjectWriter.WriteEndObject()   at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)   at System.Windows.ResourceDictionary.EvaluateMarkupExtensionNodeList(XamlReader reader, IServiceProvider serviceProvider)   at System.Windows.ResourceDictionary.GetKeyValue(KeyRecord key, IServiceProvider serviceProvider)   at System.Windows.ResourceDictionary.SetKeys(IList`1 keyCollection, IServiceProvider serviceProvider)   at System.Windows.Baml2006.WpfSharedBamlSchemaContext.<>c.<Create_BamlProperty_ResourceDictionary_DeferrableContent>b__297_0(Object target, Object value)   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)   --- End of inner exception stack trace ---   at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)   at Microsoft.VisualStudio.PlatformUI.Packages.WhatsNew.UI.WhatsNewPageControl..ctor(WhatsNewPageState state)   at Microsoft.VisualStudio.PlatformUI.Packages.WhatsNew.UI.WhatsNewPageToolWindow..ctor(WhatsNewPageState whatsNewPageState)   --- End of inner exception stack trace ---   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)   at System.Activator.CreateInstance(Type type, Object[] args)   at Microsoft.VisualStudio.Shell.Package.InstantiateToolWindow(Type toolWindowType, Object context)   at Microsoft.VisualStudio.Shell.Package.<>c__DisplayClass84_0.<CreateToolWindow>g__CreateToolWindowWorker|1()   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, UInt32 flags, Object context, Guid persistenceGuid)   at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Type toolWindowType, Int32 id, Object context)   at Microsoft.VisualStudio.Shell.AsyncPackage.<CompleteToolWindowCreationAsync>d__39.MoveNext()

I installed the most latest version of visual studio

Microsoft Visual Studio Professional 2022 Version 17.4.4

I send a feedback to product team, with the error details. below is the link.

https://developercommunity.visualstudio.com/t/Exception-has-been-thrown-by-the-target/10269932?ref=native&refTime=1675400993575&refUserId=886b8fbc-7318-4471-a9f4-d43099081bec&viewtype=all

Thanks & Regards,

Jagan