+2 votes

Visual Studio 2015 crashes when working on .NET Core projects

Visual Studio 2015 Update 3 (14.0.25424.00) randomly crashes when left-clicking or using the arrow keys to navigate the Solution Explorer.

This happens even when the Solution is not added to Surround, but the Visual Studio Options – “Source Control” -> “Plug-in Selection” is set to “Surround SCM Integration Provider”.

The only workaround I’ve found so far is to:

  1. Unbind the Solution from Surround
  2. and Change the Visual Studio Options – “Source Control” -> “Plug-in Selection” to “None”

 

Related Windows Event information:

Application Error
Faulting application name: devenv.exe, version: 14.0.25420.1, time stamp: 0x57685d85
Faulting module name: mscorlib.ni.dll, version: 4.6.1076.0, time stamp: 0x56d79fa2
Exception code: 0xc0000005
Fault offset: 0x003aabaf
Faulting process id: 0x37f8
Faulting application start time: 0x01d1e30742b30323
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
Faulting module path: C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\affcb83bba04f782c2586a1788330891\mscorlib.ni.dll
Report Id: ac5ae4a3-4efa-11e6-91b7-ac220b2a7441

.NET Runtime
Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at System.String.wcslen(Char*)
   at System.String.CtorCharPtr(Char*)
   at System.Runtime.InteropServices.Marshal.PtrToStringUni(IntPtr)
   at Seapine.SurroundSCM.VSIPAdapter.SSCMVSIPProvider.GetSelectedSpecialFiles()
   at Seapine.SurroundSCM.VSIPAdapter.SSCMVSIPProvider.GetSelectedFilesInControlledProjects(System.Collections.Generic.IList`1<Microsoft.VisualStudio.Shell.Interop.VSITEMSELECTION> ByRef, Boolean, Boolean ByRef)
   at Seapine.SurroundSCM.VSIPAdapter.SSCMVSIPProvider.GetSelectedFilesInControlledProjects(Boolean ByRef)
   at Seapine.SurroundSCM.VSIPAdapter.SSCMVSIPSelectionManager.UpdateCommandEnabling()
   at Seapine.SurroundSCM.VSIPAdapter.SSCMVSIPSelectionManager.OnSelectionChanged(Microsoft.VisualStudio.Shell.Interop.IVsHierarchy, UInt32, Microsoft.VisualStudio.Shell.Interop.IVsMultiItemSelect, Microsoft.VisualStudio.Shell.Interop.ISelectionContainer, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy, UInt32, Microsoft.VisualStudio.Shell.Interop.IVsMultiItemSelect, Microsoft.VisualStudio.Shell.Interop.ISelectionContainer)
   at Microsoft.VisualStudio.Shell.Interop.IVsTrackSelectionEx.OnSelectChangeEx(IntPtr, UInt32, Microsoft.VisualStudio.Shell.Interop.IVsMultiItemSelect, IntPtr)
   at Microsoft.VisualStudio.PlatformUI.HierarchyPivotNavigator.PropagateSelection(System.IServiceProvider, Microsoft.VisualStudio.Shell.Interop.IVsTrackSelectionEx, Microsoft.VisualStudio.PlatformUI.SafeIUnknown, IntPtr, UInt32, Microsoft.VisualStudio.Shell.Interop.IVsMultiItemSelect)
   at Microsoft.VisualStudio.PlatformUI.HierarchyPivotNavigator.PropagateSelection()
   at Microsoft.VisualStudio.PlatformUI.HierarchyPivotNavigator.VerifyAndPropagateSelection()
   at Microsoft.VisualStudio.PlatformUI.HierarchyPivotNavigator.OnSelectionChanged()
   at Microsoft.Internal.VisualStudio.PlatformUI.PivotNavigator.OnTreeViewSelectionChanged(System.Object, System.Windows.Controls.SelectionChangedEventArgs)

asked Aug 9, 2016 in Surround SCM by Rudy Lee

1 Answer

0 votes
The Surround SCM Integration Provider does not currently support .NET Core projects. These projects are new and were officially released after the last version of Surround SCM. Support for .NET Core projects will come in a future release of Surround SCM.

At this time we recommend you use the Surround SCM MSSCCI plug-in with Visual Studio for .NET Core project support. This plug-in is named "Surround SCM" and can be selected from the Tools -> Options -> Source Control -> Plug-in Selection inside Visual Studio.
answered Aug 10, 2016 by anonymous
248 questions
262 answers
106 comments
2,047 users