After installing NCrunch_VS2017_3.12.0.15.msi,
and ncrunch is non operational ...
I am getting the message below in the Risk/Progress bar
An exception was encountered while constructing the content of this frame. This information is also logged in "C:\Users\John Kennerley\AppData\Roaming\Microsoft\VisualStudio\15.0_f25537bd\ActivityLog.xml".
Exception details:
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()
Looks like the relevant entries could be ActivityLog.xml ...
<entry>
<record>230</record>
<time>2017/11/27 09:50:10.456</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>231</record>
<time>2017/11/27 09:50:10.472</time>
<type>Error</type>
<source>VisualStudio</source>
<description>CreateInstance failed for package [nCrunch.VSIntegration2010.CrunchPackage, nCrunch.VSIntegration2017, Version=3.11.0.9, Culture=neutral, PublicKeyToken=01d101bf6f3e0aea]Source: 'mscorlib' Description: Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\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\Professional\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\Professional\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.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
</description>
<guid>{14D2CAB3-EE7F-496E-BF5D-C67D2CBDD84D}</guid>
<hr>80004005 - E_FAIL</hr>
<errorinfo></errorinfo>
</entry>
<entry>
<record>232</record>
<time>2017/11/27 09:50:10.472</time>
<type>Warning</type>
<source>VisualStudio</source>
<description>Package failed to load; error message suppressed by skip flag</description>
<guid>{14D2CAB3-EE7F-496E-BF5D-C67D2CBDD84D}</guid>
</entry>
<entry>
<record>233</record>
<time>2017/11/27 09:50:10.472</time>
<type>Error</type>
<source>VisualStudio</source>
<description>Construction of frame content failed.
Frame identifier: ST:0:0:{4963bea4-8a53-46f0-912f-7536594a8767}
Frame caption: NCrunch Risk/Progress
Exception details:
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
 at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()</description>
