Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Unable to load NCrunch in VS2017 after crash during test configuration
werenskjold
#1 Posted : Friday, September 22, 2017 12:59:49 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/5/2016(UTC)
Posts: 1
Location: Norway

Thanks: 1 times
NCrunch and VS crashed while I was configuring global options in NCrunch

When i start VS i get this erromessage:
“ Microsoft Visual Studio The 'nCrunch.VSIntegration2010.CrunchPackage, ! nCrunch.VSIntegration2017, Version=3. 11.09, Culture-neutral, PublicKey Token=01d101bf6f bff3e0aea' package did not load correctly . The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file 'C:\Users\werenskjold\AppData\Roaming\Microsoft \VisualStudio\15.0 102b856c\ActivityLogxml Restarting Visual Studio could help resolve this issue. Continue to show this error message? ”

I have tried manual installation, and i have followed these instructions https://www.ncrunch.net/...tion-and-setup-problems

This is content from the log ActivityLog.xml


<entry>
<record>998</record>
<time>2017/09/22 00:29:46.939</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [nCrunch.VSIntegration2010.CrunchPackage, nCrunch.VSIntegration2017, Version=3.11.0.9, Culture=neutral, PublicKeyToken=01d101bf6f3e0aea]</description>
<guid>{14D2CAB3-EE7F-496E-BF5D-C67D2CBDD84D}</guid>
</entry>
<entry>
<record>999</record>
<time>2017/09/22 00:29:47.416</time>
<type>Error</type>
<source>VisualStudio</source>
<description>LegacySitePackage failed for package [nCrunch.VSIntegration2010.CrunchPackage, nCrunch.VSIntegration2017, Version=3.11.0.9, 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>
<entry>
<record>1000</record>
<time>2017/09/22 00:29:47.429</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [nCrunch.VSIntegration2010.CrunchPackage, nCrunch.VSIntegration2017, Version=3.11.0.9, Culture=neutral, PublicKeyToken=01d101bf6f3e0aea](null)</description>
<guid>{14D2CAB3-EE7F-496E-BF5D-C67D2CBDD84D}</guid>
<hr>80131537</hr>
<errorinfo></errorinfo>
</entry>
<entry>
<record>1001</record>
<time>2017/09/22 00:29:47.431</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [nCrunch.VSIntegration2010.CrunchPackage, nCrunch.VSIntegration2017, Version=3.11.0.9, Culture=neutral, PublicKeyToken=01d101bf6f3e0aea]</description>
<guid>{14D2CAB3-EE7F-496E-BF5D-C67D2CBDD84D}</guid>
<hr>80131537</hr>
<errorinfo></errorinfo>
</entry>

Remco
#2 Posted : Friday, September 22, 2017 2:54:53 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Thanks for sharing this problem. This is being caused by an invalid core descriptor in your global configuration file at C:\Users\USER\AppData\Roaming\NCrunch.

If you can share the contents of this config file with me, I'll see if I can reproduce the problem on my side.

Removing or renaming the config file will reset the global settings and resolve the problem.
1 user thanked Remco for this useful post.
werenskjold on 9/22/2017(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.038 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download