From e009a92387bf2800d30a0625531d53f770c74e24 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Wed, 19 Nov 2025 15:03:07 -0800 Subject: [PATCH] add note about version --- docs/core/testing/unit-testing-fsharp-with-xunit.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/core/testing/unit-testing-fsharp-with-xunit.md b/docs/core/testing/unit-testing-fsharp-with-xunit.md index 064366680b4e4..b1b5c8a8e5261 100644 --- a/docs/core/testing/unit-testing-fsharp-with-xunit.md +++ b/docs/core/testing/unit-testing-fsharp-with-xunit.md @@ -62,6 +62,9 @@ The test project requires other packages to create and run unit tests. `dotnet n dotnet reference add ../MathService/MathService.fsproj ``` +> [!TIP] +> If you're using .NET 9 SDK or earlier, use the "verb first" form (`dotnet add reference`) instead. The "noun first" form was introduced in .NET 10. + You can see the entire file in the [samples repository](https://github.com/dotnet/samples/blob/main/core/getting-started/unit-testing-with-fsharp/MathService.Tests/MathService.Tests.fsproj) on GitHub. You have the following final solution layout: