Skip to content

Commit 01f9097

Browse files
authored
* Place built NuGet packages into separate directory (#2517)
* * Testing * * Repair `run.cmd` * * Implenented #952
1 parent a80a2fd commit 01f9097

File tree

8 files changed

+18
-12
lines changed

8 files changed

+18
-12
lines changed

Documents/Changelog/Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
====
44

55
## 2025-11-xx - Build 2511 (V10 - alpha) - November 2025
6+
* Implemented [#952](https://github.com/Krypton-Suite/Standard-Toolkit/issues/952), Place built NuGet packages into separate directory
67
* Implemented [#892](https://github.com/Krypton-Suite/Standard-Toolkit/issues/892), `KryptonButton` UAC Shield icons need to match the OS style
78
* Resolved [#2514](https://github.com/Krypton-Suite/Standard-Toolkit/issues/2514), `KryptonPanel.OnPaint` does not call base.
89
* Resolved [#2508](https://github.com/Krypton-Suite/Standard-Toolkit/issues/2508), Add internal `InDesignMode()` extension methods to both `Control` and `Component` classes.

Scripts/Project-Files/canary.proj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<Target Name="CleanPackages">
3131
<ItemGroup>
32-
<NugetPkgs Include="..\..\..\Bin\Canary\*.nupkg" />
32+
<NugetPkgs Include="..\..\..\Bin\Packages\Canary\*.nupkg" />
3333
</ItemGroup>
3434
<Delete Files="@(NugetPkgs)" />
3535
</Target>
@@ -54,7 +54,7 @@
5454

5555
<Target Name="Push">
5656
<ItemGroup>
57-
<NugetPkgs Include="..\..\..\Bin\Canary\*.$(LibraryVersion).nupkg" />
57+
<NugetPkgs Include="..\..\..\Bin\Packages\Canary\*.$(LibraryVersion).nupkg" />
5858
</ItemGroup>
5959
<Exec Command="nuget.exe push %(NugetPkgs.Identity)" />
6060
</Target>

Scripts/Project-Files/installer.proj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<Target Name="CleanPackages">
3131
<ItemGroup>
32-
<NugetPkgs Include="..\..\..\Bin\Installer\*.nupkg" />
32+
<NugetPkgs Include="..\..\..\Bin\Packages\Installer\*.nupkg" />
3333
</ItemGroup>
3434
<Delete Files="@(NugetPkgs)" />
3535
</Target>
@@ -54,7 +54,7 @@
5454

5555
<Target Name="Push">
5656
<ItemGroup>
57-
<NugetPkgs Include="..\..\..\Bin\Installer\*.$(LibraryVersion).nupkg" />
57+
<NugetPkgs Include="..\..\..\Bin\Packages\Installer\*.$(LibraryVersion).nupkg" />
5858
</ItemGroup>
5959
<Exec Command="nuget.exe push %(NugetPkgs.Identity)" />
6060
</Target>

Scripts/build.proj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<Target Name="CleanPackages">
3131
<ItemGroup>
32-
<NugetPkgs Include="..\Bin\Release\*.nupkg" />
32+
<NugetPkgs Include="..\Bin\Packages\Release\*.nupkg" />
3333
</ItemGroup>
3434
<Delete Files="@(NugetPkgs)" />
3535
</Target>
@@ -70,7 +70,7 @@
7070

7171
<Target Name="Push">
7272
<ItemGroup>
73-
<NugetPkgs Include="..\Bin\Release\*.$(LibraryVersion).nupkg" />
73+
<NugetPkgs Include="..\Bin\Packages\Release\*.$(LibraryVersion).nupkg" />
7474
</ItemGroup>
7575
<Exec Command="nuget.exe push %(NugetPkgs.Identity)" />
7676
</Target>

Scripts/canary.proj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<Target Name="CleanPackages">
3131
<ItemGroup>
32-
<NugetPkgs Include="..\Bin\Canary\*.nupkg" />
32+
<NugetPkgs Include="..\Bin\Packages\Canary\*.nupkg" />
3333
</ItemGroup>
3434
<Delete Files="@(NugetPkgs)" />
3535
</Target>
@@ -54,7 +54,7 @@
5454

5555
<Target Name="Push">
5656
<ItemGroup>
57-
<NugetPkgs Include="..\Bin\Canary\*.$(LibraryVersion).nupkg" />
57+
<NugetPkgs Include="..\Bin\Packages\Canary\*.$(LibraryVersion).nupkg" />
5858
</ItemGroup>
5959
<Exec Command="nuget.exe push %(NugetPkgs.Identity)" />
6060
</Target>

Scripts/installer.proj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<Target Name="CleanPackages">
3131
<ItemGroup>
32-
<NugetPkgs Include="..\Bin\Installer\*.nupkg" />
32+
<NugetPkgs Include="..\Bin\Packages\Installer\*.nupkg" />
3333
</ItemGroup>
3434
<Delete Files="@(NugetPkgs)" />
3535
</Target>
@@ -54,7 +54,7 @@
5454

5555
<Target Name="Push">
5656
<ItemGroup>
57-
<NugetPkgs Include="..\Bin\Installer\*.$(LibraryVersion).nupkg" />
57+
<NugetPkgs Include="..\Bin\Packages\Installer\*.$(LibraryVersion).nupkg" />
5858
</ItemGroup>
5959
<Exec Command="nuget.exe push %(NugetPkgs.Identity)" />
6060
</Target>

Scripts/nightly.proj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
<Target Name="CleanPackages">
3333
<ItemGroup>
34-
<NugetPkgs Include="..\Bin\Nightly\*.nupkg" />
34+
<NugetPkgs Include="..\Bin\Packages\Nightly\*.nupkg" />
3535
</ItemGroup>
3636
<Delete Files="@(NugetPkgs)" />
3737
</Target>
@@ -56,7 +56,7 @@
5656

5757
<Target Name="Push">
5858
<ItemGroup>
59-
<NugetPkgs Include="..\Bin\Nightly\*.$(LibraryVersion).nupkg" />
59+
<NugetPkgs Include="..\Bin\Packages\Nightly\*.$(LibraryVersion).nupkg" />
6060
</ItemGroup>
6161
<Exec Command="nuget.exe push %(NugetPkgs.Identity)" />
6262
</Target>

Source/Krypton Components/Directory.Build.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
<Version>$(LibraryVersion)</Version>
2121
</PropertyGroup>
2222

23+
<!-- Configure NuGet package output to separate directory for easier management -->
24+
<PropertyGroup>
25+
<PackageOutputPath>$(MSBuildThisFileDirectory)..\..\Bin\Packages\$(Configuration)\</PackageOutputPath>
26+
</PropertyGroup>
27+
2328
<Choose>
2429
<When Condition="'$(Configuration)' == 'Canary'">
2530
<ItemGroup>

0 commit comments

Comments
 (0)