I am using VS2017 v15.4.1. and using EF Core 2.0. When i create a migration, the migration script is created inside \Migrations folder but the .designer.cs file is creating separately.
Can anyone help how to make the designer file get created inside the main migration file?
Yes, we're all waiting for issue dotnet/project-system#159 to get fixed. ðŸ˜‰ Until then, you can manually edit the
<ItemGroup> <Compile Update="MyMigration.Designer.cs"> <DependentUpon>MyMigration.cs</DependentUpon> </Compile> </ItemGroup>