34 Commits
Author SHA1 Message Date
Christoph Wille aab6303870 Migrate the VS extension to an SDK-style VSIX (dotnet build) and retire the VS2017/2019 add-in (#3808)
* Migrate ILSpy.AddIn.VS2022 to SDK-style VSIX project
* Retire the legacy VS2017/2019 ILSpy add-in
* Build the VS extension via dotnet build on the slnx
* Inline ILSpy.AddIn.Shared into ILSpy.AddIn.VS2022
* Restore the VS add-in menus broken by the SDK-style migration
2026-06-24 06:09:29 +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
Christoph Wille 120154e21c Remove Translations (#3648) 2025-12-29 13:56:29 +01:00
Peter Crabtree e1e16b64f5 dev: Strip BOM mark from text files 2025-08-28 20:56:19 -04:00
Siegfried Pammer e4ebe20602 Upgrade dotnet target framework to net10 2025-07-04 19:08:07 +02:00
Christoph Wille 4bad0c7a4b Move license.txt to root folder LICENSE file 2025-01-03 10:12:45 +01:00
Christoph Wille 60251044cd Adapt ILSpyInstance:Start to new command line options 2024-05-04 11:21:07 +02: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 a6a86a6165 Microsoft.VSSDK.BuildTools 17.6.2164 for both projects 2023-06-15 10:19:54 +02:00
Christoph Wille fb2f98061c Update Microsoft.VSSDK.BuildTools 2023-06-14 14:00:34 +02:00
Christoph Wille d43a5c94e7 Adapt GetILSpyPath and copy both x64 and arm64 ILSpy into the VSIX for VS 2022 2023-06-14 12:26:33 +02:00
Christoph Wille 040ac1ac81 Switch from default output directory to publish folder 2023-06-14 12:16:21 +02:00
Christoph Wille 9cc35cdca2 Move VS Extensions projects to a separate solution 2023-06-14 12:12:15 +02:00
Christoph Wille ace11158a2 Use latest VS SDK (#2767)
* Update https://www.nuget.org/packages/Microsoft.VSSDK.BuildTools to 17.3.2093 to match https://github.com/actions/runner-images/blob/main/images/win/Windows2022-Readme.md (VS Build # to version: https://docs.microsoft.com/ro-ro/visualstudio/install/visual-studio-build-numbers-and-release-dates?preserve-view=true&view=vs-2022)

* Upgrade downlevel (<=2019) addin too to 17.3.2093
2022-08-24 07:55:26 +02:00
Siegfried Pammer 504d16e44d Use ReferenceAssemblyAnnotator in ILSpy.AddIn.csproj and ILSpy.AddIn.VS2022.csproj 2022-04-10 23:25:55 +02:00
Siegfried Pammer a2b1e9a6ca Use VSIXSourceItem to add ILSpy distribution to VSIX after ResolveProjectReferences. 2022-04-04 15:41:40 +02:00
Siegfried Pammer c7719b1a6f Try again to remove ILSpy.dll.config. 2022-04-03 16:52:51 +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 04b75be5d2 Go back to Microsoft.VSSDK.BuildTools 17.1.4054 2022-03-31 09:05:20 +02:00
Siegfried Pammer fa451b5b87 Update nuget packages and references for VS2022. 2022-03-30 03:45:44 +02:00
Siegfried Pammer 4519c3b5c1 Remove leftovers of AppVeyor-specific configuration. 2022-03-30 03:45:43 +02:00
Siegfried Pammer bf3b93ec76 Fix #2644: Ignore warnings MSB3277 and VSSDK1009 2022-03-30 03:45:43 +02:00
Siegfried Pammer 1ccc63b829 Revert removal of app.config.template 2022-03-13 14:53:07 +01:00
SilverFox 2ce3419019 Fix build for VSAddIn 2022-03-11 12:22:08 +01:00
Christoph Wille 379cc763c0 Fix ILSpyBuildPath and .exe.config -> .dll.config. Note: should use output from dotnet publish! 2022-02-07 08:55:04 +01:00
Siegfried Pammer 9e54b44b11 Move ILSpy to net6.0-windows 2022-02-06 17:34:30 +01:00
Christoph Wille e82dd73872 Update Microsoft.VisualStudio.SDK for 2022 extension - dependent NuGet Microsoft.VisualStudio.Setup.Configuration.Interop now available 2021-11-09 08:11:26 +01:00
Christoph Wille 582002888b Revert "Final Microsoft.VisualStudio.SDK for 2022 extension"
This reverts commit 0625f815b0.
2021-11-08 21:10:00 +01:00
Christoph Wille 0625f815b0 Final Microsoft.VisualStudio.SDK for 2022 extension 2021-11-08 20:48:03 +01:00
Andreas Weizel 11c107e32f Try the opposite way: Use only project instead of build dependencies 2021-10-24 00:23:34 +02:00
Andreas Weizel 4f378f7790 Remove project reference on ILSpy from AddIns, use build dependencies instead 2021-10-23 23:32:04 +02:00
Andreas Weizel 075c447954 Rename ILSpy.AddIn.VS17 to ILSpy.AddIn.VS2022 2021-10-23 14:13:45 +02:00