Ich kann eine Lösung oder ein Projekt in VS2015 öffnen, aber wenn ich versuche und öffnen (in meinem Fall) eine csharp-Code-Datei (.cs) stürzt Visual Studio (und nicht auf intelligente Weise).VS2015 stürzt beim Öffnen von CS-Datei
Dies ist auch der Fall beim Erstellen einer neuen Codedatei, z. B. einer Klasse.
- Der Zugriff auf die .log-Datei ergab keine Fehler.
- die Komponente Cache löschen nicht
Hier wird der Eintrag aus dem Event Log nützte:
Anwendung: Version devenv.exe Framework: v4.0.30319 Beschreibung: Die Anwendung angeforderten Prozessbeendigung durch System.Environment .FailFast (Zeichenfolge Nachricht). Nachricht: System.AggregateException: Ein oder mehrere Fehler sind aufgetreten. ---> System.EntryPointNotFoundException: Einstiegspunkt wurde nicht gefunden. bei Microsoft.CodeAnalysis.Editor.CSharp.NavigationBar.CSharpNavigationBarItemService.GetTypesInFile (SemanticModel semanticModel, CancellationToken cancellationToken) bei Microsoft.CodeAnalysis.Editor.CSharp.NavigationBar.CSharpNavigationBarItemService.d__3.MoveNext() --- Ende des Stack-Trace vom vorherigen Speicherort wo Ausnahme wurde --- bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (Task-Task) bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Task-Task) bei Microsoft.CodeAnalysis.Editor.CSharp.NavigationBar.CSharpNavigationBarItemService.d__1.MoveNext ausgelöst() --- Ende des Stack-Trace vom vorherigen Speicherort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (Task-Task) unter System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Task-Task) bei System. Runtime.CompilerServices.TaskAwaiter.ValidateEnd (Aufgabenaufgabe) bei Microsoft.CodeAnalysis.Editor.Implementation.Navigation Bar.NavigationBarController.d__29.MoveNext() --- Ende des inneren Ausnahme-Stack-Trace --- bei System.Threading.Tasks.Task.ThrowIfExceptional (Boolean includeTaskCanceledExceptions) bei System.Threading.Tasks.Task 1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task
1.get_Result() at Microsoft.CodeAnalysis.Editor.Implementation.NavigationBar.NavigationBarController. <> c__DisplayClass32_0.b__0 (Aufgabe 1 t) at Roslyn.Utilities.TaskExtensions.<>c__DisplayClass12_1
2.b__1 (Aufgabe _) an Roslyn.Utilities.TaskExtensions. <> c__DisplayClass6_0 1.<SafeContinueWith>b__0(Task t) ---> (Inner Exception #0) System.EntryPointNotFoundException: Entry point was not found. at Microsoft.CodeAnalysis.Editor.CSharp.NavigationBar.CSharpNavigationBarItemService.GetTypesInFile(SemanticModel semanticModel, CancellationToken cancellationToken) at Microsoft.CodeAnalysis.Editor.CSharp.NavigationBar.CSharpNavigationBarItemService.<GetTypesInFileAsync>d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.CodeAnalysis.Editor.CSharp.NavigationBar.CSharpNavigationBarItemService.<GetItemsAsync>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at Microsoft.CodeAnalysis.Editor.Implementation.NavigationBar.NavigationBarController.<ComputeModelAsync>d__29.MoveNext()<--- Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.CodeAnalysis.FailFast.OnFatalException(System.Exception) at Microsoft.CodeAnalysis.ErrorReporting.FatalError.Report(System.Exception, System.Action
1) bei Microsoft.CodeAnalysis.ErrorReporting.FatalError.ReportUnlessCanceled (System.Exception) bei Roslyn.Utilities.TaskExtensions + < > c__DisplayClass6_0 1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<SafeContinueWith>b__0(System.Threading.Tasks.Task) at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean) at System.Threading.Tasks.Task
1 [[System .__ Canon, mscorlib, Version = 4.0.0.0, Kultur = neutral, PublicKeyToken = b77a5c561934e089]]. GetResultCore (Boolean) bei System.Threading.Tasks.Task 1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Result() at Microsoft.CodeAnalysis.Editor.Implementation.NavigationBar.NavigationBarController+<>c__DisplayClass32_0.<StartSelectedItemUpdateTask>b__0(System.Threading.Tasks.Task
1) bei Roslyn.Utilities.TaskExtensions + < > c__DisplayClass12_1 2[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].<ContinueWithAfterDelay>b__1(System.Threading.Tasks.Task) at Roslyn.Utilities.TaskExtensions+<>c__DisplayClass6_0
1 [[System .__ Canon, mscorlib, Version = 4.0.0.0, Kultur = neutral, PublicKeyToken = b77a5c561934e089]] .b__0 (System.Threading.Tasks.Task) bei System.Threading.Tasks.ContinuationResultTaskFromTask`1 [[ System .__ Canon, mscorlib, Version = 4.0.0.0, Kultur = neutral, PublicKeyToken = b77a5c561934e089]]. InnerInvoke() bei System.Threading.Tasks.Task.Execute() bei System.Threading.Tasks.Task.ExecutionContextCallback (System.Object) bei System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext, System.Threading.ContextCallback , System.Object, Boolean) bei System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) bei System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks .Task ByRef) bei System.Threading.Tasks.Task.ExecuteEntry (Boolean) bei System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() bei System.Threading.ThreadPoolWorkQueue.Dispatch() bei System.Threading. _ThreadPoolWaitCallback.PerformWaitCallback()
Hilft https://stackoverflow.com/questions/32967637/vs-2015-crash-möglicherweise-zusammenfassung-analyse? – mjwills