diff --git a/Directory.Packages.props b/Directory.Packages.props
index fe34bbf..74c80f1 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -5,11 +5,11 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/tests/Fedit.Tests/Program.fs b/tests/Fedit.Tests/Program.fs
index d89ca6a..708cbf1 100644
--- a/tests/Fedit.Tests/Program.fs
+++ b/tests/Fedit.Tests/Program.fs
@@ -1,4 +1,7 @@
module Fedit.Tests.Program
-[]
-let main _ = 0
+// Microsoft.NET.Test.Sdk 18 + xunit.runner.visualstudio 3.x generate the test
+// entry point at build time (Microsoft.Testing.Platform). F# allows only one
+// [] and it must be the last declaration in the last file, so a
+// hand-written one collides with the generated Main (FS0433). We let the
+// platform own the entry point; tests still run under VSTest via dotnet test.