Guten Tag,
ich habe ein Problem mit meiner Entwicklungsumgebung.
Ich verwende die VS Community 2015 Edition, bin aktuell am C# lernen und wollte mich ab heute mal mit WPF beschäftigen.
Leider kommt bei erstellen eines Projekts vom Typ WPF immer die folgende Exception im XAML-Designer:
-
Im Textkörper dürfen keine Bilder oder Links enthalten sein, bis Ihr Konto von uns geprüft werden kann. (Jo super, hilft mir jetzt ganz toll weiter hier mein Problem zu schildern) Ich hoffe ich kann hier bald den Screenshot anhängen...
Die Fehlermeldung/Exception sieht in etwa so aus:
System.ArgumentException
An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) at Microsoft.VisualStudio.DesignTools.Utility.Telemetry.VsTelemetryService.RegisterDesignerProcessSession(Int32
pid) at Microsoft.VisualStudio.DesignTools.Utility.Feedback.WatsonTracker.RegisterSession(Int32 processID) at Microsoft.VisualStudio.DesignTools.Utility.DesignerSessionTracker.RecordDesignerStart(Int32 processID, String isolationTargetIdentifier, Boolean mockCustomTypes,
String buildConfiguration) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain..ctor(ProcessDomainFactory factory, IIsolationBoundary boundary, AppDomainSetup appDomainInfo, IIsolationTarget
isolationTarget, String baseDirectory) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.ProcessDomainFactory.CreateIsolationDomain(IIsolationBoundary boundary) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.IsolationBoundary.Initialize()
at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedObjectFactory.Initialize() at Microsoft.VisualStudio.DesignTools.DesignerHost.Services.VSIsolationService.CreateObjectFactory(IIsolationTarget
isolationTarget, IObjectCatalog catalog) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget) at Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.CreateLease(IIsolationTarget
isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry, IServiceProvider serviceOverrides) at Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken
cancelToken) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func`2 func, CancellationToken cancelToken) at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedTaskScheduler.<>c__DisplayClass10_0`1.<starttask>b__0()
at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute()
Diese Exception tritt immer auf, wenn ich mit dem Designer arbeiten möchte.
Selbst bei einem leeren Projekt wird dieselbe Exception geworfen, sodass diese Exception nicht vom Code ausgehen kann.
Ich verwende die 64 Bit Version auf einem 64 Bit Gerät. Bisher hat alles andere in der Entwicklungsumgebung ohne Probleme funktioniert, nur der Designer macht faxen.
Ich habe mich bereits im Internet erkundigt und zig Lösungswege versucht.. Auch eine Neuinstallation hat mir nicht weiter geholfen. Es gibt hunderte Leute im Internet, die das gleiche Problem haben, aber anscheinend gibt es keine eindeutige Lösung.