0
votes

I'm having issues setting up .Net Core application locally. I inherited the application folder from a developer who wants me to contribute to the project. After opening the project in my visual studio 2017, VisualStudio/15.0.0-RTW+26228.4, before building the solution, I'm getting the detailed error message in the error list window

Severity Code Description Project File Line Suppression State Error Unable to resolve 'Microsoft.NETCore.App (>= 3.1.0)' for '.NETCoreApp,Version=v3.1'. 0

Severity Code Description Project File Line Suppression State Error Unable to resolve 'Microsoft.NETCore.App (>= 3.1.0)' for '.NETCoreApp,Version=v3.1'. 0

Severity Code Description Project File Line Suppression State Error Unexpected dependency 'Microsoft.NETCore.App' with no version number. MHealth C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.PackageDependencyResolution.targets 154

Please, I will welcome your contributions. Thanking you in advance. VS Error message

1

1 Answers

0
votes

what does your dotnet --version say in bash or powershell?

dotnet restore

Download .Net Core 3.1: https://dotnet.microsoft.com/download/dotnet-core/3.1

A few cli commands: https://docs.microsoft.com/en-us/dotnet/core/tools/

You referenced 2.0 in a tag yet its showing 3.0 errors? Where is your .csproj file?