I am currently using VS2017 to develop the .NET Core MVC Web
When I tried to create a new controller from Add> Controller, I got this error
Error There was an error running the code generator: "The specified deps.json [C:\Users\xxx\Documents\Visual Studio 2017\Projects\bin\MCD\Debug\netcoreapp1.1 \[project name].deps.json] does not exist"
When I examined the solution folder, I found that there are two folders in the bin directory, Debug and MCD .
bin | - Debug - netcoreapp1.1 - ... - [project name].deps.json | - MCD <- this is where the scaffolding looks for deps.json
I noticed that I also had the same problem when debugging a .NET Console application (which I created from the dotnet new console cli command) from Visual Studio code. Could not find the same problem as in .deps.json
Are there any .NET Core configurations that I missed? Or is this a bug in .NET Core? I remember I didn’t configure anything before installing my .NET Core in VS2017
source share