Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can AssemblyLoadContext skip load System assemblies? #44393

Open
xccu opened this issue Jan 15, 2025 · 0 comments
Open

Can AssemblyLoadContext skip load System assemblies? #44393

xccu opened this issue Jan 15, 2025 · 0 comments
Labels
⌚ Not Triaged Not triaged

Comments

@xccu
Copy link

xccu commented Jan 15, 2025

Describe the issue or suggestion

Hi,
Our project want to call API from System.Runtime.Loader.AssemblyLoadContext to skip load assemblies from System.Xxx and Microsoft.Xxx,the effect same as following codes:
var publicTypes = AssemblyLoadContext.Default.Assemblies .Where(t=>!t.FullName.StartsWith("System")||t.FullName.StartsWith("Microsoft"))

has any advices? Thanks!

@dotnet-policy-service dotnet-policy-service bot added the ⌚ Not Triaged Not triaged label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⌚ Not Triaged Not triaged
Projects
None yet
Development

No branches or pull requests

1 participant