Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
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:
Objective-C
@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:

C#
<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;


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

Objective-C
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.


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

Please advice.
Posted
Updated 21-Mar-16 22:43pm
v2
Comments
Richard MacCutchan 22-Mar-16 4:44am    
Please do what the messages tell you.
Ajay K.S 22-Mar-16 4:47am    
Thanks Richard, that means, .Net Core can't be installed in systems with .Net framework < 4.0.*, correct?
Richard MacCutchan 22-Mar-16 5:06am    
Sorry, I don't understand the question. But the message says you cannot run PowerShell 3 unless you have .NET 4 installed.
Ajay K.S 22-Mar-16 5:19am    
I also tried using the exe also (as mentioned in the question). Its also returning the exception:

'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'

So, my question is: Can we not install the .Net Core in machines with >NET F/W less than 4.0 ?
Richard MacCutchan 22-Mar-16 6:10am    
What does that have to do with the problem? This is nothing to do with .NET Core (and I am not sure what that means), it is to do with running PowerShell, as clearly stated in the error message.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900