libmsalruntime.so and .NET 10.0.11
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 281
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Describe the bug
After upgrading to .NET 10.0.11 the size of my application build package increased by 38 MB. Further research revealed that it is caused by the inclusion of libmsalruntime.so in the runtimes\linux-x64\native folder. This file was not included in earlier builds using previous .NET 10 SDKs.
The file libmsalruntime.so is not part of the core .NET runtime itself - it belongs to the Microsoft Authentication Library package (Microsoft.Identity.Client or Microsoft.Identity.Client.NativeInterop). My application does not reference these dependencies directly so it must be a transitive dependency of some other NuGet package.
It seems strange that this large dependency is suddenly necessary in .NET 10.0.11 on Linux when it was not necessary in previous .NET 10 SDKs?
### Expected Behavior
_No response_
### Steps To Reproduce
_No response_
### Exceptions (if any)
_No response_
### .NET Version
10.0.11
### Anything else?
_No response_
Contributor guide
Research direction
Start by comparing the runtimes/linux-x64/native contents produced with .NET 10.0.11 and earlier .NET 10 SDKs, focusing on libmsalruntime.so. Trace the transitive NuGet dependency to Microsoft.Identity.Client or Microsoft.Identity.Client.NativeInterop. Done means identifying why the file is newly included and documenting or correcting the unintended package-size change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100