38 Commits
Author SHA1 Message Date
Christoph Wille bc8b1d1893 Avalonia 12.1.1 and Dock 12.1.0 2026-08-01 10:47:42 +02:00
Siegfried Pammer 07d5a01d2b Add license headers to source files that lacked them
Backfills the standard MIT X11 header on hand-written files that never
got one, attributing each to its first-commit author and year from git
history. Code vendored from dotnet/runtime and Humanizr/Humanizer gets
its origin's license lines and a provenance note instead. Generated
files (Resources.Designer.cs, the version-info template), tool-managed
suppression files, and BAML test-case fixtures intentionally stay
header-less.

Assisted-by: Claude:claude-fable-5:Claude Code
2026-07-05 21:09:46 +02:00
Siegfried Pammer bdf7e35e14 Drop the stale net10.0-windows segment from publish-output paths
ILSpy targets net10.0, not net10.0-windows; the VS add-in build paths, the
installer output dir, the local-dev publish script, and the VS Code launch
config still referenced the old net10.0-windows layout. Align them with the
actual TFM, matching publish.ps1 and the build workflow.

Assisted-by: Claude:claude-opus-4-8:Claude Code
2026-06-10 00:47:06 +02:00
Siegfried Pammer 40a667fefb Treat warnings as errors repo-wide
A clean build currently has zero warnings; enforce that so new ones can't
accumulate unnoticed. Set TreatWarningsAsErrors in the root
Directory.Build.props rather than per project. ICSharpCode.ILSpyCmd keeps
its existing TreatWarningsAsErrors=false (project-level wins over the
imported default), and the three legacy net472 projects (the VS add-ins
and the installer builder) opt out explicitly since they only build on
Windows and aren't covered by the cross-platform CI that gates this.

Assisted-by: Claude:claude-opus-4-8:Claude Code
2026-06-10 00:11:56 +02:00
Siegfried Pammer 7a4dd35406 Fix the installer icon path and regenerate the VSIX/MSI file lists
create-filelists.ps1 filtered to bin\Debug with `-contains` (collection
membership, always false for a substring test), so it skipped every artifact;
drop the broken filter. Point the installer ProductIcon at the relocated
ILSpy.ico (Images -> Assets) and regenerate the committed .filelist snapshots.

Assisted-by: Claude:claude-opus-4-8:Claude Code
2026-06-10 00:08:58 +02:00
Siegfried Pammer 667f6ad5f8 Add pwsh dev scripts, repo-wide lock files, and CI NuGet caching
Replace the Windows-only .bat helpers (clean / debugbuild / releasebuild /
restore / updatedeps and BuildTools/format) with cross-platform pwsh
scripts at the repo root: restore.ps1, build.ps1 (-Configuration), clean.ps1,
updatedeps.ps1 and BuildTools/format.ps1, alongside the existing publish.ps1.

Enable a packages.lock.json for every project by hoisting
RestorePackagesWithLockFile into the root Directory.Build.props (the four
core libraries set it individually before) and commit the generated locks,
so restores are repeatable and CI can cache packages off them.

Cache the NuGet packages folder in the three setup-dotnet workflows
(build-ilspy, build-frontends, codeql-analysis), keyed on the lock files
per the setup-dotnet caching guidance.

Scope the Debug "Verify package contents" check to the *.filelist outputs
it actually generates. A project's packages.lock.json is keyed only by
(framework, RID), with no host-OS axis, so a lock produced on Linux
legitimately differs from one produced on Windows whenever an OS-conditional
PackageReference applies (Debug+Windows pulls Microsoft.DiaSymReader*). The
Windows restore then rewrites those locks; that churn must not fail a step
whose job is to police the VSIX/MSI file lists.

Also drop the dead ILSpy.BamlDecompiler publish line from
publishlocaldev.ps1, mirroring the earlier publish.ps1 fix.

