Wpf designer doesn't load correctly.

Eliel Luwala 1 Reputation point
2022-10-18T21:58:46.76+00:00

When i debug my wpf project and after stop debuging an exception occured.251709-annotation-2022-10-18-153931.png

System.Resources.MissingSatelliteAssemblyException
L'assembly satellite nommé "Microsoft.VisualStudio.DesignTools.SurfaceDesigner.resources.dll, Version=17.0.0.0, PublicKeyToken=b03f5f7f11d5a3a" pour la culture de secours "en" est introuvable ou n'a pas pu être chargé. Ceci tient généralement à un problème d'installation. Envisagez la réinstallation ou la réparation de l'application.
à System.Resources.ManifestBasedResourceGroveler.HandleSatelliteMissing()
à System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark) à System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark) à System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) à System.Resources.ResourceManager.GetString(String name, CultureInfo culture) à System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer`1 comparer)
à Microsoft.VisualStudio.DesignTools.SurfaceDesigner.DesignerTapStringTable.GetStringTableT
à Microsoft.VisualStudio.DesignTools.WpfSurfaceDesigner.Views.WpfSurfaceProcessContext.GetDesignerTapStringTable()
à Microsoft.VisualStudio.DesignTools.SurfaceDesigner.Documents.SurfaceIsolation.SurfaceProcessContext.InitializePipeline()
à Microsoft.VisualStudio.DesignTools.SurfaceDesigner.Documents.SurfaceIsolation.SurfaceProcessContext.FinishSurfaceProcessCreation(DateTime start, Boolean forcePlatformOnly)
à Microsoft.VisualStudio.DesignTools.SurfaceDesigner.Documents.SurfaceIsolation.SurfaceProcessContext.<EnsureSurfaceProcessAsyncInternal>d__105.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
à Microsoft.VisualStudio.DesignTools.XamlSurfaceDesigner.Views.IsolatedSurfaceImageHost.<CreateSurfaceAsync>d__67.MoveNext()

System.AggregateException
Une ou plusieurs erreurs se sont produites.

i have tried to reinstall visual studio 2022 but nothing changes, i also try to install visual studio 2019 but it still doesn't works.
Help me please and thank you.

Developer technologies | Windows Presentation Foundation
Developer technologies | Visual Studio | Debugging
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
{count} votes

2 answers

Sort by: Most helpful
  1. Hui Liu-MSFT 48,711 Reputation points Microsoft External Staff
    2022-10-19T06:20:58.01+00:00

    Hi,@Eliel Luwala .Welcome Microsoft Q&A.
    It can be seen that your language is French.
    You could try to modify it by referring to Examples and Remarks in the document MissingSatelliteAssemblyException Class.

    The exception that is thrown when the satellite assembly for the resources of the default culture is missing.

    You can try the solutions here to see if it works.

    ----------------------------------------------------------------------------

    If the response is helpful, please click "Accept Answer" and upvote it.
    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.


  2. Primo Pyo 1 Reputation point
    2023-02-27T01:21:40.76+00:00

    I had a similar problem.

    I solved it by installed English language pack with Visual studio installer.

    User's image

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.