Setup Problems

Error when starting VS

Started by damianh on 6,627 views

Hi, started to get a package error when starting VS. Entry from the activitylog:


  <entry>
    <record>40</record>
    <time>2017/06/02 15:29:12.359</time>
    <type>Error</type>
    <source>VisualStudio</source>
    <description>LegacySitePackage failed for package [nCrunch.VSIntegration2010.CrunchPackage, nCrunch.VSIntegration2017, Version=3.9.0.1, Culture=neutral, PublicKeyToken=01d101bf6f3e0aea]Source: &apos;mscorlib&apos; Description: Input string was not in a correct format.&#x000D;&#x000A;System.FormatException: Input string was not in a correct format.&#x000D;&#x000A;   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer&amp; number, NumberFormatInfo info, Boolean parseDecimal)&#x000D;&#x000A;   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)&#x000D;&#x000A;   at nCrunch.Core.Configuration.CPUCoreConfigHelper.&#x0002;.&#x0003;(String &#x0002;)&#x000D;&#x000A;   at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()&#x000D;&#x000A;   at nCrunch.Core.Configuration.CPUCoreConfigHelper.GetCoreMaskFromCoreDescriptor(String coreDescriptor)&#x000D;&#x000A;   at nCrunch.Client.ClientThreadAffinitiser.ApplyProcessorAffinityToAllThreads()&#x000D;&#x000A;   at nCrunch.VSAddIn.VsServiceInitialiser.InitialiseServiceLocator(Boolean isVSRuntimeEnvironment, Nullable`1 vsVersion)&#x000D;&#x000A;   at nCrunch.WpfUI.WpfServiceInitialiser.InitialiseServiceLocator(Boolean isRuntimeEnvironment, Nullable`1 vsVersion)&#x000D;&#x000A;   at nCrunch.VSIntegration2010.CrunchPackage.Initialize()&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)</description>
    <guid>{14D2CAB3-EE7F-496E-BF5D-C67D2CBDD84D}</guid>
    <hr>80131537</hr>
    <errorinfo></errorinfo>
  </entry>


Any ideas on how to rectify?
That didn't paste well, lets try again

<entry>
<record>40</record>
<time>2017/06/02 15:29:12.359</time>
<type>Error</type>
<source>VisualStudio</source>
<description>LegacySitePackage failed for package [nCrunch.VSIntegration2010.CrunchPackage, nCrunch.VSIntegration2017, Version=3.9.0.1, Culture=neutral, PublicKeyToken=01d101bf6f3e0aea]Source: &apos;mscorlib&apos; Description: Input string was not in a correct format.&#x000D;&#x000A;System.FormatException: Input string was not in a correct format.&#x000D;&#x000A; at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer&amp; number, NumberFormatInfo info, Boolean parseDecimal)&#x000D;&#x000A; at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)&#x000D;&#x000A; at nCrunch.Core.Configuration.CPUCoreConfigHelper.&#x0002;.&#x0003;(String &#x0002;)&#x000D;&#x000A; at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()&#x000D;&#x000A; at nCrunch.Core.Configuration.CPUCoreConfigHelper.GetCoreMaskFromCoreDescriptor(String coreDescriptor)&#x000D;&#x000A; at nCrunch.Client.ClientThreadAffinitiser.ApplyProcessorAffinityToAllThreads()&#x000D;&#x000A; at nCrunch.VSAddIn.VsServiceInitialiser.InitialiseServiceLocator(Boolean isVSRuntimeEnvironment, Nullable`1 vsVersion)&#x000D;&#x000A; at nCrunch.WpfUI.WpfServiceInitialiser.InitialiseServiceLocator(Boolean isRuntimeEnvironment, Nullable`1 vsVersion)&#x000D;&#x000A; at nCrunch.VSIntegration2010.CrunchPackage.Initialize()&#x000D;&#x000A; at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)</description>
<guid>{14D2CAB3-EE7F-496E-BF5D-C67D2CBDD84D}</guid>
<hr>80131537</hr>
<errorinfo></errorinfo>
</entry>
Hi,

it looks like something has gone wrong with your global configuration file.

Try deleting the file(s) at C:\Users\USER\AppData\Roaming\NCrunch.

Post a reply

Log in to reply.