Skip to content

Commit cd7a430

Browse files
authored
Merge pull request #3847 from corbob/update-nuget-core
(#3852) Update to 20260219 version of NuGet.Core
2 parents 1d5faa6 + 338095d commit cd7a430

File tree

12 files changed

+79
-7
lines changed

12 files changed

+79
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ jobs:
8989
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}
9090
- name: Build with Mono
9191
run: |
92+
export DOTNET_ROOT=$HOME/.dotnet
9293
chmod +x build.sh
9394
$GITHUB_WORKSPACE//build.sh --verbosity=diagnostic --target=CI --testExecutionType=unit
9495
- name: Upload MacOS build results

Update-NuGet.Core.ps1

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
param(
2+
[Parameter(Mandatory)]
3+
$NuGetPath,
4+
$ExistingNuGetVersion = '20260219',
5+
$Target = 'Debug'
6+
)
7+
8+
Push-Location $NuGetPath
9+
.\build.cmd $Target
10+
mkdir nuget/Chocolatey-NuGet.Core/lib/net4
11+
Copy-Item .\src\Core\bin\$Target\* .\nuget\Chocolatey-NuGet.Core\lib\net4\
12+
Push-Location nuget/Chocolatey-NuGet.Core
13+
.\strongname.cmd
14+
Pop-Location
15+
Pop-Location
16+
17+
Copy-Item $NuGetPath/nuget/Chocolatey-NuGet.Core/output/* "$PSScriptRoot/lib/Chocolatey-NuGet.Core.2.11.0.$ExistingNuGetVersion/lib/net4/"

docs/legal/CREDITS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
- [Checksum @ 0.2.0](#checksum--020)
1212
- [log4net @ 2.0.12](#log4net--2012)
1313
- [Microsoft.Web.Xdt @ 2.1.1](#microsoftwebxdt--211)
14-
- [NuGet.Core @ 2.11.0.20230509 (modified)](#nugetcore--211020230509-modified)
14+
- [NuGet.Core @ 2.11.0.20260219 (modified)](#nugetcore--211020260219-modified)
1515
- [Rhino.Licensing @ 1.4.1 (modified)](#rhinolicensing--141-modified)
1616
- [Rx (Reactive Extensions) @ 2.1.30214.0](#rx-reactive-extensions--21302140)
1717
- [Shim Generator (shimgen) @ 1.0.0](#shim-generator-shimgen--100)
@@ -75,7 +75,7 @@ Their details are below.
7575
- [Checksum @ 0.2.0](#checksum--020)
7676
- [log4net @ 2.0.12](#log4net--2012)
7777
- [Microsoft.Web.Xdt @ 2.1.1](#microsoftwebxdt--211)
78-
- [NuGet.Core @ 2.11.0.20230509 (modified)](#nugetcore--211020230509-modified)
78+
- [NuGet.Core @ 2.11.0.20260219 (modified)](#nugetcore--211020260219-modified)
7979
- [Rhino.Licensing @ 1.4.1 (modified)](#rhinolicensing--141-modified)
8080
- [Rx (Reactive Extensions) @ 2.1.30214.0](#rx-reactive-extensions--21302140)
8181
- [Shim Generator (shimgen) @ 1.0.0](#shim-generator-shimgen--100)
@@ -741,7 +741,7 @@ It is also a requirement of NuGet.Core.
741741
It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.
742742
```
743743

744-
### NuGet.Core @ 2.11.0.20230509 (modified)
744+
### NuGet.Core @ 2.11.0.20260219 (modified)
745745

746746
Chocolatey uses [NuGet.Core](https://github.com/NuGet/NuGet2) [(modified)](https://github.com/chocolatey/nuget-chocolatey) to work with packaging.
747747
[License terms](https://github.com/NuGet/NuGet2/blob/c3d1027a51b31fd0c41e9abbe90810cf1c924c9f/COPYRIGHT.txt):
-1.09 MB
Binary file not shown.
-1.93 MB
Binary file not shown.
Binary file not shown.
Binary file not shown.

src/chocolatey.console/chocolatey.console.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
</Reference>
134134
<Reference Include="NuGet.Core, Version=2.11.0.0, Culture=neutral, PublicKeyToken=fd112f53c3ab578c, processorArchitecture=MSIL">
135135
<SpecificVersion>False</SpecificVersion>
136-
<HintPath>..\..\lib\Chocolatey-NuGet.Core.2.11.0.20230509\lib\net4\NuGet.Core.dll</HintPath>
136+
<HintPath>..\..\lib\Chocolatey-NuGet.Core.2.11.0.20260219\lib\net4\NuGet.Core.dll</HintPath>
137137
</Reference>
138138
<Reference Include="SimpleInjector, Version=2.8.3.0, Culture=neutral, PublicKeyToken=984cb50dea722e99, processorArchitecture=MSIL">
139139
<HintPath>..\packages\SimpleInjector.2.8.3\lib\net40-client\SimpleInjector.dll</HintPath>

src/chocolatey.tests.integration/chocolatey.tests.integration.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
</Reference>
6565
<Reference Include="NuGet.Core, Version=2.11.0.0, Culture=neutral, PublicKeyToken=fd112f53c3ab578c, processorArchitecture=MSIL">
6666
<SpecificVersion>False</SpecificVersion>
67-
<HintPath>..\..\lib\Chocolatey-NuGet.Core.2.11.0.20230509\lib\net4\NuGet.Core.dll</HintPath>
67+
<HintPath>..\..\lib\Chocolatey-NuGet.Core.2.11.0.20260219\lib\net4\NuGet.Core.dll</HintPath>
6868
</Reference>
6969
<Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
7070
<SpecificVersion>False</SpecificVersion>

src/chocolatey.tests/chocolatey.tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
</Reference>
6464
<Reference Include="NuGet.Core, Version=2.11.0.0, Culture=neutral, PublicKeyToken=fd112f53c3ab578c, processorArchitecture=MSIL">
6565
<SpecificVersion>False</SpecificVersion>
66-
<HintPath>..\..\lib\Chocolatey-NuGet.Core.2.11.0.20230509\lib\net4\NuGet.Core.dll</HintPath>
66+
<HintPath>..\..\lib\Chocolatey-NuGet.Core.2.11.0.20260219\lib\net4\NuGet.Core.dll</HintPath>
6767
</Reference>
6868
<Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
6969
<SpecificVersion>False</SpecificVersion>

0 commit comments

Comments
 (0)