From be59e0504875b9cd3c0812423ee46c32566d6582 Mon Sep 17 00:00:00 2001 From: Egil Hansen Date: Fri, 5 Jul 2024 14:29:30 +0000 Subject: [PATCH] fix: ensure xunit using same version across solutions --- .../tests/razor/bunit.docs.razor.samples.csproj | 12 +++++++----- .../tests/xunit/bunit.docs.xunit.samples.csproj | 12 +++++++----- .../site/docs/getting-started/create-test-project.md | 2 +- .../template/Company.BlazorTests1.csproj | 2 +- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/docs/samples/tests/razor/bunit.docs.razor.samples.csproj b/docs/samples/tests/razor/bunit.docs.razor.samples.csproj index 03f4838e3..601c8a4c3 100644 --- a/docs/samples/tests/razor/bunit.docs.razor.samples.csproj +++ b/docs/samples/tests/razor/bunit.docs.razor.samples.csproj @@ -9,11 +9,13 @@ - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + + + + all + runtime; build; native; contentfiles; analyzers + NU1701 + diff --git a/docs/samples/tests/xunit/bunit.docs.xunit.samples.csproj b/docs/samples/tests/xunit/bunit.docs.xunit.samples.csproj index d77512f72..be96270c2 100644 --- a/docs/samples/tests/xunit/bunit.docs.xunit.samples.csproj +++ b/docs/samples/tests/xunit/bunit.docs.xunit.samples.csproj @@ -11,11 +11,13 @@ - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + + + + all + runtime; build; native; contentfiles; analyzers + NU1701 + diff --git a/docs/site/docs/getting-started/create-test-project.md b/docs/site/docs/getting-started/create-test-project.md index 438784da2..09fc5f164 100644 --- a/docs/site/docs/getting-started/create-test-project.md +++ b/docs/site/docs/getting-started/create-test-project.md @@ -173,7 +173,7 @@ The result should be a test project with a `.csproj` that looks like this (non b - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/bunit.template/template/Company.BlazorTests1.csproj b/src/bunit.template/template/Company.BlazorTests1.csproj index 4ed31deb6..36d78fdd7 100644 --- a/src/bunit.template/template/Company.BlazorTests1.csproj +++ b/src/bunit.template/template/Company.BlazorTests1.csproj @@ -25,7 +25,7 @@ - + all runtime; build; native; contentfiles; analyzers