From a63b770e2365e53ccf9bbb58439aa468019e2da3 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 15 Jan 2026 20:01:42 +0000
Subject: [PATCH 1/3] Initial plan
From 70d9206376a689f31ac248cdb98ae925e0ea1069 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 15 Jan 2026 20:12:28 +0000
Subject: [PATCH 2/3] Fix resource file handling in ef and dotnet-ef projects
- Add explicit EmbeddedResource Update for Properties\Resources.resx
- Change DependentUpon for Resources.Designer.cs from .tt to .resx
- This prevents MSBuild glob expansion issues with resource files
Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
---
src/dotnet-ef/dotnet-ef.csproj | 9 ++++++++-
src/ef/ef.csproj | 12 +++++++++++-
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/src/dotnet-ef/dotnet-ef.csproj b/src/dotnet-ef/dotnet-ef.csproj
index d1ce32459c3..7be7cea9a3f 100644
--- a/src/dotnet-ef/dotnet-ef.csproj
+++ b/src/dotnet-ef/dotnet-ef.csproj
@@ -62,11 +62,18 @@
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
True
True
- Resources.Designer.tt
+ Resources.resx
diff --git a/src/ef/ef.csproj b/src/ef/ef.csproj
index 16ba92a0f86..bc598201948 100644
--- a/src/ef/ef.csproj
+++ b/src/ef/ef.csproj
@@ -60,10 +60,20 @@
True
BundleProjectGenerator.tt
+
+
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
+
True
True
- Resources.Designer.tt
+ Resources.resx
From a3e755a21f4ca90721ba5fff3abcd7115bf81503 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 15 Jan 2026 20:16:55 +0000
Subject: [PATCH 3/3] Fix resource file handling in EFCore.Tasks and
Microsoft.Data.Sqlite.Core
- Add explicit EmbeddedResource Update for Properties\Resources.resx
- Change DependentUpon for Resources.Designer.cs from .tt to .resx
- Ensures consistency with ef and dotnet-ef projects
Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
---
src/EFCore.Tasks/EFCore.Tasks.csproj | 9 ++++++++-
.../Microsoft.Data.Sqlite.Core.csproj | 9 ++++++++-
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/src/EFCore.Tasks/EFCore.Tasks.csproj b/src/EFCore.Tasks/EFCore.Tasks.csproj
index e1a280c9a52..3052e402995 100644
--- a/src/EFCore.Tasks/EFCore.Tasks.csproj
+++ b/src/EFCore.Tasks/EFCore.Tasks.csproj
@@ -32,11 +32,18 @@
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
True
True
- Resources.Designer.tt
+ Resources.resx
diff --git a/src/Microsoft.Data.Sqlite.Core/Microsoft.Data.Sqlite.Core.csproj b/src/Microsoft.Data.Sqlite.Core/Microsoft.Data.Sqlite.Core.csproj
index 2305284d616..4befe3867cc 100644
--- a/src/Microsoft.Data.Sqlite.Core/Microsoft.Data.Sqlite.Core.csproj
+++ b/src/Microsoft.Data.Sqlite.Core/Microsoft.Data.Sqlite.Core.csproj
@@ -43,11 +43,18 @@ Microsoft.Data.Sqlite.SqliteTransaction
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
True
True
- Resources.Designer.tt
+ Resources.resx