I have created a .NET Core application. I am using Entity Framework Core with Code first approach and I am creating migrations.
For some reason the
.designer.cs file of the migration is not associated with the principal
I have seen this solution but it seems is not correct for .net core application.
Any help please?
Try to use Update instead of Include.
.csproj file, add these lines to the
<Compile Update="yourfilename.Designer.cs"> <DependentUpon>yourfilename.cs</DependentUpon> </Compile>