diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8d4e664..7077355 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,4 +35,4 @@ jobs: - name: Build shell: pwsh run: | - & $env:MSBUILD_PATH WorkspaceCFG.sln /restore /p:Configuration=Release /p:Platform=x64 + & $env:MSBUILD_PATH WorkspaceCFG.sln /restore /p:RestoreLockedMode=true /p:Configuration=Release /p:Platform=x64 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30a2838..44ba4c6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,12 +34,12 @@ jobs: - name: Build shell: pwsh run: | - & $env:MSBUILD_PATH WorkspaceCFG.sln /restore /p:Configuration=Release /p:Platform=x64 + & $env:MSBUILD_PATH WorkspaceCFG.sln /restore /p:RestoreLockedMode=true /p:Configuration=Release /p:Platform=x64 - name: Publish shell: pwsh run: | - & $env:MSBUILD_PATH WorkspaceCFG\WorkspaceCFG.csproj /restore /t:Publish /p:Configuration=Release /p:Platform=x64 /p:PublishProfile=WorkspaceCFG\Properties\PublishProfiles\FolderProfile.pubxml + & $env:MSBUILD_PATH WorkspaceCFG\WorkspaceCFG.csproj /restore /t:Publish /p:RestoreLockedMode=true /p:Configuration=Release /p:Platform=x64 /p:PublishProfile=WorkspaceCFG\Properties\PublishProfiles\FolderProfile.pubxml - name: Package release shell: pwsh diff --git a/WorkspaceCFG/WorkspaceCFG.csproj b/WorkspaceCFG/WorkspaceCFG.csproj index be567b1..887bc47 100644 --- a/WorkspaceCFG/WorkspaceCFG.csproj +++ b/WorkspaceCFG/WorkspaceCFG.csproj @@ -9,6 +9,7 @@ disable disable latest + true WorkspaceCFG.MainType WorkspaceCFG ConfigurationExplorer diff --git a/WorkspaceCFG/packages.lock.json b/WorkspaceCFG/packages.lock.json new file mode 100644 index 0000000..4afe626 --- /dev/null +++ b/WorkspaceCFG/packages.lock.json @@ -0,0 +1,27 @@ +{ + "version": 1, + "dependencies": { + "net10.0-windows7.0": { + "DocumentFormat.OpenXml": { + "type": "Direct", + "requested": "[3.5.1, )", + "resolved": "3.5.1", + "contentHash": "zxdOf5VVCe/uNklbRhj8dVBzQGj3DoqkUuqOp9cAZVuN8mNYDjof1lvSQA2OQNr8Ptc9d7pbA7Azq/ReaI3FpA==", + "dependencies": { + "DocumentFormat.OpenXml.Framework": "3.5.1" + } + }, + "Newtonsoft.Json": { + "type": "Direct", + "requested": "[13.0.4, )", + "resolved": "13.0.4", + "contentHash": "pdgNNMai3zv51W5aq268sujXUyx7SNdE2bj1wZcWjAQrKMFZV260lbqYop1d2GM67JI1huLRwxo9ZqnfF/lC6A==" + }, + "DocumentFormat.OpenXml.Framework": { + "type": "Transitive", + "resolved": "3.5.1", + "contentHash": "U5txtc3ORno73xQx9Lf2gWzfaSZnZwKHfLkTAslhlew9lxe5XbUiCt0dY1fHeAf8yRqszUAe5i/+xLC9R/Xfsw==" + } + } + } +} \ No newline at end of file