Microsoft.AspNetCore.App provides a default set of APIs for building an ASP.NET Core application.When you create a asp.net core project,it would contains in the project by default.
Microsoft.AspNetCore.Authentication provides ASP.NET Core common types used by the various authentication middleware components.
Microsoft.AspNetCore.Razor.Design contains MSBuild support for Razor. If you're developing an asp.net core app, there's no need to add an package reference on Microsoft.AspNetCore.Razor.Design manually (and also you're not supposed
to remove them manually). Because it is referenced by Microsoft.AspNetCore.App meta package, which means if you have a dependency on Microsoft.AspNetCore.App, you'll reference the package automatically.
Microsoft.NetCore.App provides a set of .NET API's that are included in the default .NET Core application model.
bank5
But how can I tell for sure without deleting and waiting for something to break?
I am not clear about what do you mean.Could you share more details or what's the scenario do you meet?
Best Regards,
Rena
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
Member
116 Points
350 Posts
How do I know which packages I need
Oct 12, 2019 09:28 PM|bank5|LINK
I believe my app uses the following packages:
AutoMapper
Microsoft.AspNetCore.App
Microsoft.AspNetCore.Authentication
Microsoft.AspNetCore.Razor.Design
Microsoft.NetCore.App
But how can I tell for sure without deleting and waiting for something to break?
Contributor
2710 Points
874 Posts
Re: How do I know which packages I need
Oct 14, 2019 02:16 AM|Rena Ni|LINK
Hi bank5,
Microsoft.AspNetCore.App provides a default set of APIs for building an ASP.NET Core application.When you create a asp.net core project,it would contains in the project by default.
Microsoft.AspNetCore.Authentication provides ASP.NET Core common types used by the various authentication middleware components.
Microsoft.AspNetCore.Razor.Design contains MSBuild support for Razor. If you're developing an asp.net core app, there's no need to add an package reference on Microsoft.AspNetCore.Razor.Design manually (and also you're not supposed to remove them manually). Because it is referenced by Microsoft.AspNetCore.App meta package, which means if you have a dependency on Microsoft.AspNetCore.App, you'll reference the package automatically.
Microsoft.NetCore.App provides a set of .NET API's that are included in the default .NET Core application model.
I am not clear about what do you mean.Could you share more details or what's the scenario do you meet?
Best Regards,
Rena
Participant
970 Points
397 Posts
Re: How do I know which packages I need
Oct 15, 2019 01:39 AM|lextm|LINK
Open project.assets.json file under obj folder and you should see what dependencies are needed.
https://lextudio.com
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.