none
Visual studio gets to front screen and then totally freezes

    Question

  • I had to re-install Visual Studio 2015 community yet again after the dramas with update pack 3.

    I totally uninstalled it and reinstalled it with no problems this time but and everything goes fine and I get to front screen where it puts up the message connecting to news etc, at which point Visual IDE does nothing. You can't select, move resize, use menus or anything it is dead.

    I have completely uninstalled and reinstalled a second time and no change.

    The start log has errors about Extension errors does this mean anything to anyone?

    <entry>
        <record>89</record>
        <time>2016/10/26 14:52:36.421</time>
        <type>Error</type>
        <source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
        <description>Still unable to load MEF component DLL: Could not load file or assembly &apos;Microsoft.CSS.Editor, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.</description>
        <path>C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.JavaScript.Project\v4.0_14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.JavaScript.Project.dll</path>
      </entry>
      <entry>
        <record>90</record>
        <time>2016/10/26 14:52:36.431</time>
        <type>Error</type>
        <source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
        <description>Still unable to load MEF component DLL: Could not load file or assembly &apos;Microsoft.VisualStudio.Services.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.</description>
        <path>C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\KP3BIVYF.RHB\Microsoft.VisualStudio.ConnectedServices.Azure.Storage.dll</path>
      </entry>
      <entry>
        <record>91</record>
        <time>2016/10/26 14:52:36.431</time>
        <type>Error</type>
        <source>Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost</source>
        <description>Still unable to load MEF component DLL: Could not load file or assembly &apos;Microsoft.VisualStudio.Services.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.</description>
        <path>C:\Program Files\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\k15lrzja.aj4\Microsoft.VisualStudio.ApplicationInsights.dll</path>
      </entry>

    Wednesday, October 26, 2016 5:36 PM

