dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.85k stars 4.62k forks source link

System.Security.Principal.Windows 4.7.0 package too large #104785

Closed sebastijanstoja closed 3 days ago

sebastijanstoja commented 1 month ago

Hi folks,

I am writing this email because we found contact as owner of package System.Security.Principal.Windows 4.7.0. The problem is that your package is too large, over 1GB. By the standardshould be around 500MB, and this is causing effect on our repos while onboarding to Dialtone*. Is there any way to break into multiple or compress to be smallest size (around 500MB)?

If you are not package owner, please provide to appropriate person.

*A Dialtone build is a build run on an on-prem build system which is used if the Azure-based build system is down due to a large-scale Azure failure.

Regards, Sebastijan from Azure Core

julealgon commented 1 month ago

Where are these sizes coming from?

System.Security.Principal.Windows 4.7.0 is 499.11 KB according to NuGet.org itself:

When contents are extracted, it takes around 2.5MB: image

teo-tsirpanis commented 1 month ago

Also @sebastijanstoja it's likely that you don't need this package if you are not targeting sufficiently new frameworks. I would suggest you to try removing it, rebuild your projects and see if the build fails.

sebastijanstoja commented 1 month ago

I need to get some permission to download from the location. I will come back ASAP I got the info.

dotnet-policy-service[bot] commented 1 month ago

This issue has been marked needs-author-action and may be missing some important information.

dotnet-policy-service[bot] commented 2 weeks ago

This issue has been automatically marked no-recent-activity because it has not had any activity for 14 days. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will remove no-recent-activity.

dotnet-policy-service[bot] commented 3 days ago

This issue will now be closed since it had been marked no-recent-activity but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.