Ask a question
I've upgraded to the latest module, 10.0.2 is the version after upgrading the module in Intent. Ther is now a issue with code in my Infrastructure project in the DependencyInjection.cs file, AddInfrastructure method,
services.AddDbContext<ApplicationDbContext>((sp, options) =>
{
var tenantInfo = sp.GetService<ITenantInfo>() ?? throw new Finbuckle.MultiTenant.MultiTenantException("Failed to resolve tenant info.");
options.UseSqlServer(
tenantInfo.ConnectionString,
b => b.MigrationsAssembly(typeof(ApplicationDbContext).Assembly.FullName));
options.UseLazyLoadingProxies();
});
```gives a compile error:
The type or namespace name 'MultiTenantException' does not exist in the namespace 'Finbuckle.MultiTenant' (are you missing an assembly reference?)
Is there new code that it is not generating correctly?
Ask a question
I've upgraded to the latest module, 10.0.2 is the version after upgrading the module in Intent. Ther is now a issue with code in my Infrastructure project in the DependencyInjection.cs file, AddInfrastructure method,