Plötzlich (möglicherweise nach dem Neustart meines PCs, während VS ausgeführt wurde) Visual Studio 2012 nicht viele Projekte öffnen, die zuvor funktionierten.
Es können auch keine neuen Projekte erstellt werden.Visual Studio 2012 funktioniert nicht mehr für einige Projekte
Der Fehler ist sehr verbreitet und generic:
ich alle Lösungen von Fragen wie diese one versucht. Ich habe auch VS 2012 neu installiert, aber immer noch keinen Erfolg.
Das Muster, das ich fand, ist, dass es einige Projekttypen nicht schafft, aber andere funktionieren gut.
Diese funktionieren:
- Windows Form App
- Aktivität Bibliothek
- ASP.NET MVC 3 (leer)
- ASP.NET MVC 4 (Leer)
Diese Fehler schlagen fehl:
- WPF App
- Console App
- ASP.NET Web Forms-App
- Klassenbibliothek
- Portable Klassenbibliothek
- ASP.NET MVC 3 (Internet Application)
- ASP.NET MVC 4 (Web API)
- WCF-Dienst App
auch macht die Framework-Version ändert keine differe nce.
Jede Idee, was könnte das Problem sein?
Edit: Ereignisprotokoll zeigt
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Globalization.CultureNotFoundException
at System.Globalization.CultureData.GetCultureData(Int32, Boolean)
at System.Globalization.CultureInfo.InitializeFromCultureId(Int32, Boolean)
at System.Globalization.CultureInfo..ctor(Int32, Boolean)
at System.Windows.Input.InputLanguageSource.get_CurrentInputLanguage()
at System.Windows.Input.InputLanguageManager.get_CurrentInputLanguage()
at Microsoft.VisualStudio.Text.Editor.Implementation.CaretElement.ConstructCaretGeometry()
at Microsoft.VisualStudio.Text.Editor.Implementation.CaretElement.UpdateCaret()
at Microsoft.VisualStudio.Text.Editor.Implementation.CaretElement.OnRender(System.Windows.Media.DrawingContext)
at System.Windows.UIElement.Arrange(System.Windows.Rect)
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.ContextLayoutManager.UpdateLayoutCallback(System.Object)
at System.Windows.Media.MediaContext+InvokeOnRenderCallback.DoWork()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(System.Object)
at System.Windows.Media.MediaContext.RenderMessageHandler(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)