Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Targeting .Net Core Framework

$
0
0

Cross posted from here.

I've created a simple console application using .Net Core.  However, when I try to run this, I get the following error:

The specified framework 'Microsoft.NETCore.App', version '1.1.2' was not found.

  - Check application dependencies and target a framework version installed at:

      C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App

  - The following versions are installed:

      1.0.3

      1.1.0

  - Alternatively, install the framework version '1.1.2'.

There's a few things about this error message that I don't understand:

1. I am targeting x64 - so, shouldn't it be looking in c:\Program Files\?

2. I have installed the latest SDK from here.  (I've tried uninstalling and re-installing this several times).

3. The NuGet package does reference 1.1.2 and, indeed, prevents me from changing this (NuGet says "Blocked by Project").

4. dotnet --version gives me:

    1.0.0-preview2-1-003177


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>