none
Visual Studio 2015 .NET Core Templates Hang on Creation

    Question

  • Whenever I create a Class Library (.NET Core), Console Application (.NET Core), or ASP.NET Core Web Application (.NET Core) it hangs on creation.
    Friday, February 03, 2017 8:45 AM

All replies

  • Hi TylerJaacks,

    Do you have tried create other .NET Framework project and whether they are also causes Visual Studio hangs?

    If this issue just occurs when creating .NET Core application, there should be some problem on your .NET Core project template. Please check whether your .NET Core SDK is the latest version. You could get the latest version from below link.

    https://www.microsoft.com/net/download/core

    If you have installed the latest version, please uninstall and reinstall the .NET Core SDK from Control Panel.

    If other .NET Framework project also has this issue, there should be some problem on your Visual Studio installation. Please troubleshooting this issue with following steps.

    1. Check the ActiveLog.xml under the path of %AppData%\Microsoft\VisualStudio\14.0. This file will log all operations when you operate Visual Studio. Whether there has any error messages.
    2. Run your Visual Studio in safe mode, which could help us confirm whether this issue caused by VS packages or not.
    3. Check your Visual Studio version, make sure it has installed the latest update.
    4. Repair your Visual Studio if this issue doesn't occurs before. There should be something broken in your Visual Studio.

    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, February 06, 2017 6:01 AM
    Moderator
  • I know that it doesn't happen when I am in Safemode. Is there a way to check what extension is breaking it?
    Tuesday, February 07, 2017 12:40 AM
  • Hi TylerJaacks,

    If it doesn't happen when in Safe mode, this issue should related to Visual Studio extensions.

    Please check the ActiveLog.xml under the path of %AppData%\Microsoft\VisualStudio\14.0. This file will log all operations when you operate Visual Studio. Whether there has any error log about one of extension.

    If doesn't have any logs, you could check the extensions that installed by yourself after Visual Studio installed, because the most possible extension should be the one that installed later.

    If you could not confirm which extension is installed by yourself or Visual Studio default extension, you could uninstall that related to .NET Core and then try uninstall other extensions one by one.

    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, February 07, 2017 6:16 AM
    Moderator
  • Here is my ActivityLogs https://1drv.ms/u/s!AmHuzWuasLIWxFnwrokguwiF6Mcl could you look at it please.
    Tuesday, February 07, 2017 6:54 AM
  • Hi TylerJaacks,

    According to the ActivityLogs file, there are a lot of extension related error message, some of them have name, but some of them don't have specific name. Following log just part of the errors.

    <entry>
        <record>76</record>
        <time>2017/02/07 06:46:15.504</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.VCProjectEngine, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The located assembly&apos;s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)</description>
        <path>C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\NVIDIA\NSIGHT TEGRA\3.4\Nvidia.PentaK.VSInterop.Impl.v10.dll</path>
      </entry>
      <entry>
        <record>77</record>
        <time>2017/02/07 06:46:15.510</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.Project.V11Only, Version=11.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 (X86)\MICROSOFT VISUAL STUDIO 14.0\COMMON7\IDE\EXTENSIONS\INTEL\DEBUGGEREXTENSION\MIC\LAUNCHER\MIDebugLauncher.dll</path>
      </entry>
      <entry>
        <record>78</record>
        <time>2017/02/07 06:46:15.515</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.Threading, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&apos; or one of its dependencies. The system cannot find the file specified.</description>
        <path>C:\USERS\TYLER JAACKS\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\14.0\EXTENSIONS\X2KYSBXB.OSC\JavaPackage.dll</path>
      </entry>

    So I'm afraid that you still need to check all extensions one by one manually. You could start checking the extensions that you installed by yourself after installing Visual Studio first.

    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, February 08, 2017 1:58 AM
    Moderator