DNX network command (rc1) does not work

I am having problems starting an MVC6 application. The project builds well, there are no errors, packages are loaded correctly (no errors during recovery)

Here is my global.json code. As you can see, both versions of dnx in the application and on the machine are the same

Of course, I'm using VS2015 with WebTools-beta8 and DotNetVersionManager-beta8.

This is part of my project.json:

"commands": {
  "web": "Microsoft.AspNet.Server.Kestrel",
  "gen": "Microsoft.Extensions.CodeGeneration"
},

"frameworks": {
    "dnx451": { }
},

"exclude": [
    "wwwroot",
    "node_modules",
    "bower_components",
    "Content"
],
"publishExclude": [
    "Content",
    "node_modules",
    "bower_components",
    "**.xproj",
    "**.user",
    "**.vspscc"
],
"scripts": {
    "postrestore": [ "npm install", "bower install" ],
    "prepare": [ "gulp copy" ]
}

When I click on the Web command, the project assembly, but then the cmd window shows me the following message: ('Could not load the file or assembly Microsoft.Extensions.PlatformAbstract')

The output / debug window ends with "Program" [14200] dnx.exe "exited with code 1 (0x1)".

dnvm webTools, . , , dnx.

+4
1

?

'dnu restore' . , MVC.

+2

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


All Articles