使用.NET 2.0的Windows机器中的.NET核心问题 [英] Issue with .NET core in windows machine with .NET 2.0

查看:76
本文介绍了使用.NET 2.0的Windows机器中的.NET核心问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当尝试使用powershell命令安装.Net核心以及直接设置时,它显示了一些.NET依赖性错误。我想知道我是否可以在不安装.NET 4.0组件的情况下使用这个.NET Core。



Can .Net核心可以安装在 的系统中.NET框架< 4.0 ?!



提前致谢



什么我试过了:



尝试使用powershell命令安装.Net核心时:

When tried to install .Net core using the powershell command and also the set up directly, it's showing some .NET dependency error. I was wondering if I could use this .NET Core without installing .NET 4.0 components.

Can .Net core can be installed in systems with .NET framework < 4.0 ?!

Thanks in advance

What I have tried:

When tried to install .Net core using the powershell command:

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}"





命令提示符返回错误:





The command prompt returned an error:

<pre lang="C#">
&#39;&lt;i&gt;Version v4.0.30319 of the .NET Framework is not installed and it is required to run version 3 of Windows Powershell&lt;/i&gt;&#39;
&lt;pre lang=&quot;C#&quot;&gt;&amp;lt;/pre&amp;gt;





我试图直接安装exe,但它也返回.NET v4.0.30319依赖性错误:





I tried to install the exe directly but its also returning the .NET v4.0.30319 dependency error:

To run this application, you first must install one of the following versions of the .NET Framework:  v4.0.30319

Contact your application publisher for instructions about obtaining the appropriate version of the .NET Framework.





这篇博客说.NET 4.0必须安装.NET Core。



请建议。



This blog says that .NET 4.0 is must to install .NET Core.

Please advice.

推荐答案

Branch ='dev'; iex((new-object net.webclient).DownloadString('https:// raw。 githubusercont ent.com/aspnet/Home/dev/dnvminstall.ps1'))}
Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}"





命令提示符返回错误:





The command prompt returned an error:

<pre lang="C#">
&#39;&lt;i&gt;Version v4.0.30319 of the .NET Framework is not installed and it is required to run version 3 of Windows Powershell&lt;/i&gt;&#39;
&lt;pre lang=&quot;C#&quot;&gt;&amp;lt;/pre&amp;gt;





我试图直接安装exe,但它也返回.NET v4.0.30319依赖性错误:





I tried to install the exe directly but its also returning the .NET v4.0.30319 dependency error:

To run this application, you first must install one of the following versions of the .NET Framework:  v4.0.30319

Contact your application publisher for instructions about obtaining the appropriate version of the .NET Framework.





这篇博客说.NET 4.0必须安装.NET Core。



请咨询。



This blog says that .NET 4.0 is must to install .NET Core.

Please advice.


这篇关于使用.NET 2.0的Windows机器中的.NET核心问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