Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
df43f21
* `KryptonDockingManager.LoadConfigFromArray` throws exception (V110)
PWagner1 Mar 23, 2026
2f7aecb
Update KryptonDockingSpace.cs
PWagner1 Mar 23, 2026
36ef56d
* `KryptonForm` shows an extra border on the secondary monitor when m…
PWagner1 Mar 23, 2026
64b683e
* Ribbon large button image-to-text separator not DPI-scaled (V110)
PWagner1 Mar 23, 2026
922a22c
Update KryptonForm.cs
PWagner1 Mar 23, 2026
7680b80
Update KryptonForm.cs
PWagner1 Mar 23, 2026
221ee1b
Bump microsoft/setup-msbuild from 2 to 3
dependabot[bot] Mar 23, 2026
b60882a
Update KryptonForm.cs
PWagner1 Mar 24, 2026
7f6bd23
Bump microsoft/setup-msbuild from 2 to 3 (#3255)
PWagner1 Mar 24, 2026
0b61657
* `KryptonForm` shows an extra border on the secondary monitor when m…
PWagner1 Mar 24, 2026
80ac26b
Merge branch 'alpha' into V110-3227-bug-kryptondockingmanagerloadconf…
PWagner1 Mar 24, 2026
7200874
Merge branch 'alpha' into V110-3225-bug-ribbon-large-button-image-to-…
PWagner1 Mar 24, 2026
a16b593
* Tree View Event is Crashing (V110)
PWagner1 Mar 24, 2026
47a6559
Update release.yml
PWagner1 Mar 25, 2026
fdf1b1a
* Catchup 25/03/2026 (#3262)
PWagner1 Mar 25, 2026
7448bcb
Update KryptonCustomPaletteBase.cs
PWagner1 Mar 25, 2026
d6b43ff
* Tree View Event is Crashing (V110) (#3258)
PWagner1 Mar 27, 2026
9528ea3
* Catchup 27/03/2026 (#3268)
PWagner1 Mar 27, 2026
3cd4de1
Merge branch 'alpha' into V110-3225-bug-ribbon-large-button-image-to-…
PWagner1 Mar 27, 2026
4ac40be
Merge branch 'alpha' into V110-3227-bug-kryptondockingmanagerloadconf…
PWagner1 Mar 27, 2026
a060ef0
* Simplify fix
PWagner1 Mar 27, 2026
5e82494
* Usage of `_space`
PWagner1 Mar 27, 2026
ede1d21
2801-V110-KryptonTextBox-Validating-event-fires-twice (#3271)
giduac Mar 28, 2026
95d6fb7
V110-testform-startscreen-paletteviewer-udate (#3273)
giduac Mar 28, 2026
5c2b9c6
* Catchup 29/03/2026 (#3280)
PWagner1 Mar 29, 2026
a848ae9
* Ribbon large button image-to-text separator not DPI-scaled (V110) (…
PWagner1 Mar 29, 2026
e345f73
Merge branch 'alpha' into V110-3227-bug-kryptondockingmanagerloadconf…
PWagner1 Mar 29, 2026
54130fe
* Fix `run.cmd`
PWagner1 Mar 29, 2026
7295b71
* `KryptonDockingManager.LoadConfigFromArray` throws exception (V110)…
PWagner1 Mar 30, 2026
9f9ae3c
* AIO Package fix
PWagner1 Mar 31, 2026
2f484a9
* Fix `run.cmd` (#3285)
PWagner1 Mar 31, 2026
1fc0f76
* AIO Package fix (#3290)
PWagner1 Apr 1, 2026
cf0827f
* Update license headers
PWagner1 Apr 1, 2026
f4444f8
* Update license headers (#3293)
PWagner1 Apr 2, 2026
1675c42
* `KryptonToast` no longer works properly
PWagner1 Apr 3, 2026
e929a21
* `KryptonToast` no longer works properly (#3302)
PWagner1 Apr 3, 2026
e42c194
* QR Code Generation/Viewer
PWagner1 Apr 4, 2026
1c27697
* QR Code Generation/Viewer (#3306)
PWagner1 Apr 8, 2026
120f3a8
* Implement `ActionLists` for file dialogs (V110)
PWagner1 Apr 9, 2026
ca81791
* Add icons
PWagner1 Apr 10, 2026
b4f6200
* Implement `ActionLists` for file dialogs (V110) (#3309)
PWagner1 Apr 10, 2026
cee7555
Fix white title bar when ControlBox is false and Text is empty
mcpbcs Apr 10, 2026
0903d94
Centralize non-client frame detection and fix inactive white bar
mcpbcs Apr 11, 2026
f403194
Refine HasCaptionContent to account for ControlBox edge case
mcpbcs Apr 11, 2026
aa317f6
* Catchup 12/04/2026 (#3316)
PWagner1 Apr 12, 2026
338ab78
* Catchup 12/04/2026 (#3317)
PWagner1 Apr 12, 2026
45b87e5
* Use artifacts-style build outputs
PWagner1 Apr 12, 2026
adfb52e
Merge branch 'V110-998-feature-request-use-the-new-artifacts-feature-…
PWagner1 Apr 12, 2026
9ba9f50
Update Directory.Build.props
PWagner1 Apr 12, 2026
6849afa
* `KryptonContextMenuComboBox` & `KryptonContextMenuProgressBar` need…
PWagner1 Apr 14, 2026
1fa2805
* Use the new artifacts feature to simplify build paths (#3319)
PWagner1 Apr 14, 2026
b217a07
Merge branch 'alpha' into 1673-feature-request-kryptoncontextmenucomb…
PWagner1 Apr 14, 2026
61639da
* Adding NotificationIcon Size in ToastNotification
PWagner1 Apr 14, 2026
65fd3be
* Linkage issues
PWagner1 Apr 14, 2026
2a9a7cc
Update Directory.Build.props
PWagner1 Apr 14, 2026
09456e1
Update Directory.Build.props
PWagner1 Apr 14, 2026
6aaf668
Update Directory.Build.props
PWagner1 Apr 14, 2026
ef82bcc
Update Directory.Build.props
PWagner1 Apr 14, 2026
d9f5166
Limit HasCaptionContent workaround to Sizable forms only
mcpbcs Apr 14, 2026
36584c2
* Adding NotificationIcon Size in ToastNotification (#3322)
PWagner1 Apr 15, 2026
87bbbaa
Merge branch 'alpha' into 1673-feature-request-kryptoncontextmenucomb…
PWagner1 Apr 15, 2026
72ecf18
Code style
mcpbcs Apr 15, 2026
6c1761f
Updated Changelog.md
mcpbcs Apr 16, 2026
ae65d25
Merge branch 'alpha' into 2914-V110-White-bar-is-shown-in-a-KryptonFo…
PWagner1 Apr 16, 2026
450c12b
2914-V105-LTS-White bar is shown in a KryptonForm Sizable without but…
mcpbcs Apr 16, 2026
53381d6
* NUSPEC Fixes
PWagner1 Apr 16, 2026
53808f8
Merge branch 'alpha' into 1673-feature-request-kryptoncontextmenucomb…
PWagner1 Apr 16, 2026
eefe546
Merge branch 'canary' into alpha
PWagner1 Apr 16, 2026
424d7e8
Bump NuGet/setup-nuget from 3.0.0 to 3.1.0
dependabot[bot] Apr 18, 2026
37fa89f
Bump NuGet/setup-nuget from 3.0.0 to 3.1.0 (#3331)
PWagner1 Apr 19, 2026
efd0ff0
* `KryptonContextMenuComboBox` & `KryptonContextMenuProgressBar` need…
PWagner1 Apr 19, 2026
b16aa63
* NUSPEC Fixes (#3327)
PWagner1 Apr 19, 2026
d334b44
* Catchup 19/04/2026 (#3334)
PWagner1 Apr 19, 2026
6d3c758
* Catchup 19/04/2026 (#3336)
PWagner1 Apr 19, 2026
549d149
* `KryptonManager` exception 'The type initializer for 'Krypton.Toolk…
PWagner1 Apr 19, 2026
d56f72c
Update Directory.Build.props
PWagner1 Apr 19, 2026
e56cadf
* CI Fixes
PWagner1 Apr 19, 2026
3dbfbc9
Update Directory.Build.targets
PWagner1 Apr 19, 2026
4e80d3b
* Removes hard-coded paths
PWagner1 Apr 19, 2026
45bfe0d
* Some tidyup
PWagner1 Apr 19, 2026
4782124
* `KryptonManager` exception 'The type initializer for 'Krypton.Toolk…
PWagner1 Apr 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 8 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
msbuild-architecture: x64

- name: Setup NuGet
uses: NuGet/setup-nuget@v3.0.0
uses: NuGet/setup-nuget@v3.1.0

- name: Cache NuGet
uses: actions/cache@v5
Expand Down Expand Up @@ -126,11 +126,12 @@ jobs:
$proj.Save($utilProj)
Write-Host "Removed temporary WebView2 PackageReference entries"

# Match nightly.proj: Release + TFMs=all so TargetFrameworks / package graphs align (avoids CS7069 / prune mismatches).
- name: Restore
run: dotnet restore "Source/Krypton Components/Krypton Toolkit Suite 2022 - VS2022.slnx"
run: dotnet restore "Source/Krypton Components/Krypton Toolkit Suite 2022 - VS2022.slnx" -p:Configuration=Release -p:TFMs=all

- name: Build
run: msbuild "Scripts/Build/nightly.proj" /t:Rebuild /p:Configuration=Release /p:Platform="Any CPU"
run: msbuild "Scripts/Build/nightly.proj" /t:Rebuild /restore /p:Configuration=Release /p:Platform="Any CPU" /p:UseArtifactsOutput=true

release:
runs-on: windows-2025-vs2026
Expand Down Expand Up @@ -169,7 +170,7 @@ jobs:
msbuild-architecture: x64

- name: Setup NuGet
uses: NuGet/setup-nuget@v3.0.0
uses: NuGet/setup-nuget@v3.1.0

- name: Cache NuGet
uses: actions/cache@v5
Expand Down Expand Up @@ -228,13 +229,13 @@ jobs:
Write-Host "Removed temporary WebView2 PackageReference entries"

- name: Restore
run: dotnet restore "Source/Krypton Components/Krypton Toolkit Suite 2022 - VS2022.slnx"
run: dotnet restore "Source/Krypton Components/Krypton Toolkit Suite 2022 - VS2022.slnx" -p:Configuration=Release -p:TFMs=all

- name: Build Release
run: msbuild "Scripts/Build/build.proj" /t:Build /p:Configuration=Release /p:Platform="Any CPU"
run: msbuild "Scripts/Build/build.proj" /t:Build /restore /p:Configuration=Release /p:Platform="Any CPU" /p:UseArtifactsOutput=true

- name: Pack Release
run: msbuild "Scripts/Build/build.proj" /t:Pack /p:Configuration=Release /p:Platform="Any CPU"
run: msbuild "Scripts/Build/build.proj" /t:Pack /restore /p:Configuration=Release /p:Platform="Any CPU" /p:UseArtifactsOutput=true

- name: Get Version
id: get_version
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/canary-lts-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:

- name: Setup NuGet
if: steps.canary_lts_kill_switch.outputs.enabled == 'true'
uses: NuGet/setup-nuget@v3.0.0
uses: NuGet/setup-nuget@v3.1.0

- name: Cache NuGet
if: steps.canary_lts_kill_switch.outputs.enabled == 'true'
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
shell: pwsh
run: |
$ErrorActionPreference = 'Stop'
$buildArgs = 'Scripts/Build/canary.proj /t:Build /p:Configuration=Canary /p:Platform="Any CPU"'
$buildArgs = 'Scripts/Build/canary.proj /t:Build /p:Configuration=Canary /p:Platform="Any CPU" /p:UseArtifactsOutput=true'

if (${{ steps.prepare_cert.outputs.cert_available }} -eq 'true') {
$buildArgs += ' /p:EnableAuthenticodeSigning=true'
Expand All @@ -182,7 +182,7 @@ jobs:

- name: Pack Canary
if: steps.canary_lts_kill_switch.outputs.enabled == 'true'
run: msbuild "Scripts/Build/canary.proj" /t:Pack /p:Configuration=Canary /p:Platform="Any CPU"
run: msbuild "Scripts/Build/canary.proj" /t:Pack /p:Configuration=Canary /p:Platform="Any CPU" /p:UseArtifactsOutput=true

- name: Push NuGet Packages to nuget.org
if: steps.canary_lts_kill_switch.outputs.enabled == 'true'
Expand Down
23 changes: 17 additions & 6 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:

- name: Setup NuGet
if: steps.canary_release_kill_switch.outputs.enabled == 'true'
uses: NuGet/setup-nuget@v3.0.0
uses: NuGet/setup-nuget@v3.1.0

- name: Cache NuGet
if: steps.canary_release_kill_switch.outputs.enabled == 'true'
Expand Down Expand Up @@ -191,15 +191,15 @@ jobs:

- name: Restore
if: steps.canary_release_kill_switch.outputs.enabled == 'true'
run: msbuild "Scripts/Build/canary.proj" /t:Restore /p:Configuration=Canary /p:Platform="Any CPU"
run: msbuild "Scripts/Build/canary.proj" /t:Restore /p:Configuration=Canary /p:Platform="Any CPU" /p:UseArtifactsOutput=true

- name: Build Canary
if: steps.canary_release_kill_switch.outputs.enabled == 'true'
run: msbuild "Scripts/Build/canary.proj" /t:Build /p:Configuration=Canary /p:Platform="Any CPU"
run: msbuild "Scripts/Build/canary.proj" /t:Build /p:Configuration=Canary /p:Platform="Any CPU" /p:UseArtifactsOutput=true

- name: Pack Canary
if: steps.canary_release_kill_switch.outputs.enabled == 'true'
run: msbuild "Scripts/Build/canary.proj" /t:Pack /p:Configuration=Canary /p:Platform="Any CPU"
run: msbuild "Scripts/Build/canary.proj" /t:Pack /p:Configuration=Canary /p:Platform="Any CPU" /p:UseArtifactsOutput=true

- name: Push NuGet Packages to nuget.org
if: steps.canary_release_kill_switch.outputs.enabled == 'true'
Expand All @@ -213,7 +213,11 @@ jobs:
exit 0
}

$packages = Get-ChildItem "Bin/Packages/Canary/*.nupkg" -ErrorAction SilentlyContinue
$packageCandidates = @(
"artifacts/packages/Canary/*.nupkg",
"Bin/Packages/Canary/*.nupkg"
)
$packages = @(Get-ChildItem -Path $packageCandidates -ErrorAction SilentlyContinue | Sort-Object FullName -Unique)
$publishedAny = $false

if ($packages) {
Expand Down Expand Up @@ -249,7 +253,14 @@ jobs:
$version = $null

try {
$dllPath = Get-ChildItem "Bin/Canary/net48/Krypton.Toolkit.dll" -ErrorAction Stop
$dllCandidates = @(
"artifacts/bin/Canary/net48/Krypton.Toolkit.dll",
"Bin/Canary/net48/Krypton.Toolkit.dll"
)
$dllPath = Get-ChildItem -Path $dllCandidates -ErrorAction SilentlyContinue | Select-Object -First 1
if (-not $dllPath) {
throw "Krypton.Toolkit.dll not found in artifacts or Bin output paths."
}
$assemblyVersion = [System.Reflection.AssemblyName]::GetAssemblyName($dllPath.FullName).Version
$version = $assemblyVersion.ToString()
Write-Host "Got version from assembly: $version"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:

- name: Build solution
shell: pwsh
run: msbuild "Scripts/Build/nightly.proj" /t:Rebuild /p:Configuration=Release /p:Platform="Any CPU"
run: msbuild "Scripts/Build/nightly.proj" /t:Rebuild /p:Configuration=Release /p:Platform="Any CPU" /p:UseArtifactsOutput=true

- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v4
23 changes: 17 additions & 6 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:

- name: Setup NuGet
if: steps.nightly_release_kill_switch.outputs.enabled == 'true' && steps.check_changes.outputs.has_changes == 'true'
uses: NuGet/setup-nuget@v3.0.0
uses: NuGet/setup-nuget@v3.1.0

- name: Cache NuGet
if: steps.nightly_release_kill_switch.outputs.enabled == 'true' && steps.check_changes.outputs.has_changes == 'true'
Expand Down Expand Up @@ -233,15 +233,15 @@ jobs:

- name: Restore
if: steps.nightly_release_kill_switch.outputs.enabled == 'true' && steps.check_changes.outputs.has_changes == 'true'
run: msbuild "Scripts/Build/nightly.proj" /t:Restore /p:Configuration=Nightly /p:Platform="Any CPU"
run: msbuild "Scripts/Build/nightly.proj" /t:Restore /p:Configuration=Nightly /p:Platform="Any CPU" /p:UseArtifactsOutput=true

- name: Build Nightly
if: steps.nightly_release_kill_switch.outputs.enabled == 'true' && steps.check_changes.outputs.has_changes == 'true'
run: msbuild "Scripts/Build/nightly.proj" /t:Build /p:Configuration=Nightly /p:Platform="Any CPU"
run: msbuild "Scripts/Build/nightly.proj" /t:Build /p:Configuration=Nightly /p:Platform="Any CPU" /p:UseArtifactsOutput=true

- name: Pack Nightly
if: steps.nightly_release_kill_switch.outputs.enabled == 'true' && steps.check_changes.outputs.has_changes == 'true'
run: msbuild "Scripts/Build/nightly.proj" /t:Pack /p:Configuration=Nightly /p:Platform="Any CPU"
run: msbuild "Scripts/Build/nightly.proj" /t:Pack /p:Configuration=Nightly /p:Platform="Any CPU" /p:UseArtifactsOutput=true

- name: Push NuGet Packages to nuget.org
if: steps.nightly_release_kill_switch.outputs.enabled == 'true' && steps.check_changes.outputs.has_changes == 'true'
Expand All @@ -255,7 +255,11 @@ jobs:
exit 0
}

$packages = Get-ChildItem "Bin/Packages/Nightly/*.nupkg" -ErrorAction SilentlyContinue
$packageCandidates = @(
"artifacts/packages/Nightly/*.nupkg",
"Bin/Packages/Nightly/*.nupkg"
)
$packages = @(Get-ChildItem -Path $packageCandidates -ErrorAction SilentlyContinue | Sort-Object FullName -Unique)
$publishedAny = $false

if ($packages) {
Expand Down Expand Up @@ -293,7 +297,14 @@ jobs:

# Try to get version from the built assembly (most reliable)
try {
$dllPath = Get-ChildItem "Bin/Nightly/net48/Krypton.Toolkit.dll" -ErrorAction Stop
$dllCandidates = @(
"artifacts/bin/Nightly/net48/Krypton.Toolkit.dll",
"Bin/Nightly/net48/Krypton.Toolkit.dll"
)
$dllPath = Get-ChildItem -Path $dllCandidates -ErrorAction SilentlyContinue | Select-Object -First 1
if (-not $dllPath) {
throw "Krypton.Toolkit.dll not found in artifacts or Bin output paths."
}
$assemblyVersion = [System.Reflection.AssemblyName]::GetAssemblyName($dllPath.FullName).Version
$version = $assemblyVersion.ToString()
Write-Host "Got version from assembly: $version"
Expand Down
69 changes: 51 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
- name: Setup NuGet
# Kill switch check
if: steps.release_kill_switch.outputs.enabled == 'true'
uses: NuGet/setup-nuget@v3.0.0
uses: NuGet/setup-nuget@v3.1.0

- name: Cache NuGet
# Kill switch check
Expand Down Expand Up @@ -150,12 +150,12 @@ jobs:
- name: Build Release
# Kill switch check
if: steps.release_kill_switch.outputs.enabled == 'true'
run: msbuild "Scripts/Build/build.proj" /t:Build /p:Configuration=Release /p:Platform="Any CPU"
run: msbuild "Scripts/Build/build.proj" /t:Build /p:Configuration=Release /p:Platform="Any CPU" /p:UseArtifactsOutput=true

- name: Pack Release
# Kill switch check
if: steps.release_kill_switch.outputs.enabled == 'true'
run: msbuild "Scripts/Build/build.proj" /t:Pack /p:Configuration=Release /p:Platform="Any CPU"
run: msbuild "Scripts/Build/build.proj" /t:Pack /p:Configuration=Release /p:Platform="Any CPU" /p:UseArtifactsOutput=true

- name: Push NuGet Packages to nuget.org
# Kill switch check
Expand All @@ -170,7 +170,11 @@ jobs:
exit 0
}

$packages = Get-ChildItem "Bin/Packages/Release/*.nupkg" -ErrorAction SilentlyContinue
$packageCandidates = @(
"artifacts/packages/Release/*.nupkg",
"Bin/Packages/Release/*.nupkg"
)
$packages = @(Get-ChildItem -Path $packageCandidates -ErrorAction SilentlyContinue | Sort-Object FullName -Unique)
$publishedAny = $false

if ($packages) {
Expand Down Expand Up @@ -209,7 +213,14 @@ jobs:

# Try to get version from the built assembly (most reliable)
try {
$dllPath = Get-ChildItem "Bin/Release/net48/Krypton.Toolkit.dll" -ErrorAction Stop
$dllCandidates = @(
"artifacts/bin/Release/net48/Krypton.Toolkit.dll",
"Bin/Release/net48/Krypton.Toolkit.dll"
)
$dllPath = Get-ChildItem -Path $dllCandidates -ErrorAction SilentlyContinue | Select-Object -First 1
if (-not $dllPath) {
throw "Krypton.Toolkit.dll not found in artifacts or Bin output paths."
}
$assemblyVersion = [System.Reflection.AssemblyName]::GetAssemblyName($dllPath.FullName).Version
$version = $assemblyVersion.ToString()
Write-Host "Got version from assembly: $version"
Expand Down Expand Up @@ -356,7 +367,7 @@ jobs:
- name: Setup NuGet
# Kill switch check
if: steps.release_kill_switch.outputs.enabled == 'true'
uses: NuGet/setup-nuget@v3.0.0
uses: NuGet/setup-nuget@v3.1.0

- name: Cache NuGet
# Kill switch check
Expand Down Expand Up @@ -414,12 +425,12 @@ jobs:
- name: Build Release
# Kill switch check
if: steps.release_kill_switch.outputs.enabled == 'true'
run: msbuild "Scripts/Build/build.proj" /t:Build /p:Configuration=Release /p:Platform="Any CPU"
run: msbuild "Scripts/Build/build.proj" /t:Build /p:Configuration=Release /p:Platform="Any CPU" /p:UseArtifactsOutput=true

- name: Pack Release
# Kill switch check
if: steps.release_kill_switch.outputs.enabled == 'true'
run: msbuild "Scripts/Build/build.proj" /t:Pack /p:Configuration=Release /p:Platform="Any CPU"
run: msbuild "Scripts/Build/build.proj" /t:Pack /p:Configuration=Release /p:Platform="Any CPU" /p:UseArtifactsOutput=true

- name: Push NuGet Packages to nuget.org
# Kill switch check
Expand All @@ -434,7 +445,11 @@ jobs:
exit 0
}

$packages = Get-ChildItem "Bin/Packages/Release/*.nupkg" -ErrorAction SilentlyContinue
$packageCandidates = @(
"artifacts/packages/Release/*.nupkg",
"Bin/Packages/Release/*.nupkg"
)
$packages = @(Get-ChildItem -Path $packageCandidates -ErrorAction SilentlyContinue | Sort-Object FullName -Unique)
$publishedAny = $false

if ($packages) {
Expand Down Expand Up @@ -473,7 +488,14 @@ jobs:

# Try to get version from the built assembly (most reliable)
try {
$dllPath = Get-ChildItem "Bin/Release/net48/Krypton.Toolkit.dll" -ErrorAction Stop
$dllCandidates = @(
"artifacts/bin/Release/net48/Krypton.Toolkit.dll",
"Bin/Release/net48/Krypton.Toolkit.dll"
)
$dllPath = Get-ChildItem -Path $dllCandidates -ErrorAction SilentlyContinue | Select-Object -First 1
if (-not $dllPath) {
throw "Krypton.Toolkit.dll not found in artifacts or Bin output paths."
}
$assemblyVersion = [System.Reflection.AssemblyName]::GetAssemblyName($dllPath.FullName).Version
$version = $assemblyVersion.ToString()
Write-Host "Got version from assembly: $version"
Expand Down Expand Up @@ -631,7 +653,7 @@ jobs:
- name: Setup NuGet
# Kill switch check
if: steps.canary_release_kill_switch.outputs.enabled == 'true'
uses: NuGet/setup-nuget@v3.0.0
uses: NuGet/setup-nuget@v3.1.0

- name: Cache NuGet
# Kill switch check
Expand Down Expand Up @@ -690,12 +712,12 @@ jobs:
- name: Build Canary
# Kill switch check
if: steps.canary_release_kill_switch.outputs.enabled == 'true'
run: msbuild "Scripts/Build/canary.proj" /t:Build /p:Configuration=Canary /p:Platform="Any CPU"
run: msbuild "Scripts/Build/canary.proj" /t:Build /p:Configuration=Canary /p:Platform="Any CPU" /p:UseArtifactsOutput=true

- name: Pack Canary
# Kill switch check
if: steps.canary_release_kill_switch.outputs.enabled == 'true'
run: msbuild "Scripts/Build/canary.proj" /t:Pack /p:Configuration=Canary /p:Platform="Any CPU"
run: msbuild "Scripts/Build/canary.proj" /t:Pack /p:Configuration=Canary /p:Platform="Any CPU" /p:UseArtifactsOutput=true

- name: Push NuGet Packages to nuget.org
# Kill switch check
Expand All @@ -710,7 +732,11 @@ jobs:
exit 0
}

$packages = Get-ChildItem "Bin/Packages/Canary/*.nupkg" -ErrorAction SilentlyContinue
$packageCandidates = @(
"artifacts/packages/Canary/*.nupkg",
"Bin/Packages/Canary/*.nupkg"
)
$packages = @(Get-ChildItem -Path $packageCandidates -ErrorAction SilentlyContinue | Sort-Object FullName -Unique)
$publishedAny = $false

if ($packages) {
Expand Down Expand Up @@ -749,7 +775,14 @@ jobs:

# Try to get version from the built assembly (most reliable)
try {
$dllPath = Get-ChildItem "Bin/Canary/net48/Krypton.Toolkit.dll" -ErrorAction Stop
$dllCandidates = @(
"artifacts/bin/Canary/net48/Krypton.Toolkit.dll",
"Bin/Canary/net48/Krypton.Toolkit.dll"
)
$dllPath = Get-ChildItem -Path $dllCandidates -ErrorAction SilentlyContinue | Select-Object -First 1
if (-not $dllPath) {
throw "Krypton.Toolkit.dll not found in artifacts or Bin output paths."
}
$assemblyVersion = [System.Reflection.AssemblyName]::GetAssemblyName($dllPath.FullName).Version
$version = $assemblyVersion.ToString()
Write-Host "Got version from assembly: $version"
Expand Down Expand Up @@ -895,7 +928,7 @@ jobs:
- name: Setup NuGet
# Kill switch check
if: steps.nightly_release_kill_switch.outputs.enabled == 'true'
uses: NuGet/setup-nuget@v3.0.0
uses: NuGet/setup-nuget@v3.1.0

- name: Cache NuGet
# Kill switch check
Expand Down Expand Up @@ -958,12 +991,12 @@ jobs:
- name: Build Alpha
# Kill switch check
if: steps.nightly_release_kill_switch.outputs.enabled == 'true'
run: msbuild "Scripts/Build/nightly.proj" /t:Build /p:Configuration=Nightly /p:Platform="Any CPU"
run: msbuild "Scripts/Build/nightly.proj" /t:Build /p:Configuration=Nightly /p:Platform="Any CPU" /p:UseArtifactsOutput=true

- name: Pack Alpha
# Kill switch check
if: steps.nightly_release_kill_switch.outputs.enabled == 'true'
run: msbuild "Scripts/Build/nightly.proj" /t:Pack /p:Configuration=Nightly /p:Platform="Any CPU"
run: msbuild "Scripts/Build/nightly.proj" /t:Pack /p:Configuration=Nightly /p:Platform="Any CPU" /p:UseArtifactsOutput=true

# Note: NuGet publishing for alpha/nightly builds is handled by nightly.yml workflow
# which runs on a schedule and checks for changes in the last 24 hours
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- `Source/Krypton Components`: Core libraries (`Krypton.Toolkit`, `Krypton.Ribbon`, `Krypton.Navigator`, `Krypton.Workspace`, `Krypton.Docking`) and the solution `Krypton Toolkit Suite 2022 - VS2022.sln`
- `Source/Krypton Components/TestForm`: WinForms sample app used to validate changes
- `Source/TestHarnesses`: Small repro/test harnesses (e.g., `ThemeSwapRepro`)
- `Scripts/`: Build and packaging scripts; `run.cmd` (root) launches an interactive menu; scripts live under `Scripts/VS2022/`, `Scripts/Current/`, `Scripts/Build/` (e.g., `build-stable.cmd`, `build-canary.cmd`, `build-nightly.cmd`, `build.proj`)
- `Scripts/`: Build and packaging scripts; `run.cmd` (root) launches an interactive menu; scripts live under `Scripts/VS2022/`, `Scripts/Current/`, `Scripts/Build/` (e.g., `build-stable.cmd`, `build-canary.cmd`, `build-nightly.cmd`, `build.proj`); optional Terminal.Gui build/pack UI in `Scripts/ModernBuild/` ([ModernBuild README](Scripts/ModernBuild/README.md))
- `Bin/`: Build outputs by configuration (e.g., `Bin/Debug`)
- `Documents/`, `Assets/`, `Logs/`: Docs, images, and build logs

Expand Down
Loading
Loading