How to fix DNX/DNVM in Visual Studio 2015?

后端 未结 8 883
时光取名叫无心
时光取名叫无心 2020-12-01 06:02

Today I installed VS 2015 on Windows 7 x64. Mainly to test new .Net Core features and etc. And for test I created new C# \"Console Application (Package)\" solution and got t

8条回答
  •  庸人自扰
    2020-12-01 06:42

    This is a known issue.

    ASP.NET 5: On Windows 7 SP1, DNX SDK cannot be installed without Powershell 3.0.

    Symptoms

    When you create an ASP.NET 5 project, you receive the following error message:

    DNX SDK version 'dnx-clr-win-x86.1.0.0-beta5' failed to install. The solution will use DNX SDK version 'dnx-clr-win-x86-1.0.0-beta5' for this session

    Workaround

    To work around this issue, install Windows Powershell 3.0 (or higher) and try to create the project again. To see your current PS version, run $PsVersionTable command (details).

    Links:

    • How to Install Windows PowerShell 4.0.
    • Install PowerShell 3.0 on Windows 7.

提交回复
热议问题