dotnet / dotnet-api-docs

.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)
https://docs.microsoft.com/dotnet/api/
Other
718 stars 1.56k forks source link

Please include troubleshooting tips for loader exceptions when dependent types cannot be fully resolved #1585

Open 05tarun opened 5 years ago

05tarun commented 5 years ago

How are the other assemblies located when using Load, LoadFrom, LoadFile to load the current assembly


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

steveharter commented 2 years ago

The current API documentation does not describe the loading algorithm or troubleshooting etc since it is a complex subject, and because it is different between .NET Framework and .NET 5+ (core).

Instead, most of this type of documentation is described in the "execution model" - see https://docs.microsoft.com/en-us/dotnet/core/dependency-loading/loading-managed, https://docs.microsoft.com/en-us/dotnet/core/dependency-loading/collect-details and other links in that area.

Perhaps the source LoadFrom etc doc should link to the "execution model" docs?

steveharter commented 2 years ago

@BillWagner does this seem like something the doc team would want to address?