Entwickler-Ecke

Programmierwerkzeuge - VS2010 WPF Designer Fehler


norman2306 - Mo 19.07.10 07:52
Titel: VS2010 WPF Designer Fehler
Servus!

Ich bekomme seit neuestens eine Ausnahme im Designer, wenn ich ein neues WPF Projekt anlege (oder ein vorhandenes öffne):


Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
System.TypeInitializationException
Der Typeninitialisierer für "MS.Internal.Interaction.DesignerResources" hat eine Ausnahme verursacht.
   bei MS.Internal.GridControl.GridPanelAdorner..ctor(ModelItem gridItem)
   bei MS.Internal.GridControl.GridDesigner..ctor(ModelItem gridItem)
   bei MS.Internal.GridControl.GridDesigner.GetDesigner(ModelItem gridItem)
   bei MS.Internal.GridControl.AlwaysVisibleGridAdornerProvider.Activate(ModelItem item)
   bei Microsoft.Windows.Design.Interaction.AdornerProvider.InvokeActivate(EditingContext context, ModelItem item)
   bei MS.Internal.Features.AdornerProviderFeatureConnector.FeatureProvidersAdded(ModelItem item, IEnumerable`1 extensions)
   bei Microsoft.Windows.Design.Policies.PolicyDrivenFeatureConnector`1.UpdateFeatureProviders()
   bei MS.Internal.Features.PolicyDrivenToolFeatureConnector`1.UpdateCurrentTool(Tool newTool)
   bei MS.Internal.Features.PolicyDrivenToolFeatureConnector`1.<.ctor>b__0(Tool newTool)
   bei Microsoft.Windows.Design.ContextItemManager.SubscribeProxy`1.SubscribeContext(ContextItem item)
   bei Microsoft.Windows.Design.SubscribeContextCallback.Invoke(ContextItem item)
   bei Microsoft.Windows.Design.EditingContext.DefaultContextItemManager.OnItemChanged(ContextItem item)
   bei Microsoft.Windows.Design.EditingContext.DefaultContextItemManager.SetValue(ContextItem value)
   bei MS.Internal.Host.ToolSubsystem.ActivateTool(ToolFactory toolFactory)
   bei MS.Internal.Host.ToolSubsystem..ctor(EditingContext editingContext, DesignerContext designerContext)
   bei MS.Internal.Host.Designer.Load()
   bei MS.Internal.Designer.VSDesigner.Load()
   bei MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedView.Load()
   bei MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedDesignerFactory.Load(IsolatedView view)
   bei MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view)
   bei MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view)
   bei MS.Internal.Host.Isolation.IsolatedDesigner.Load()
   bei MS.Internal.Designer.DesignerPane.LoadDesignerView()

 
System.IO.IOException
Die Datei ist vorhanden.

   bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   bei System.IO.__Error.WinIOError()
   bei System.IO.Path.GetTempFileName()
   bei System.Windows.Input.Cursor.LoadFromStream(Stream cursorStream)
   bei System.Windows.Input.Cursor..ctor(Stream cursorStream)
   bei MS.Internal.Interaction.DesignerResourceDictionary..ctor()
   bei MS.Internal.Interaction.DesignerResources.<.cctor>b__0()
   bei Microsoft.Windows.Design.Interaction.AdornerResources.RegisterResources(LoadResourcesCallback callback)
   bei MS.Internal.Interaction.DesignerResources..cctor()


Bis letzte Woche hat alles wunderbar funktioniert (bis auf ein paar bekannte Probleme mit AnkhSVN). Seit Freitag läßt sich jedoch der Designer nicht mehr öffnen ohne diese Fehlermeldung auszuspucken. Hat jemand eine Idee, wie man das Problem lösen kann (ohne alles neu zu installieren)?


Moderiert von user profile iconKha: Topic aus WPF / Silverlight verschoben am Mo 19.07.2010 um 18:27


Kha - Mo 19.07.10 18:26

user profile iconnorman2306 hat folgendes geschrieben Zum zitierten Posting springen:
...bei System.IO.Path.GetTempFileName()...
Vielleicht solltest du mal deine temporären Dateien leeren ;) .


norman2306 - Di 20.07.10 10:14

Du bist ein Gott, dank dir:)

Hätte ich ja mal drauf kommen können.... das letzte mal war es der Debugger, jetzt WPF... mann mann mann