</entry>
</
Remco NCrunch Developer
#11543
27 Nov 2017 10:22 UTC
Did you install this manually from ZIP previously? This looks like a blocked file issue.
Try the removal and reinstall fix. If installing manually, make sure you follow the manual installation instructions precisely, especially the step involved in unblocking the files after extracting them from ZIP.
Try the removal and reinstall fix. If installing manually, make sure you follow the manual installation instructions precisely, especially the step involved in unblocking the files after extracting them from ZIP.
Edited 27 Nov 2017 10:24 UTC
I installed from the NCrunch_VS2017_3.12.0.15.msi not from the zip.
Once I got these messages on starting VS, I
1. closed VS
2. resinstalled ncrunch ie fixed a broken install of ncrunch,
3. tried this twice ...
4, when I still go the issues,
5. I de-installed ncrunch and reinstalled again from the msi above ...
6. and then posted on this forum ..
JK
Once I got these messages on starting VS, I
1. closed VS
2. resinstalled ncrunch ie fixed a broken install of ncrunch,
3. tried this twice ...
4, when I still go the issues,
5. I de-installed ncrunch and reinstalled again from the msi above ...
6. and then posted on this forum ..
JK
Remco NCrunch Developer
#11548
27 Nov 2017 10:35 UTC
Sorry, thanks for confirming this. Could you check if you're able to open the nCrunch.VSIntegration2017.dll using any other tool on your machine? (i.e. even notepad). This error suggests that something is blocking access to this file or one of its dependencies. Are you running a virus scanner or any 3rd party security software?
Also, can you confirm you tried the "devenv.exe /setup" step in the removal+reinstall fix?
Also, can you confirm you tried the "devenv.exe /setup" step in the removal+reinstall fix?
Edited 27 Nov 2017 10:36 UTC
Where is nCrunch.VSIntegration2017.dll
Ans : C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions\Remco Software\NCrunch for Visual Studio 2017
There is no remco software in
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions
No, I did not devenv.exe /setup" ...
JK
Ans : C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\Extensions\Remco Software\NCrunch for Visual Studio 2017
There is no remco software in
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions
No, I did not devenv.exe /setup" ...
JK
Remco NCrunch Developer
#11552
27 Nov 2017 10:55 UTC
VS has an internal cache of extensions that are installed. This cache includes a range of important information about extensions, such as their primary DLL, menu options, etc.
If something didn't go right during installation, it's possible that the cache is out of date. This may be why it's looking for a 3.11 version of nCrunch.VSIntegration rather than the correct version. Running "devenv.exe /setup" will reset the cache and can usually resolve these kinds of problems.
If something didn't go right during installation, it's possible that the cache is out of date. This may be why it's looking for a 3.11 version of nCrunch.VSIntegration rather than the correct version. Running "devenv.exe /setup" will reset the cache and can usually resolve these kinds of problems.
The ver of VS I have is 15.4.4 ...
I just tried devenv.exe /setup but says operation could not be completed ...
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.4.4
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
C:\Users\John Kennerley\source>devenv
C:\Users\John Kennerley\source>devenv /setup
Microsoft Visual Studio 2017 Version 15.0.27004.2009.
Copyright (C) Microsoft Corp. All rights reserved.
The operation could not be completed
C:\Users\John Kennerley\source>
I just tried devenv.exe /setup but says operation could not be completed ...
**********************************************************************
** Visual Studio 2017 Developer Command Prompt v15.4.4
** Copyright (c) 2017 Microsoft Corporation
**********************************************************************
C:\Users\John Kennerley\source>devenv
C:\Users\John Kennerley\source>devenv /setup
Microsoft Visual Studio 2017 Version 15.0.27004.2009.
Copyright (C) Microsoft Corp. All rights reserved.
The operation could not be completed
C:\Users\John Kennerley\source>
Edited 27 Nov 2017 10:58 UTC
Remco NCrunch Developer
#11554
27 Nov 2017 10:57 UTC
Sorry, make sure you run it as an administrator.
opening and Administrator: Developer commaand prompt and typing
> devenv /setup
does not seem to open VS ...
> devenv /setup
does not seem to open VS ...
Remco NCrunch Developer
#11556
27 Nov 2017 11:02 UTC
It will run in the background. Wait until it's finished before you try to re-run VS.
Deleted post
#11582
30 Nov 2017 05:22 UTC
I'm having problems when trying to install the version NCrunch_VS2017_3.12.0.15.msi. The Windows is blocking the download saying it contained a virus and was deleted. I'm using the latest Windows 10 version and I don't have any other antivirus than the default Windows Defender Security Center.
https://1drv.ms/i/s!Agsn8caEtORcmMJ8CWOf8Q-IsLaIdQ
[img=https://1drv.ms/i/s!Agsn8caEtORcmMJ8CWOf8Q-IsLaIdQ]Virus threat detection[/img]
https://1drv.ms/i/s!Agsn8caEtORcmMJ8CWOf8Q-IsLaIdQ
[img=https://1drv.ms/i/s!Agsn8caEtORcmMJ8CWOf8Q-IsLaIdQ]Virus threat detection[/img]
Remco NCrunch Developer
#11584
30 Nov 2017 08:09 UTC
Hi,
The onedrive links you've provided above don't seem to work for me (not sure why?). NCrunch has had problems with Windows Smartscreen in the past because of the reputation system used by Smartscreen. Basically, the logic used by the scanner is that if there is a downloadable that hasn't been downloaded by many people, then it is considered suspect and flagged up as a virus. There is unfortunately very little that vendors can do about this sort of thing, you'll need to look into your system configuration to see if you can work around it. There are no viruses in NCrunch.
If you like, you can try the 7-zip downloadable (which will require manual installation). Sometimes this works around the security:
http://downloads.ncrunch.net/NCrunch_VS2017_3.12.0.15.msi.7z
The onedrive links you've provided above don't seem to work for me (not sure why?). NCrunch has had problems with Windows Smartscreen in the past because of the reputation system used by Smartscreen. Basically, the logic used by the scanner is that if there is a downloadable that hasn't been downloaded by many people, then it is considered suspect and flagged up as a virus. There is unfortunately very little that vendors can do about this sort of thing, you'll need to look into your system configuration to see if you can work around it. There are no viruses in NCrunch.
If you like, you can try the 7-zip downloadable (which will require manual installation). Sometimes this works around the security:
http://downloads.ncrunch.net/NCrunch_VS2017_3.12.0.15.msi.7z
Thank you for the rapid response.
The new file sent is still detected as a virus by windows. I was able to download and install the previous version without any issues. Differently from what Smartscreen used to do in the past, this time the message is being explicit about the existence of a virus "NCrunch_VS2017_3.12.0.15.msi contained a virus and was deleted."
About the OneDrive link, because of the "!" the forum is detecting the end of the link prematurely. I'm pasting the link below. Please, copy the entire line, not just the part which was detected as a link.
https://1drv.ms/i/s!Agsn8caEtORcmMJ8CWOf8Q-IsLaIdQ
The new file sent is still detected as a virus by windows. I was able to download and install the previous version without any issues. Differently from what Smartscreen used to do in the past, this time the message is being explicit about the existence of a virus "NCrunch_VS2017_3.12.0.15.msi contained a virus and was deleted."
About the OneDrive link, because of the "!" the forum is detecting the end of the link prematurely. I'm pasting the link below. Please, copy the entire line, not just the part which was detected as a link.
https://1drv.ms/i/s!Agsn8caEtORcmMJ8CWOf8Q-IsLaIdQ
Edited 01 Dec 2017 03:56 UTC
Remco NCrunch Developer
#11595
01 Dec 2017 06:03 UTC
You have my assurance that NCrunch does not contain a virus. This is a false positive.
If you like, you can check the results of online services that are able to push the file through a range of different scanners. Virus Total has quite a good one that allows you to scan a file without downloading it.
As a vendor, there is unfortunately very little I can do about false positives. It isn't possible to design a product around virus scanner detection systems, and because NCrunch does a range of things that a scanner would consider suspect (starting processes, manipulating DLLs and PDBs), there will always be a high occurrence of false positives when scanning it.
If there is any option to do so, I suggest overriding Windows Defender to allow the download, or consider downloading it in a different way (i.e. from another machine).
If you can give me the details in the report, I can try to send a False Positive report to MS .. though I am not optimistic on how long it may take them to revise their signatures. Unfortunately copy/pasting the link you've given still doesn't seem to work for me. I get a OneDrive error saying the file is no longer available.
If you like, you can check the results of online services that are able to push the file through a range of different scanners. Virus Total has quite a good one that allows you to scan a file without downloading it.
As a vendor, there is unfortunately very little I can do about false positives. It isn't possible to design a product around virus scanner detection systems, and because NCrunch does a range of things that a scanner would consider suspect (starting processes, manipulating DLLs and PDBs), there will always be a high occurrence of false positives when scanning it.
If there is any option to do so, I suggest overriding Windows Defender to allow the download, or consider downloading it in a different way (i.e. from another machine).
If you can give me the details in the report, I can try to send a False Positive report to MS .. though I am not optimistic on how long it may take them to revise their signatures. Unfortunately copy/pasting the link you've given still doesn't seem to work for me. I get a OneDrive error saying the file is no longer available.
Hi Remco and NCrunch Team,
Sorry to bother you again with this topic but I was able to come with some new information. The, likely, false positive detection indicated the Trojan:Win32/Sprisky.U!cl.
Considering that, probably, I'm not the only person which is getting this kind of warning, and that I'm one of the ones it's sharing it, I hope that I can help this amazing product in some way.
https://drive.google.com/open?id=1MoQVDfLPUsenZp_Zt8zzEWfNDkphrEom
Sorry to bother you again with this topic but I was able to come with some new information. The, likely, false positive detection indicated the Trojan:Win32/Sprisky.U!cl.
Considering that, probably, I'm not the only person which is getting this kind of warning, and that I'm one of the ones it's sharing it, I hope that I can help this amazing product in some way.
https://drive.google.com/open?id=1MoQVDfLPUsenZp_Zt8zzEWfNDkphrEom
Remco NCrunch Developer
#11614
07 Dec 2017 03:14 UTC
Thanks for sharing these extra details. I've submitted both the VS2017 and VS2015 installers to MS as false positives. I'm not sure how soon they will respond on this, or if they will respond at all. I recommend making sure you have your Windows Defender definitions up-to-date. According to the online submission system, the scanner seems to conclude that neither of these installers have malware. Perhaps their online scanner is different, or they've recently updated the definitions? This is using definition version 1.259.1.0
Edited 07 Dec 2017 03:14 UTC
This week I was able to install the version without any false positive detection by windows defender. Thank you for your support and attention.
Remco NCrunch Developer
#11647
19 Dec 2017 06:53 UTC
jenseralmeida wrote:This week I was able to install the version without any false positive detection by windows defender. Thank you for your support and attention.
Great to hear! But if thanks are involved, they're probably better due to MS rather than myself. It seems they've fixed the definitions :)
Post a reply
Log in to reply.