My Digital Garden

Migrate dependencies from dotnetframework to dotnetstandard

Migrate Dependencies from DotNetFramework to DotNetStandard

For simple model assemblies it is usually sufficient to just re-create as DotNet standard and adjust the dependency references in the caller.

For more complex code we use Branch by abstraction to provide a clear seam between the calling application and the dependency.

The task of writing the new dependency (supplier) may be made more complex by further dependencies.

For example in an assembly that depends on the Microsoft Dynamics SDK significant refactoring will be needed as this is not available in a DotNet standard version because of underlying WCF dependencies. (see Migrating PowerPlatform clients to dotnetcore)