I want to debug empty WebApi Project based on .NET Core 2.2.
I installed Core 2.2 SDK x86
and changed target framework to 2.2:
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>
When i starting to debug this project, IIS
starts, but in route api/values
i see nothing (it loading forever) and i get this error:
The target process exited without raising a CoreCLR started event.Ensure that the target process is configured to use .NET Core. This may be expected if the target process did not run on .NET Core
In my solution WPF
and Class Library
projects exist. I wanted to make WebApi
for it. Like i said, its empty base project genereted by Visual Studio 2019
. I just installed Core 2.2
why i get that error and what im doing wrong?
WebApi
– michasaucer2.1
– michasaucerdotnet --list-sdks
anddotnet --list-runtimes
and share us the result. – Edward