Skip to content

Error In Code #52080

@ameralhomsi

Description

@ameralhomsi

Type of issue

Code doesn't work

Description

Error in code :

var alc = new TestAssemblyLoadContext();
Assembly a = alc.LoadFromAssemblyPath(assemblyPath);

TestAssemblyLoadContext constructor has parameter it should be :

var alc = new TestAssemblyLoadContext(assemblyPath);

Page URL

https://learn.microsoft.com/en-us/dotnet/standard/assembly/unloadability?source=docs

Content source URL

https://github.com/dotnet/docs/blob/main/docs/standard/assembly/unloadability.md

Document Version Independent Id

b03cedce-9074-9686-0b31-045b2b4c862d

Platform Id

d03f7379-b946-0c3a-26b3-c6f57450148b

Article author

@janvorli

Metadata

  • ID: f3283764-f15a-fa5f-5106-6f294c780f7b
  • PlatformId: d03f7379-b946-0c3a-26b3-c6f57450148b
  • Service: dotnet-fundamentals

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions