Autor Beitrag
norman2306
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 222
Erhaltene Danke: 16

Win XP, Win 7 64-Bit
C# 4.0 (VS2010)
BeitragVerfasst: Mo 19.07.10 07:52 
Servus!

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

ausblenden volle Höhe 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
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3803
Erhaltene Danke: 176

Arch Linux
Python, C, C++ (vim)
BeitragVerfasst: 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 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 222
Erhaltene Danke: 16

Win XP, Win 7 64-Bit
C# 4.0 (VS2010)
BeitragVerfasst: 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