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
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
101 Points
318 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?
Participant
1060 Points
350 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
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Participant
910 Points
363 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.