Assisted-by: Claude:claude-opus-4-8:Claude Code
2026-06-09 00:58:19 +02:00
Christoph Wille 2826fff43a Installer NuGet updates (and link to Wix7 issue) 2026-05-12 14:05:52 +02:00
Christoph Wille a1e2a4aa91 NuGet Update 02/26 (#3663)
* NuGet Update 02/26
* Update to latest build agent software
* Use Wix 6.0.2, manually install version-locked WixToolset.UI.wixext extension
2026-02-14 09:48:48 +01:00
Christoph Wille df5399a8e4 Update WixSharp NuGet 2025-11-24 12:48:35 +01:00
Peter Crabtree e1e16b64f5 dev: Strip BOM mark from text files 2025-08-28 20:56:19 -04:00
Christoph Wille a41b93b7f5 Update WixSharp 2.7.3 2025-07-22 07:39:11 +02:00
Siegfried Pammer e4ebe20602 Upgrade dotnet target framework to net10 2025-07-04 19:08:07 +02:00
Christoph Wille 01f296fed8 Update to _wix4 packages for installer 2025-04-09 08:45:23 +02:00
Christoph Wille 1048cd9557 Enable repeatable package restores (#3359)
Locking restricted to projects that create NuGet packages
    ICSharpCode.Decompiler
    ICSharpCode.ILSpyX
    ILSpyCmd
    ICSharpCode.BamlDecompiler
2025-01-03 14:30:08 +01:00
Christoph Wille f996283233 Update NuGet packages 2024-06-02 07:15:05 +02:00
Christoph Wille 3564ab1030 Fix Wpf slnf (missing BamlDecompiler project), update NuGet packages for Installer (WiX), update NuGet packages ILSpy 2024-03-30 11:04:33 +01:00
Christoph Wille 12ab3b87e9 NuGet package updates 2024-02-18 09:34:35 +01:00
Christoph Wille 084d02a447 Apply Central package management (requires package source mapping) (#3124)
* Apply Central package management https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management (requires package source mapping https://learn.microsoft.com/en-us/nuget/consume-packages/package-source-mapping)

* Microsoft.DiaSymReader.Converter.Xml from dotnet-tools, Microsoft.DiaSymReader.Native from nuget.org feed

* Trying to sort what is on which feed for previews of Diasymreader packages

* Parse the Roslyn version from Directory.packages.props

* Use specific versions for Diasymreader from nuget.org to allow VS2022 addin to restore properly

* Tests needs also locked references
2023-11-23 07:25:23 +01:00
Siegfried PammerandChristoph Wille a94d66561a Move to .NET 8.0 (#3119)
* Basics of net8.0. Breaking unit tests expected.

* Missed that TestRunner project was already upgraded to net7.0 (search and replace fail)

* Use Preview 6 locally

* Use .NET 8.0 RTM

* Final fixups

---------

Co-authored-by: Christoph Wille <[email protected]>
2023-11-17 20:23:38 +01:00
Christoph Wille a0027e13b9 DefineConstants overrides defined constants in all projects; use property to amend constants. 2023-08-05 15:19:10 +02:00
Christoph Wille 3b062becff Update to https://github.com/oleg-shilo/wixsharp/releases/tag/v1.22.0.0 2023-07-13 17:36:25 +02:00
Christoph Wille bdb3235663 Lock looking for WiX binaries exclusively to packages folder 2023-06-07 15:59:03 +02:00
Christoph Wille f12a3d3572 Fix #2984: Store pointing to v8.0 submission, building of arm64 setup 2023-06-07 14:48:17 +02:00
Christoph Wille b6535a4d71 Verified WiX 3.14 would build an arm64 installer for us 2023-06-04 14:00:15 +02:00
Christoph Wille eb2f024b8b Make Installer top-level solution and build it post-publish of ILSpy.sln (#2991)
* Remove Installer from main solution
* Split installer into separate solution that has to be run after ILSpy.sln has been built and published
* Modify build action to account for new sln and correct ordering
* Single-line run and release-only installer build
* All publishing in ps1, better naming for publish folders
2023-05-29 16:55:44 +02:00
Christoph Wille b1d3b2a382 Update WixSharp to 1.20.3 (from .1) 2023-02-27 08:36:05 +01:00
Christoph Wille 4777cb0450 Update NuGet packages 2022-07-20 15:42:26 +02:00
Siegfried Pammer 78c7ece12d * Include missing .json config in ILSpy.Installer.
* Add build action to check file lists of msi and vsix packages.
2022-04-15 11:54:51 +02:00
Siegfried Pammer a88a413571 Fix DecompilerVersionInfoDependency in ILSpy.Installer.csproj 2022-04-03 17:34:39 +02:00
Siegfried Pammer d5f8145a10 Convert solution-level dependencies to project-level dependencies.
Solution-level dependencies are incompatible with slnf.
2022-04-03 15:45:57 +02:00
Christoph Wille 15ad025ad9 Fix buildOutputDir. Note: should use output from dotnet publish! 2022-02-07 08:55:23 +01:00
Andreas Weizel 3d2176554f Correct manufacturer name in MSI package 2021-12-13 00:52:06 +01:00
Andreas Weizel a767fc454c Fix #2574: Show verification screen with target directory before starting installation 2021-12-13 00:45:07 +01:00
Andreas Weizel ac165d68c7 Fix build error 2021-11-21 23:21:07 +01:00
Andreas Weizel 85574e639f Fix and improve ILSpy.Installer project
- Fix build error with Debug build configuration
- Use only \wix as output directory
- Add solution filter file with included installer project
- Add package version to MSI file name
2021-11-21 23:06:02 +01:00
Andreas Weizel 33fcbae491 Switch ILSpy.Installer project from old to new project format 2021-11-21 01:26:14 +01:00
Andreas Weizel 59e1f8e64f Add start menu shortcut on installation 2021-11-21 00:22:14 +01:00
Andreas Weizel 05874991a9 Rename installer project to ILSpy.Installer, use ILSpy app version as MSI package version 2021-11-20 23:46:10 +01:00