Answer the question
In order to leave comments, you need to log in
I get an error in the WPF designer in visual studio 2022, how to solve?
Every time the program is run, this error is thrown in the constructor. For what I don't know.
System.Resources.MissingSatelliteAssemblyException
The accompanying assembly named 'Microsoft.VisualStudio.DesignTools.SurfaceDesigner.resources.dll, Version=17.0.0.0, PublicKeyToken=b03f5f7f11d5a3a' for fallback culture 'en' could not be found or loaded. This is usually caused by an installation error. You may need to reinstall or repair the application.
at System.Resources.ManifestBasedResourceGroveler.HandleSatelliteMissing()
at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetString(String name , CultureInfo culture)
to System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
to Microsoft.VisualStudio.DesignTools.SurfaceDesigner.DesignerTapStringTable .GetStringTable[T]()
at Microsoft.VisualStudio.DesignTools.WpfSurfaceDesigner.Views.WpfSurfaceProcessContext.GetDesignerTapStringTable()
Microsoft.VisualStudio.DesignTools.SurfaceDesigner.Documents.SurfaceIsolation.SurfaceProcessContext.FinishSurfaceProcessCreation
(DateTime start, Boolean forcePlatform.StudioStudio
) Documents.SurfaceIsolation.SurfaceProcessContext.d__105.MoveNext()
--- End stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification( Task task)
at Microsoft.VisualStudio.DesignTools.XamlSurfaceDesigner.Views.IsolatedSurfaceImageHost.d__66.MoveNext()
--- End stack trace from previous location where the exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.VisualStudio .Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
System.AggregateException
One or more errors occurred.
Answer the question
In order to leave comments, you need to log in
The error itself says:
This is usually caused by an installation error. You may need to reinstall or repair the application.
Just install the language pack en - English
for fallback culture "en" could not be found or loaded.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question