I am starting a new project in ASP.NET Core 3.1. In the model project they used these 3 packages in project_name.json file:
"Microsoft.AspNetCore.Razor.Tools ": { "version": "1.0.0-preview2-final", "type": "build" },
"Microsoft.AspNetCore.StaticFiles": "1.0.0",
"Microsoft.AspNetCore.Mvc": "1.0.1"
And there was a tools section in project_name.json file:
"tools": { "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final", "Microsoft.AspNetCore.Razor.Tools": "1.0.0-preview2-final"}
which adds ' "Microsoft.AspNetCore.Razor.Tools": "1.0.0-preview2-final" '.
I want to install the packages from NuGet package manager simply. But I am not finding:
Microsoft.AspNetCore.Razor.Tools
package there. I looked out what's its replacement but didn't come up with one.
And, there was a package 'Microsoft.AspNetCore.Mvc.Core' that I replaced for ' "Microsoft.AspNetCore.Mvc": "1.0.1" '.
So, the questions are,
What is the replacement for 'Microsoft.AspNetCore.Razor.Tools'? Is the package like 'Microsoft.AspNetCore.Razor' in NuGet the replacement? Or should I add it manually in .csproj? If 'yes' then I think that the package is a little outdated as it last was updated in 2016. And, can I do that manually in .csproj as I can do in project_name.json?
How to configure the tools section? As there are no tools section now in the .csproj file like project_name.json file has.
Is 'Microsoft.AspNetCore.Mvc.Core' is replacment for 'Microsoft.AspNetCore.Mvc'?
Thank you.
