Skip to main content

revit-addin-bundle

Package a versioned Autodesk Revit add-in as an Autodesk App Store bundle with the Nice3point.Revit.Templates ModularPipelines build. USE FOR: setting the bundle vendor metadata and version, and running the build to produce a versioned .bundle with per-Revit-year contents for App Store distribution. DO NOT USE FOR: per-build deploy or publish to a local Revit (use revit-addin-publishing), or launching and debugging (use revit-addin-debugging).

소스 정보

저장소
Nice3point/revit-skills
최근 소스 활동
2026년 10월 7일 21:21
감지된 SKILL.md 언어
영어
스타
16
포크
3

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
revit-addin-bundle
description
Package a versioned Autodesk Revit add-in as an Autodesk App Store bundle with the Nice3point.Revit.Templates ModularPipelines build. USE FOR: setting the bundle vendor metadata and version, and running the build to produce a versioned .bundle with per-Revit-year contents for App Store distribution. DO NOT USE FOR: per-build deploy or publish to a local Revit (use revit-addin-publishing), or launching and debugging (use revit-addin-debugging).
license
MIT
# Revit Add-in Bundle An Autodesk App Store add-in ships as a `.bundle` — a `PackageContents.xml` with a `Contents/<year>` folder for each supported Revit version. A solution scaffolded from the templates with bundle support contains a ModularPipelines `build` project whose `pack` command assembles the bundle from every version's publish output and stamps it with a version. A solution created without bundle support requires the bundle infrastructure files first (see Common Pitfalls). ## When to use - Packaging an add-in as an Autodesk App Store bundle. - Setting the vendor metadata and version of the bundle. ## Workflow ### Step 1: Set vendor metadata Set the vendor fields in the `Bundle` section of `build/appsettings.json` (`VendorName` is required): ```json "Bundle": { "VendorName": "Acme Corporation", "VendorUrl": "https://acme.com", "VendorEmail": "support@acme.com" } ``` ### Step 2: Resolve the version `GitVersion` derives the bundle's `AppVersion` from Git tags; a fixed `Version` in `build/appsettings.json` overrides it. Tag the commit before packing. GitVersion requires at least one commit in the repository history. ### Step 3: Build the bundle Run the `pack` command from the `build` directory. It compiles every supported Revit configuration, then assembles the bundle from each configuration's publish output. The same run also produces an installer only when the solution was scaffolded with installer support: ```shell cd build dotnet run -c Release -- pack ``` The result is a zipped `.bundle` under `output/`, laid out per version: ```text RevitAddIn.bundle/ PackageContents.xml Contents/ 2025/ RevitAddIn.addin RevitAddIn/RevitAddIn.dll 2026/ RevitAddIn.addin RevitAddIn/RevitAddIn.dll ``` The generated `PackageContents.xml` contains the product name, `AppVersion`, the vendor metadata, and one component entry per Revit year. ### Step 4: Verify Confirm the bundle has a `Contents/<year>` folder for every supported version and that `PackageContents.xml` shows the expected version and vendor fields, then upload it to the Autodesk App Store. ## Validation - [ ] `VendorName` (at minimum) is set in the `Bundle` section of `build/appsettings.json`. - [ ] The version derives from a Git tag, or an explicit `Version`. - [ ] The bundle contains a `Contents/<year>` folder for each supported Revit version. ## Common Pitfalls | Pitfall | Correct approach | |------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | Building before any Git commit | Make an initial commit before the build. | | Hand-numbering versions | Tag the commit and let GitVersion derive the version. | | Shipping a bundle without vendor metadata | Set the `Bundle` fields in `build/appsettings.json`. | | Packing a solution scaffolded without bundle support | First create the solution with bundle support (`dotnet new revit-addin-sln --bundle`) and transfer the bundle infrastructure files from a temporary `--bundle` solution (see `revit-template-migration`). | | A Revit year missing from the bundle | `pack` builds every configured version. Add the year to the configuration matrix (`revit-multi-version-configuration`). |
GitHub에서 보기