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

Notification

Icon
Error

Installing NCrunch 3.13 for VS2017 throws error on startup
christothes
#1 Posted : Friday, March 02, 2018 6:55:57 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/2/2018(UTC)
Posts: 5
Location: United States of America

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
After installing version 3.13, I can no longer start VS 2017 without seeing the error below. Uninstalling and reinstalling didn't help. Uninstalling and reinstalling the older version didn't help.


Microsoft Visual Studio

The 'nCrunch.VSIntegration2010.CrunchPackage, nCrunch.VSIntegration2017, Version=3.12.0.15, Culture=neutral, PublicKeyToken=01d101bf6f3e0aea' 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\myuser\AppData\Roaming\Microsoft\VisualStudio\15.0_463b8b10\ActivityLog.xml'.



Restarting Visual Studio could help resolve this issue.



Continue to show this error message?

Yes No


Error from 'C:\Users\myuser\AppData\Roaming\Microsoft\VisualStudio\15.0_463b8b10\ActivityLog.xml:


10.CrunchPackage, nCrunch.VSIntegration2017, Version=3.12.0.15, Culture=neutral, PublicKeyToken=01d101bf6f3e0aea]Source: 'mscorlib' Description: Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\Remco Software\NCrunch for Visual Studio 2017\nCrunch.VSIntegration2017.dll' or one of its dependencies. The system cannot find the file specified.
System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\Remco Software\NCrunch for Visual Studio 2017\nCrunch.VSIntegration2017.dll' or one of its dependencies. The system cannot find the file specified.
File name: 'file:///C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\Remco Software\NCrunch for Visual Studio 2017\nCrunch.VSIntegration2017.dll'


at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)

at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence securityEvidence)

at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)

at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName)

WRN:

Assembly binding logging is turned OFF.&#x000D;&#x000A;To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.&#x000D;&#x000A;Note: There is some performance penalty associated with assembly bind failure logging.&#x000D;&#x000A;To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].&#x000D;&#x000A;</description>
christothes
#2 Posted : Friday, March 02, 2018 7:10:02 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/2/2018(UTC)
Posts: 5
Location: United States of America

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
I found the problem - If you have the latest VS 2017 Preview installed, NCrunch installer will install it there.

The extension file is installed to:

C:\Program Files (x86)\Microsoft Visual Studio\Preview\Enterprise\Common7\IDE\Extensions\Remco Software\NCrunch for Visual Studio 2017


The good news is that NCrunch now runs in VS2017 preview. The bad news is that the error won't go away when I start VS2017 release.
1 user thanked christothes for this useful post.
michaelkroes on 3/2/2018(UTC)
michaelkroes
#3 Posted : Friday, March 02, 2018 7:14:05 PM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 30
Location: Netherlands

Thanks: 14 times
Was thanked: 3 time(s) in 3 post(s)
Hi thanks for posting!

I was just typing a reply and that was crossed with your new post :)

Glad to hear that it works under the preview at least. Sometimes there are issues with side-by-side installations. Would you mind trying to install the product manually as mentioned here?
1 user thanked michaelkroes for this useful post.
christothes on 3/2/2018(UTC)
christothes
#4 Posted : Friday, March 02, 2018 7:22:45 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/2/2018(UTC)
Posts: 5
Location: United States of America

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
Manual install worked, thanks!
1 user thanked christothes for this useful post.
michaelkroes on 3/2/2018(UTC)
Remco
#5 Posted : Friday, March 02, 2018 10:28:32 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 5,248

Thanks: 691 times
Was thanked: 844 time(s) in 804 post(s)
Yes! Sorry, this is a known issue at the moment. Right now our MSIs can only target one installed version of VS, which it seems to select more or less at random. If you have multiple VS instances installed (i.e. a preview version), you'll need to install it manually. We did a bit of QA on the new preview builds and as far as we know, everything is working fine.
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.046 seconds.