Modernize CASE Apps for Revit 2025–2027 - #11
Open
johnpierson wants to merge 3 commits into
Open
Conversation
Replace year-shell SharedProjects with SDK-style net8/net10 projects, Nice3point Revit API packages, and deploy outputs for 2025-2027. Remove legacy 2015-2023 deploy bits and year folders, update Inno Setup, and add install/smoke-test scripts. 41 add-ins build for all three years; OpenNURBS remains out of the modern solution.
SDK-style projects did not embed Icons/*.png with the Case.AppsRibbon.<name>.png manifest names expected by LoadPngImgSource. Mark icons as EmbeddedResource with the correct LogicalName and rebuild deploy binaries.
Ship CASEApps-installer.exe from the updated Inno Setup script, align year-folder .addin manifests with the modern Case.Apps path layout, and relax the 64-bit install mode flag for broader Inno Setup compatibility.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brings the open-source CASE Apps suite into the current Revit era: SDK-style projects, .NET 8 / .NET 10, and first-class support for Revit 2025, 2026, and 2027.
The old multi-year shell layout (duplicate projects per year + SharedProjects, Framework 4.8, local Revit install path references) is replaced with a single modern project per add-in, NuGet-based Revit APIs, and a clean build → deploy → install path.
41 of 41 modern add-ins build for 2025, 2026, and 2027. Ribbon icons load correctly. Dev install + smoke checks are scripted.
Why this matters
C:\Program Files\Autodesk\Revit …src/<App>/modern/deploy/2015–2023prebuiltsdeploy/2025–2027from the modern buildInstall-CaseApps.ps1+SmokeTest-CaseApps.ps1What’s included
Build system
src/Directory.Build.props/Directory.Build.targets— shared TFMs, Revit package refs, per-year output isolation, deploy copysrc/CaseApps.sln— all modern add-insbuild.ps1— build one or all years (-p:RevitVersion=…)src/global.json— SDK roll-forward for .NET 10net8.0-windowsnet8.0-windowsnet10.0-windowsAPI / code modernization
ElementId.IntegerValue→ElementId.Value(WorksetId still usesIntegerValue)BuiltInParameterGroup→GroupTypeId/ForgeTypeId+ParameterUtils.GetAllBuiltInGroups()TaskDialogambiguity resolvedViewType.PresureLossReport→PressureLossReport(version-gated)Icons/*.pngasCase.AppsRibbon.<name>.pngforGetManifestResourceStreamHtmlTextWritershim for net8/net10; Newtonsoft / Excel Interop / charting packages where neededInstaller and packaging
CaseApps-installer.issretargeted to 2025 / 2026 / 2027 (version 27.1.0)%AppData%\Autodesk\Revit\Addins\<year>\Case.Apps\+Case.Apps.addin→Case.Apps\Case.AppsRibbon.dllCASEApps-installer.exeincludedTooling
tools/Install-CaseApps.ps1— install/uninstall for smoke testingtools/SmokeTest-CaseApps.ps1— offline PE/manifest/core assembly checkstools/Convert-ToModern.ps1— historical conversion helperCleanup
*2020–*2023), SharedProjects, per-app solutions,CaseAppsAll.slndeploy/2015–2023and old install zip baggageOut of scope / known gaps
Case.Subs.OpenNURBS— not in the modern solution (legacy Framework OpenNURBS wrapper)How to verify
Or use the Inno Setup installer for multi-year deployment.
Test plan
dotnet buildall 41 apps for Revit 2025, 2026, and 2027Commits
fddbebf— Modernize CASE Apps for Revit 2025–20279c823ee— Fix ribbon icons (embedded PNG resources)76887df— Rebuilt installer + .addin alignment