Why does ASP.NET Core crashes after migrating to Visual Studio 2017?

I am trying to migrate an existing Web API solution to Visual Studio 2017.

It worked great in Visual Studio 2015.

I followed an automatic upgrade to VS 2017, but after launching a solution with debugging, it breaks and I get this error:

code:-32000
message:No script for id: 35
'dotnet.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.4\System.Private.CoreLib.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[6264] dotnet.exe' has exited with code -532462766 (0xe0434352).
The program '[14468] chrome.exe: WebKit' has exited with code -1 (0xffffffff).
The program '[5056] iisexpress.exe' has exited with code 0 (0x0).

After starting the solution without debugging, this error is in the browser .

A debugging solution is generally impossible. It breaks.

I can provide more information, but right now I do not know what is relevant.

EDIT: The solution consists of 3 projects. project.json and .csproj files for each project, as well as launchSettings.json here . They reflect the state after the consolidation of dependencies.

, , .

+4
2

VS 2017 15.0 (26228.12). 15.1 (26403.03) .

+1

@DOMZE

IIS (, , , KESTREL , IIS). , -

-, @Alexan, project.json csproj. , @Alexan ,

, . core 2.0 sdk. 2017.

.NET core 2.0 sdk

, , , ".net core 2.0 sdk".

-1

Source: https://habr.com/ru/post/1674784/


All Articles