All replies

  • Hi Leon de Boer,

    According to the error message, the problem is caused by loading MEF component DLL. Please delete all Visual Studio installation path and cache folder before your reinstall. And then download the ISO installer to reinstall as administartor, because the ISO installer will download all requirement component installer into the Visual Studio installer together.

    If reinstall with ISO could not resolved this issue, please try with following troubleshooting steps to check what causes this issue.

    1. Run Visual Studio as administrator to make sure it has enough permission to do any operations.
    2. Close all third part software when running Visual Studio, such as antivirus.
    3. Run Visual Studio with "/ResetSkipPkgs" command, which clears all options to skip loading added to VSPackages by users wishing to avoid loading problem VSPackages, then starts Visual Studio
    4. Please use http://aka.ms/vscollect  to gather the VS and .Net Frameowrk installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file to Onedrive and share the link here.

    Best Regards,
    Weiwei


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, October 27, 2016 6:56 AM
    Moderator
  • Nope no change about all I have gain is a much faster startup of Visual Studio before it freezes :-)

    Link to collected data

    https://1drv.ms/u/s!AAk7GYaSw_fRgwU

    When I run logging now I only have 1 warning/error

    <source>VisualStudio</source>
        <description>LegacySitePackage failed for package [Microsoft.VisualStudio.Shell.Connected.ConnectedUser.ConnectedUserPackage]Source: &apos;Microsoft.VisualStudio.Shell.Connected&apos; Description: Could not load file or assembly
     &apos;Microsoft.VisualStudio.Services.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;System.IO.FileNotFoundException: Could
     not load file or assembly &apos;Microsoft.VisualStudio.Services.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;File name:
     &apos;Microsoft.VisualStudio.Services.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos;&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Connected.Common.CommonUtilities.CheckAndResetUserTokenStorage(IServiceProvider
     serviceProvider)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.ConnectedUserPackage.Initialize()&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider
     sp)&#x000D;&#x000A;&#x000D;&#x000A;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>
        <guid>{7F679D93-2EB6-47C9-85EB-F6AD16902662}</guid>
        <hr>80070002</hr>
      </entry>

    but runs thru that these are the last entries in log before it slams into wall. You can't move the window or anything it is totally frozen

    <source>VisualStudio</source>
        <description>Running in User Groups: Administrators Users</description>
      </entry>
      <entry>
        <record>280</record>
        <time>2016/10/27 15:31:19.626</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Available Drive Space: C:\ drive has 129660272640 bytes; D:\ drive has 122967310336 bytes; E:\ drive has 477057314816 bytes</description>
      </entry>
      <entry>
        <record>281</record>
        <time>2016/10/27 15:31:19.626</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>Internet Explorer Version: 11.0.14393.321</description>
      </entry>
      <entry>
        <record>282</record>
        <time>2016/10/27 15:31:19.626</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>.NET Framework Version: 10.0.14393.0</description>
      </entry>
      <entry>
        <record>283</record>
        <time>2016/10/27 15:31:19.626</time>
        <type>Information</type>
        <source>VisualStudio</source>
        <description>MSXML Version: 6.30.14393.321</description>
      </entry>
    </activity>
    

    Thursday, October 27, 2016 3:35 PM
  • More info .. Ok I turned on Fusion logging and it's got lots problems.

          <source>VisualStudio</source>
        <description>LegacySitePackage failed for package [Microsoft.VisualStudio.Shell.Connected.ConnectedUser.ConnectedUserPackage]Source: &apos;Microsoft.VisualStudio.Shell.Connected&apos; Description: Could not load file or assembly &apos;Microsoft.VisualStudio.Services.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;System.IO.FileNotFoundException: Could not load file or assembly &apos;Microsoft.VisualStudio.Services.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.&#x000D;&#x000A;File name: &apos;Microsoft.VisualStudio.Services.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos;&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Connected.Common.CommonUtilities.CheckAndResetUserTokenStorage(IServiceProvider serviceProvider)&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Connected.ConnectedUser.ConnectedUserPackage.Initialize()&#x000D;&#x000A;   at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite(IServiceProvider sp)&#x000D;&#x000A;&#x000D;&#x000A;Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll&#x000D;&#x000A;Running under executable  C:\Program Files\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe&#x000D;&#x000A;--- A detailed error log follows. &#x000A;&#x000D;&#x000A;=== Pre-bind state information ===&#x000D;&#x000A;LOG: DisplayName = Microsoft.VisualStudio.Services.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#x000A; (Fully-specified)&#x000D;&#x000A;LOG: Appbase = file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/&#x000D;&#x000A;LOG: Initial PrivatePath = NULL&#x000D;&#x000A;Calling assembly : Microsoft.VisualStudio.Shell.Connected, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.&#x000D;&#x000A;===&#x000D;&#x000A;LOG: This bind starts in default load context.&#x000D;&#x000A;LOG: Using application configuration file: C:\Users\Leon\AppData\Local\Microsoft\VisualStudio\14.0\devenv.exe.config&#x000D;&#x000A;LOG: Using host configuration file: &#x000D;&#x000A;LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.&#x000D;&#x000A;LOG: Post-policy reference: Microsoft.VisualStudio.Services.Client, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/Microsoft.VisualStudio.Services.Client.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/Microsoft.VisualStudio.Services.Client/Microsoft.VisualStudio.Services.Client.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.Services.Client.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.Services.Client/Microsoft.VisualStudio.Services.Client.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.Services.Client.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.Services.Client/Microsoft.VisualStudio.Services.Client.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/CommonExtensions/Microsoft/TemplateProviders/Microsoft.VisualStudio.Services.Client.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/CommonExtensions/Microsoft/TemplateProviders/Microsoft.VisualStudio.Services.Client/Microsoft.VisualStudio.Services.Client.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.Services.Client.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.Services.Client/Microsoft.VisualStudio.Services.Client.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/CommonExtensions/Platform/DiagnosticsHub/Microsoft.VisualStudio.Services.Client.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/CommonExtensions/Platform/DiagnosticsHub/Microsoft.VisualStudio.Services.Client/Microsoft.VisualStudio.Services.Client.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.Services.Client.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.Services.Client/Microsoft.VisualStudio.Services.Client.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/PrivateAssemblies/DataCollectors/x86/Microsoft.VisualStudio.Services.Client.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/PrivateAssemblies/DataCollectors/x86/Microsoft.VisualStudio.Services.Client/Microsoft.VisualStudio.Services.Client.DLL.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/Microsoft.VisualStudio.Services.Client.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/Microsoft.VisualStudio.Services.Client/Microsoft.VisualStudio.Services.Client.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.Services.Client.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/PublicAssemblies/Microsoft.VisualStudio.Services.Client/Microsoft.VisualStudio.Services.Client.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.Services.Client.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.Services.Client/Microsoft.VisualStudio.Services.Client.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/CommonExtensions/Microsoft/TemplateProviders/Microsoft.VisualStudio.Services.Client.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/CommonExtensions/Microsoft/TemplateProviders/Microsoft.VisualStudio.Services.Client/Microsoft.VisualStudio.Services.Client.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.Services.Client.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/CommonExtensions/Platform/Debugger/Microsoft.VisualStudio.Services.Client/Microsoft.VisualStudio.Services.Client.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/CommonExtensions/Platform/DiagnosticsHub/Microsoft.VisualStudio.Services.Client.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/CommonExtensions/Platform/DiagnosticsHub/Microsoft.VisualStudio.Services.Client/Microsoft.VisualStudio.Services.Client.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.Services.Client.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/PrivateAssemblies/DataCollectors/Microsoft.VisualStudio.Services.Client/Microsoft.VisualStudio.Services.Client.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/PrivateAssemblies/DataCollectors/x86/Microsoft.VisualStudio.Services.Client.EXE.&#x000D;&#x000A;LOG: Attempting download of new URL file:///C:/Program Files/Microsoft Visual Studio 14.0/Common7/IDE/PrivateAssemblies/DataCollectors/x86/Microsoft.VisualStudio.Services.Client/Microsoft.VisualStudio.Services.Client.EXE.&#x000D;&#x000A;</description>
        <guid>{7F679D93-2EB6-47C9-85EB-F6AD16902662}</guid>
    Friday, October 28, 2016 4:11 AM
  • Hi Leon de Boer,

    According to the installation log, I don't find any errors in the log files. So I think the problem should be related to your machine environment.

    >> LegacySitePackage failed for package [Microsoft.VisualStudio.Shell.Connected.ConnectedUser.ConnectedUserPackage]Source: &apos;Microsoft.VisualStudio.Shell.Connected&apos; Description: Could not load file or assembly
    &apos;Microsoft.VisualStudio.Services.Client

    The error shows there has any problem when loading the Microsoft.VisualStudio.Service.Client, which should be stored in path "C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.VisualStudio.Services.Client\v4.0_12.0.0.0__b03f5f7f11d50a3a". Please check whether this assembly on your machine first.

    And since this assembly is a Microsoft.NET assembly, to make sure whether it is related to corrupted .net frameworks, please take the following steps to see if it helps:

    1. You can try run “SFC /scannow” to repair the embed .NET first, refer to:  https://support.microsoft.com/en-us/kb/929833
    2. Use .NET Framework Setup Verification Tool to verify the .NET Frameworks on your machine, you can download from here: http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx

    By using it, you will find the log file under %TEMP% folder, see the first 15 lines and the last 15 lines.

    If the exit code != 0, it means that your .NET installed incorrectly, please first use .NET Framework Repair Tool to repair it, http://www.microsoft.com/en-us/download/details.aspx?id=30135

    Best Regards,
    Weiwei


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, October 28, 2016 5:29 AM
    Moderator
  • Yep I had already made progress I have uninstalled all the 6.2 .Net stuff from control panel. The problem is something to do with the anniversary upgrade from what I can work out.

    Visual studio now goes in and doesn't lock up and I can get to menu items and move it around. I can't obviously compile or do anything without the framework but I know it's definitely .Net 6.2 that is causing me grief.

    I had already run the .Net fix tool and it did it's stuff but didn't solve anything.

    Will do everything you ask however.

    Friday, October 28, 2016 5:34 AM
  • Okay no problems with SFC and .Net passes for every versions available I did on all not just 6.2 and gives me a report on screen everything is fine

    [10/28/16,13:44:18] Windows directory: C:\WINDOWS
    [10/28/16,13:44:18] System directory: C:\WINDOWS\system32
    [10/28/16,13:44:18] Program Files directory: C:\Program Files
    [10/28/16,13:44:18] Common Files directory: C:\Program Files\Common Files
    [10/28/16,13:44:18] Install state for .NET Framework 1.0: not installed.
    [10/28/16,13:44:18] Install state for .NET Framework 1.1: not installed.
    [10/28/16,13:44:18] Install state for .NET Framework 2.0: installed with service pack 2.
    [10/28/16,13:44:18] Install state for .NET Framework 3.0: installed with service pack 2.
    [10/28/16,13:44:18] Install state for .NET Framework 3.5: installed with service pack 1.
    [10/28/16,13:44:18] Install state for .NET Framework 4 Client: installed with no service packs.
    [10/28/16,13:44:18] Install state for .NET Framework 4 Full: installed with no service packs.
    [10/28/16,13:44:18] Install state for .NET Framework 4.5: installed with no service packs.
    [10/28/16,13:44:18] Install state for .NET Framework 4.5.1: installed with no service packs.
    [10/28/16,13:44:18] Install state for .NET Framework 4.5.2: installed with no service packs.
    [10/28/16,13:44:18] Install state for .NET Framework 4.6: installed with no service packs.
    [10/28/16,13:44:18] Install state for .NET Framework 4.6.1: installed with no service packs.
    [10/28/16,13:44:18] Install state for .NET Framework 4.6.2: installed with no service packs.
    [10/28/16,13:44:18] Not adding product '.NET Framework 1.0' because it is not currently installed
    [10/28/16,13:44:18] Not adding product '.NET Framework 1.1' because it is not currently installed
    [10/28/16,13:44:18] Not adding product '.NET Framework 1.1 SP1' because it is not currently installed
    [10/28/16,13:44:18] Not adding product '.NET Framework 2.0' because it is not currently installed
    [10/28/16,13:44:18] Not adding product '.NET Framework 2.0 SP1' because it is not currently installed
    [10/28/16,13:44:18] Not adding product '.NET Framework 3.0' because it is not currently installed
    [10/28/16,13:44:18] Not adding product '.NET Framework 3.0 SP1' because it is not currently installed
    [10/28/16,13:44:18] Not adding product '.NET Framework 3.5' because it is not currently installed
    [10/28/16,13:44:26] Starting verification for product .NET Framework 4.6.2
    [10/28/16,13:44:26] Section [Files - .NET Framework 4 Client (Common)] - start parsing entries
    
    <SNIP>
    
    [10/28/16,13:50:14] Section [Registry - .NET Framework 4 Full (Common)] - stop parsing entries
    [10/28/16,13:50:14] Section [Registry - .NET Framework 4 Full (32-bit)] - start parsing entries
    [10/28/16,13:50:14] Section [Registry - .NET Framework 4 Full (32-bit)] - stop parsing entries
    [10/28/16,13:50:14] Not running action 'Registry - .NET Framework 4 Full (64-bit)' for product '.NET Framework 4.6.2' because the OS condition does not match
    [10/28/16,13:50:14] Not running action 'Registry - .NET Framework 4 Full (Wow6432Node)' for product '.NET Framework 4.6.2' because the OS condition does not match
    [10/28/16,13:50:14] Section [Registry - .NET Framework 4.5 (32-bit)] - start parsing entries
    [10/28/16,13:50:14] Section [Registry - .NET Framework 4.5 (32-bit)] - stop parsing entries
    [10/28/16,13:50:14] Not running action 'Registry - .NET Framework 4.5 (64-bit)' for product '.NET Framework 4.6.2' because the OS condition does not match
    [10/28/16,13:50:14] Not running action 'Registry - .NET Framework 4.5 (Wow6432Node)' for product '.NET Framework 4.6.2' because the OS condition does not match
    [10/28/16,13:50:14] Processing custom action 'Custom Action - .NET Framework 4.0 test application'
    [10/28/16,13:50:14] ExecutablePath = 'Netfx40TestApplication.exe'
    [10/28/16,13:50:14] FriendlyName = '.NET Framework 4 test application'
    [10/28/16,13:50:14] TimeoutSeconds = '300'
    [10/28/16,13:50:14] WaitOnExit = 'true'
    [10/28/16,13:50:14] Silent = 'true'
    [10/28/16,13:50:14] Launching process 'Netfx40TestApplication.exe' now
    [10/28/16,13:50:14] Process successfully launched. Waiting 300 seconds for it to complete.
    [10/28/16,13:50:16] Process 'Netfx40TestApplication.exe' exited with return code 0
    [10/28/16,13:50:16] Verification succeeded for product .NET Framework 4.6.2

    Friday, October 28, 2016 5:54 AM
  • It's also very consistent that if I pull .NET 4.6.2 out Visual Studio 2015 doesn't lock up
    Friday, October 28, 2016 5:57 AM
  • This is like death by 1000 cuts .. made more progress

    If I remove EVERY other version of .NET except 4.6.2 the IDE is usable to a degree .. that is it doesn't freeze :-)

    So with just 4.6.2 on I get all the new feed etc on the front screen, all the menus work etc I just can't do anything actually involving programming.

    Any attempt to open a solution or start a solution give me a big warning I need to re-install Visual Studio. 

    I am trying to remember how many versions of .NET the installer put in I think it was like 3  4.6.2, 4.6.1 and 4.51???

    So it looks like 4.6.2 is needed by the front IDE and the other frameworks are needed to actually do any work ... SIGH.

    I guess I am going to have to work out which one isn't compatible with 4.6.2 :-(

    Edit: Update okay so the 3 versions are 4.62, 4.52 and 4.51 and 4.52 doesn't like 4.62 on my machine. 4.6.2 is inbuilt into Windows 10 after patch now as I understand and the 4.5.2 installation seems to be going wrong.
    Friday, October 28, 2016 9:57 AM
  • Oh my lordy now we have got to the problem. Was just reading the latest details on .Net 4.6.2 and ran across an interesting thing that since the windows 10 anniversary update 4.6.2 is an installed windows system component and can't be removed like a normal component.

    And look at that on my system there it is as a windows system component entry in the windows component screen. So why is Visual studio ISO and web packs trying to install 4.6.2 as a normal .NET install and is that legal, when I try it from just the .NET ISO packs it tells me to go to hell it has a version of 4.6.2 already installed.

    I get the distinct impression this is a Microsoft internal mess and there are departments not talking to each other here. I need clarification what am I supposed to do with all these now system settings and does the installer know about the already windows component .NET version lurking there.




    Friday, October 28, 2016 1:25 PM
  • Final proof the windows component version of .NET 4.6.2 is doing all the work.

    I have no .NET installed on the control panel but the .NET tester reports that all is just fine.

    So the installed component version of .NET 4.6.2 and Visual Studio are not compatible by looks, at least on my machine. No I need to investigate how I update and check versions on the windows component version of .NET.


    Friday, October 28, 2016 1:45 PM
  • Okay I can confirm on my machine with windows 10 anniversary update 4.6.2 as an installed windows system component I can not install Visual Studio 2015 update 3 from either web or CD.

    Not Even:

    Start -> Type "Settings" -> Update & Security -> Recovery -> Reset this PC (with apps deletion and everything) and reloading the entire machine does not work.

    However in desperation I loaded Visual Studio Enterprise 2015 preview 5 and it does something magical it fixes it. Not only does preview 5 work but you suddenly can use Visual studio 2015.

    As I suspected preview 5 took out all the.NET installations and installs a later Visual studio redistributed version 14.0.24516 versus the 14.0.24210 that VS2015 tries to install.

    It also makes a lot of changes in registry and you are up and running. 

    The only problem is the trick upsets your templates in VS2015 it keeps going for the preview ones and I guess can't understand them. I am just trying the command line fix to get templates back but I can at least use Visual again ... I can live without templates if I have too.

    Saturday, October 29, 2016 6:32 AM
  • Nope trying to fix the templates break it again because installs .NET junk and the 14.0.24210 redistributable.

    So now here is the big question where can I get the 14.0.24516 redistributable as a seperate package. The official site wants to give me 14.0.24210, if I can get that I am pretty sure I can get everything working.

    Saturday, October 29, 2016 7:27 AM
  • Hi Leon de Boer,

    Thanks for your response for this issue and sorry for the delay reply because of the weekend.

    According to your discovery, this issue seems related to the .NET Framework version between Windows 10 Anniversary Updates version and Visual Studio 2015.

    I have a Windows 10 Anniversary Updates machine, which installed Visual Studio Enterprise 2015 with Update 3. It doesn't have such issue on my machine.

    Please tell us your Windows 10 Anniversary Updates environment, include installed programs and Updates. And the detailed steps about you install the Visual Studio Community 2015 with Update 3 on your machine. I will build another Anniversary Updates machine to verify whether this issue caused by the .NET Framework version.

    Best Regards,
    Weiwei


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, October 31, 2016 2:32 AM
    Moderator
  • Okay I can add more it's quirky as I have now got another almost identical machine up but they have slightly different setups. On my normal machine I have Windows Home 32 bit Windows Version 1607 (OS build 14393.351). The second machine is Windows Home 64 bit Windows Version 1607 (OS build 14393.321).

    The two machine mother boards are identical they have different video cards but in the main they are twins. I need the 32 bit because I have some old FPGA software that doesn't like 64 bit windows.

    The quirky part is on the 32 bit version Visual Studio installs just fine but when I try to run it I get the lockup as per the very first image at that opening screen. My 64 bit version has no such problem it runs Visual Studio update 3 just fine.

    Really neither setup has anything else really installed these are dedicated programming machines just video drivers and a printer. So there is nothing I have installed that requires .NET and I can freely remove the installations and it doesn't effect any of my programs.

    For my part what I would like to know is if you delete the .NET installs from control panel is the windows component installed version of .NET 4.6.2 enough to run Visual Studio 2015 update 3. The reason I query this is I am not convinced the installed version of .NET does any work. If I try to install any version of .NET from a solo installation it flatly refuses telling me a higher version of .NET is already installed. So I am mystified how the Visual Studio installer even gets versions of .NET to install to the control panel section.

    If I am correct and Visual Studio 2015 update 3 is just using the Windows Component version 4.6.2 so there must be a compatibility problem there.  That is what the new version "15" preview 5 does if you look no .NET installs at all.

    Monday, October 31, 2016 3:35 PM
  • This by the way is the report from Preview 5 about it's version of .NET it is using on that same machine. It works flawlessly and I have been using it in the meantime. So that must be the Windows Component version of .NET on this machine because it doesn't exist anywhere else.



    Monday, October 31, 2016 3:41 PM
  • Hi Leon de Boer,

    >> Okay I can confirm on my machine with windows 10 anniversary update 4.6.2 as an installed windows system component

    Do you mean the .NET Framework 4.6.2 is installed by Windows 10 Anniversary Update automatically without Visual Studio 2015 installed?

    I checked my new installed Windows 10 Anniversary Update machine which doesn't installed any programs. I don't find .NET Framework 4.6.2 in my Control Panel. So I don't think it is Windows 10 Anniversary Update component.

    If the .NET Framework 4.6.2 installed when your Windows 10 Anniversary Update new installed, I'm afraid that there has any problem on your Windows installer.

    And both of my Windows version are 64 bit. I don't have 32 bit version to check whether it is the 32 bit version specific. If possible, please check a new installed 32 bit version to check whether the .NET Framework 4.6.2 is specific on this version of Windows.

    Best Regards,
    Weiwei


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, November 01, 2016 6:10 AM
    Moderator
  • >>Do you mean the .NET Framework 4.6.2 is installed by Windows 10 Anniversary Update automatically without Visual Studio 2015 installed?

    I had Visual Studio with update 2 on when the anniversary update went thru and it automatically installed the Windows Component version of 4.6.2 ... I knew nothing about the change. I assume it saw I had .NET installed and put the component  in.

    >>If the .NET Framework 4.6.2 installed when your Windows 10 Anniversary Update new installed, I'm afraid that there has any problem on your Windows installer.

    I have never installed it from new, as I said above the update was a thing Microsoft pushed out on it's notification updates and you click yes to accept. As discussed when I did that I had VS2015 update 2 working and it continued to work after it but I can only assume that was the point it got installed.

    My problem was once I then tried to install update 3 it broke and left me with this weird problem. I actually have a CD ISO of update 2 and it won't install correctly either.

    My only hope to fix the problem is a need for a clear answer to this

    1.) Does VS2015 actually need any .NET installation other than the 4.6.2 .NET component. The installer manages to install 3 different version of .NET into the control panel area something that slightly puzzles me.

    I am of the opinion from testing that it actually doesn't need a single one of these .NET installs. I say that because first if I uninstall all the 3 packages using control panel the program still runs in and freezes at exactly the same place there is a lot of the programming running before the freeze. Secondly preview 5 runs without the need for any other version of .NET beyond the Windows component.

    You can easily confirm that by just uninstalling the .NET version on control panel on your machine and see if VS2015 still works. If I get desperate I will do it on my second machine to test but I am a bit nervous to get myself into the situation I can't use the program on 2 machines.

    If I am right in the above then it means I am looking for a problem between the windows component version of .NET and VS2015. I can ignore installation itself, outside the fact the installer may be writing a wrong registry value but it doesn't have anything to do with .NET installation as contained on the installer CD or ISO because it isn't in use. That is all I want to confirm.

    So repeating to be clear, I am saying I don't think the .NET installs from the CD/ISO do anything they are just junk that gets installed that isn't used. I am after TRUE/FALSE on that statement.


    Tuesday, November 01, 2016 4:26 PM
  • Hi Leon de Boer,

    After I uninstall all .NET Framework related in Control Panel, I could open my Visual Studio 2015 and do any operations on it. The only effect is I could not use the project template that in different version of .NET Framework.

    Best Regards,
    Weiwei


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, November 02, 2016 2:11 AM
    Moderator
  • Thank you for confirming that and I had sort of reached that conclusion the .NET frameworks and SDK's aside from 4.6.2 are only used if you are programming for those frameworks.

    That is sort of representative of the problem with Visual Studio 2015 install that it installs junk that many will never use. I am pleased to see that the new preview 5 installer does nothing like this.

    So now I have followed the binds from devenv.exe.config and I find a little problem.

    C:/PROGRAM FILES/MICROSOFT VISUAL STUDIO 14.0/COMMON7/IDE/EXTENSIONS/MICROSOFT/SQLDB/en/Microsoft.VisualStudio.Data.Tools.Package.resources.EXE

    I have no such file .. actually I don't even have an "en" directory in SQLDB. I am assuming en is for english and this is a language support. Not sure how I can do an install and miss an entire directory but could you check if that directory exists for your install.

    Wednesday, November 02, 2016 5:50 AM
  • Hi Leno de Boer,

    I also don't find the "en" folder and Microsoft.VisualStudio.Data.Tools.Package.resources.EXE file in my SQLDB folder.

    According to the path and the folder name, this file should be SQL Server Data Tools extension language source file. Please check whether you have installed SQL Server Data Tools extension and English Language package for your Visual Studio.

    You could install SQL Server Data Tools from VS installer and the Language package from official site.

    Best Regards,
    Weiwei


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, November 03, 2016 4:59 AM
    Moderator
  • Well it has taken two weeks on and off playing with it but I finally got VS2015 update 3 installed and working. Thank you WeiWei for helping me at least sort out some of the packages I could kick.

    I had to use the download and layout option then manually install each package I wanted. I would attempt to start Visual Studio read the logs see what errors it had and find the packages to install to cure the errors ... rinse and repeat over and over. I guess the plus side is I have the minimum installation I need. Perhaps Microsoft could well learn to do have a minimum installation option so you don't waste all the customers time when a ridiculously over-bloated installer gets stuck unable to install junk the customer will never use.

    I think the installer takes the prize as the worst installer ever released on a commercial product a quick google of VS 2015 installation gives an idea of the scope of the problem. However I guess you are on the sharp edge of that having to answer all this junk.

    All I can say is they had better get the new installer they are using for VS 15 preview 5 debugged and in use ASAP. Even with all the bugs the new installer has it is 100 times easier and faster. My only complaint with the new installer they still insist on reporting vague messages to screen and detailed messages in the log. I have a problem like it can't sort licensing out and it's going to bail how about telling me in plain English to the screen. Having the installer aborted with please read log when that log is a massive pile of XML junk is not great. The programmers bailed the installation for a reason so they must know the English words as to why they bailed the install, is it that hard to put the English onto the screen.

    Tuesday, November 08, 2016 8:38 AM