diff --git a/src/Database.Migrations/Client/MigrationNumberAttributeResolver.cs b/src/Database.Migrations/Client/MigrationNumberAttributeResolver.cs index 3526f65..cc10413 100644 --- a/src/Database.Migrations/Client/MigrationNumberAttributeResolver.cs +++ b/src/Database.Migrations/Client/MigrationNumberAttributeResolver.cs @@ -31,6 +31,7 @@ public Task> GetMigrationsAsync () { foreach ( var file in m_files ) { var loadContext = new AssemblyLoadContext ( "MigrationLoadContext" + Path.GetFileName ( file ) ); var fullPath = Path.GetFullPath ( file ); + Console.WriteLine ( $"Try to load dll {fullPath}" ); var pathToAssembly = Path.GetDirectoryName ( fullPath ) ?? ""; loadContext.Resolving += ( AssemblyLoadContext context, AssemblyName assemblyName ) => { return context.LoadFromAssemblyPath ( Path.Combine ( pathToAssembly, $"{assemblyName.Name}.dll" ) );