From 832a0f5884ccc0a8ffbe6222ecb8392ab8dcd737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Breu=C3=9F?= Date: Sat, 22 Feb 2025 22:34:45 +0100 Subject: [PATCH] refactor: remove dependency on `Nerdbank.GitVersioning` (#1221) The version is set explicitly within the Nuke.build pipeline. --- Directory.Build.props | 8 -------- Directory.Packages.props | 4 ---- System.IO.Abstractions.sln | 2 +- version.json | 15 --------------- 4 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 version.json diff --git a/Directory.Build.props b/Directory.Build.props index 0fce8c99e..25ba7bc85 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -26,14 +26,6 @@ snupkg - - runtime; build; native; contentfiles; analyzers - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - diff --git a/Directory.Packages.props b/Directory.Packages.props index ffdf1c746..03d2adc09 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -21,10 +21,6 @@ - - - - diff --git a/System.IO.Abstractions.sln b/System.IO.Abstractions.sln index 4014cdb00..f6aeba211 100644 --- a/System.IO.Abstractions.sln +++ b/System.IO.Abstractions.sln @@ -30,7 +30,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_", "_", "{BBF7AD8D-5522-48 Directory.Packages.props = Directory.Packages.props global.json = global.json README.md = README.md - version.json = version.json EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{2BE9161B-A3F3-4511-81DB-DB1DCB6375C9}" @@ -59,6 +58,7 @@ EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Build", "Pipeline\Build.csproj", "{DC39543E-0A17-4869-96C9-B876EB1BB117}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Pipeline", "Pipeline", "{8091BCA3-70F8-4506-9701-C3074E79A66D}" +EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestableIO.System.IO.Abstractions.Parity.Tests", "tests\TestableIO.System.IO.Abstractions.Parity.Tests\TestableIO.System.IO.Abstractions.Parity.Tests.csproj", "{93B79631-E220-414B-8F0D-3885825DE1AC}" EndProject Global diff --git a/version.json b/version.json deleted file mode 100644 index 065ac88f4..000000000 --- a/version.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "22.0", - "assemblyVersion": { - "precision": "major" - }, - "publicReleaseRefSpec": [ - "^refs/heads/main$" - ], - "cloudBuild": { - "buildNumber": { - "enabled": true - } - } -}