diff --git a/src/dotnet-ef/Project.cs b/src/dotnet-ef/Project.cs index 1953c0f1a46..a37a869dae5 100644 --- a/src/dotnet-ef/Project.cs +++ b/src/dotnet-ef/Project.cs @@ -69,7 +69,7 @@ bool FileMatches() { try { - return !File.ReadAllBytes(efTargetsPath).SequenceEqual(efTargets); + return File.ReadAllBytes(efTargetsPath).SequenceEqual(efTargets); } catch {