From 6280538e296d07017a86458997f7f6a7ced53772 Mon Sep 17 00:00:00 2001 From: AdmiringWorm Date: Wed, 22 Jul 2020 15:09:50 +0200 Subject: [PATCH] feat(project): update package dependencies on all generated project files --- .../default/xunit/testProject/testProject.csproj | 8 ++++---- __tests__/project/indexTests.ts | 2 +- __tests__/project/space/testProject.csproj | 8 ++++---- .../Cake.Template.Tests.csproj.tmpl | 10 +++++----- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/__tests__/project/default/xunit/testProject/testProject.csproj b/__tests__/project/default/xunit/testProject/testProject.csproj index 8e01efc0..1fe3e117 100644 --- a/__tests__/project/default/xunit/testProject/testProject.csproj +++ b/__tests__/project/default/xunit/testProject/testProject.csproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + netcoreapp2.1 $(TargetFrameworks);net461 false @@ -9,10 +9,10 @@ - - + + - + runtime; build; native; contentfiles; analyzers all diff --git a/__tests__/project/indexTests.ts b/__tests__/project/indexTests.ts index 1cc079a9..aba4cc21 100644 --- a/__tests__/project/indexTests.ts +++ b/__tests__/project/indexTests.ts @@ -256,7 +256,7 @@ describe("generator:project", () => { [ "src/Cake.TestApp/bin/Debug/netstandard2.0/Cake.TestApp.dll", "src/Cake.TestApp/bin/Debug/net461/Cake.TestApp.dll", - "src/Cake.TestApp.Tests/bin/Debug/netcoreapp2.0/Cake.TestApp.Tests.dll", + "src/Cake.TestApp.Tests/bin/Debug/netcoreapp2.1/Cake.TestApp.Tests.dll", ].map((v) => path.join(workDir, v)) ); }); diff --git a/__tests__/project/space/testProject.csproj b/__tests__/project/space/testProject.csproj index f162df2b..ede56224 100644 --- a/__tests__/project/space/testProject.csproj +++ b/__tests__/project/space/testProject.csproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + netcoreapp2.1 $(TargetFrameworks);net461 false @@ -9,10 +9,10 @@ - - + + - + runtime; build; native; contentfiles; analyzers all diff --git a/src/project/templates/Cake.Template.Tests/Cake.Template.Tests.csproj.tmpl b/src/project/templates/Cake.Template.Tests/Cake.Template.Tests.csproj.tmpl index 83437ad8..c766f288 100644 --- a/src/project/templates/Cake.Template.Tests/Cake.Template.Tests.csproj.tmpl +++ b/src/project/templates/Cake.Template.Tests/Cake.Template.Tests.csproj.tmpl @@ -1,7 +1,7 @@ - netcoreapp2.0 + netcoreapp2.1 $(TargetFrameworks);net461 false @@ -9,19 +9,19 @@ - - + + <% switch (unitTestLibrary) { case "xunit": -%> - + runtime; build; native; contentfiles; analyzers all <% break case "nunit": -%> - + <% break default: throw Error("Unknown testing library: " + unitTestLibrary); break