.NET 6 Blazor WebAssembly create duplicate variables in Startup.cs if more than one datasource added

Hi, Got these errors below on my Startup.cs. This happen when I add more than one datasouce into the project. If I manually remove these duplicates variables, it will automatically override it and replace with duplicates on run time.

error CS0128: A local variable or function named 'oDataBuilder' is already defined in this scope 
error CS0128: A local variable or function named 'model' is already defined in this scope

image
image
image
image

Thanks @kieuale! Will be fixed immediately!

1 Like

The new release fix the issue. THANK YOU!