diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..1f1e4b9
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,9 @@
+# Verify snapshot files must keep LF line endings on every platform. Verify 31.21+
+# rejects verified files that contain a carriage return (it no longer normalizes
+# them), so without this rule the Windows CI runner checks *.verified.* out as CRLF
+# (core.autocrlf) and every snapshot test fails on windows-latest.
+#
+# Scope is intentionally narrow (only Verify's files): the repository otherwise
+# leaves line-ending/charset handling untouched on purpose (see .editorconfig).
+*.verified.* text eol=lf
+*.received.* text eol=lf
diff --git a/FirstClassErrors.GenDoc.UnitTests/FirstClassErrors.GenDoc.UnitTests.csproj b/FirstClassErrors.GenDoc.UnitTests/FirstClassErrors.GenDoc.UnitTests.csproj
index 8a0b485..d959a7a 100644
--- a/FirstClassErrors.GenDoc.UnitTests/FirstClassErrors.GenDoc.UnitTests.csproj
+++ b/FirstClassErrors.GenDoc.UnitTests/FirstClassErrors.GenDoc.UnitTests.csproj
@@ -15,7 +15,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive