├── version
├── .gitattributes
├── img
├── start.png
└── template.png
├── RevitAddinTemplate.Multiversion
├── .gitattributes
├── ProjectTemplate.ico
├── Properties
│ └── AssemblyInfo.cs
├── App.cs
├── ProjectTemplate.addin
├── LICENSE
├── AssemblyInfo.cs
├── RevitAddinTemplate.Multiversion.vstemplate
├── Command.cs
├── RevitAddinTemplate.Multiversion.csproj
├── .gitignore
└── ProjectTemplate.csproj
├── RevitTemplateVSIX
├── ProjectTemplate.ico
├── ProjectTemplates
│ └── RevitAddinTemplate.Multiversion.zip
├── Properties
│ └── AssemblyInfo.cs
├── source.extension.vsixmanifest
├── RevitTemplateVSIXPackage.cs
└── RevitTemplateVSIX.csproj
├── .idea
└── .idea.RevitAddinTemplate.Multiversion
│ └── .idea
│ ├── encodings.xml
│ ├── vcs.xml
│ ├── indexLayout.xml
│ ├── aws.xml
│ └── .gitignore
├── vs-publish.json
├── README.md
├── .github
└── workflows
│ └── dotnet.yml
├── RevitAddinTemplate.Multiversion.sln
└── .gitignore
/version:
--------------------------------------------------------------------------------
1 | v.1.1.4
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/img/start.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/romangolev/RevitAddinTemplate.Multiversion/HEAD/img/start.png
--------------------------------------------------------------------------------
/img/template.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/romangolev/RevitAddinTemplate.Multiversion/HEAD/img/template.png
--------------------------------------------------------------------------------
/RevitAddinTemplate.Multiversion/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/RevitTemplateVSIX/ProjectTemplate.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/romangolev/RevitAddinTemplate.Multiversion/HEAD/RevitTemplateVSIX/ProjectTemplate.ico
--------------------------------------------------------------------------------
/RevitAddinTemplate.Multiversion/ProjectTemplate.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/romangolev/RevitAddinTemplate.Multiversion/HEAD/RevitAddinTemplate.Multiversion/ProjectTemplate.ico
--------------------------------------------------------------------------------
/RevitTemplateVSIX/ProjectTemplates/RevitAddinTemplate.Multiversion.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/romangolev/RevitAddinTemplate.Multiversion/HEAD/RevitTemplateVSIX/ProjectTemplates/RevitAddinTemplate.Multiversion.zip
--------------------------------------------------------------------------------
/RevitAddinTemplate.Multiversion/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | [assembly: ComVisible(false)]
6 | [assembly: Guid("$guid3$")]
7 |
--------------------------------------------------------------------------------
/.idea/.idea.RevitAddinTemplate.Multiversion/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/.idea/.idea.RevitAddinTemplate.Multiversion/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/.idea.RevitAddinTemplate.Multiversion/.idea/indexLayout.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/.idea.RevitAddinTemplate.Multiversion/.idea/aws.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
10 |
11 |
--------------------------------------------------------------------------------
/vs-publish.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "http://json.schemastore.org/vsix-publish",
3 | "categories": [ "coding", "build" ],
4 | "identity": {
5 | "internalName": "RevitAddinTemplateMultiversion",
6 | "tags": [ "revit" ]
7 | },
8 | "overview": "README.md",
9 | "publisher": "RomanGolev",
10 | "repo": "https://github.com/romangolev/RevitAddinTemplate.Multiversion"
11 | }
12 |
--------------------------------------------------------------------------------
/.idea/.idea.RevitAddinTemplate.Multiversion/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 | # Rider ignored files
5 | /.idea.RevitAddinTemplate.Multiversion.iml
6 | /modules.xml
7 | /contentModel.xml
8 | /projectSettingsUpdater.xml
9 | # Editor-based HTTP Client requests
10 | /httpRequests/
11 | # Datasource local storage ignored files
12 | /dataSources/
13 | /dataSources.local.xml
14 |
--------------------------------------------------------------------------------
/RevitAddinTemplate.Multiversion/App.cs:
--------------------------------------------------------------------------------
1 | #region Namespaces
2 | using System;
3 | using System.Collections.Generic;
4 | using Autodesk.Revit.ApplicationServices;
5 | using Autodesk.Revit.Attributes;
6 | using Autodesk.Revit.DB;
7 | using Autodesk.Revit.UI;
8 | #endregion
9 |
10 | namespace $safeprojectname$
11 | {
12 | class App : IExternalApplication
13 | {
14 | public Result OnStartup( UIControlledApplication a )
15 | {
16 | return Result.Succeeded;
17 | }
18 |
19 | public Result OnShutdown( UIControlledApplication a )
20 | {
21 | return Result.Succeeded;
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/RevitAddinTemplate.Multiversion/ProjectTemplate.addin:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Command $projectname$
5 | Some description for $projectname$
6 | $projectname$/$projectname$.dll
7 | $safeprojectname$.Command
8 | $guid1$
9 | Edit this in settings
10 | (company + authors + website)
11 |
12 |
13 | Application $projectname$
14 | $projectname$/$projectname$.dll
15 | $safeprojectname$.App
16 | $guid2$
17 | Edit this in settings
18 | (company + authors + website)
19 |
20 |
21 |
--------------------------------------------------------------------------------
/RevitAddinTemplate.Multiversion/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2024 Roman Golev
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/RevitTemplateVSIX/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("RevitTemplateVSIX")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("RevitTemplateVSIX")]
13 | [assembly: AssemblyCopyright("")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // Version information for an assembly consists of the following four values:
23 | //
24 | // Major Version
25 | // Minor Version
26 | // Build Number
27 | // Revision
28 | //
29 | // You can specify all the values or you can default the Build and Revision Numbers
30 | // by using the '*' as shown below:
31 | // [assembly: AssemblyVersion("1.0.*")]
32 | [assembly: AssemblyVersion("1.0.0.0")]
33 | [assembly: AssemblyFileVersion("1.0.0.0")]
34 |
--------------------------------------------------------------------------------
/RevitAddinTemplate.Multiversion/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("$projectname$")]
9 | [assembly: AssemblyDescription("Revit Add-In Description for $projectname$")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("*")]
12 | [assembly: AssemblyProduct("$projectname$ Revit C# .NET Add-In")]
13 | [assembly: AssemblyCopyright("Copyright © * 2024")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("e31112a2-b1fd-488e-9ff5-f118a8692403")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/RevitAddinTemplate.Multiversion/RevitAddinTemplate.Multiversion.vstemplate:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Revit Addin Template (2020-2026)
5 | Revit Multi-Version Addin template (2020-2026) C# .NET
6 | ProjectTemplate.ico
7 | CSharp
8 | csharp
9 | extension
10 | desktop
11 | 1000
12 | 91fa0a77-6f52-412a-b945-ce4b9a2cc162
13 | true
14 | RevitAddinTemplate.Multiversion
15 | true
16 | true
17 |
18 |
19 |
20 | Properties\AssemblyInfo.cs
21 | App.cs
22 | Command.cs
23 | ProjectTemplate.addin
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/RevitAddinTemplate.Multiversion/Command.cs:
--------------------------------------------------------------------------------
1 | #region Namespaces
2 | using Autodesk.Revit.ApplicationServices;
3 | using Autodesk.Revit.Attributes;
4 | using Autodesk.Revit.DB;
5 | using Autodesk.Revit.UI;
6 | using Autodesk.Revit.UI.Events;
7 | using Autodesk.Revit.UI.Selection;
8 | using System;
9 | using System.Collections.Generic;
10 | using System.Diagnostics;
11 | using System.Windows;
12 | using Application = Autodesk.Revit.ApplicationServices.Application;
13 | #endregion
14 |
15 | namespace $safeprojectname$
16 | {
17 | [Transaction(TransactionMode.Manual)]
18 | public class Command : IExternalCommand
19 | {
20 | public Result Execute(
21 | ExternalCommandData commandData,
22 | ref string message,
23 | ElementSet elements)
24 | {
25 | UIApplication uiapp = commandData.Application;
26 | UIDocument uidoc = uiapp.ActiveUIDocument;
27 | Application app = uiapp.Application;
28 | Document doc = uidoc.Document;
29 |
30 | // Access current selection
31 |
32 | Selection sel = uidoc.Selection;
33 |
34 | // Retrieve elements from database
35 |
36 | FilteredElementCollector col
37 | = new FilteredElementCollector( doc )
38 | .WhereElementIsNotElementType()
39 | .OfCategory( BuiltInCategory.INVALID )
40 | .OfClass( typeof( Wall ) );
41 |
42 | // Filtered element collector is iterable
43 |
44 | foreach( Element e in col )
45 | {
46 | Debug.Print( e.Name );
47 | }
48 |
49 | // Modify document within a transaction
50 |
51 | using( Transaction tx = new Transaction( doc ) )
52 | {
53 | tx.Start( "Transaction Name" );
54 | tx.Commit();
55 | }
56 |
57 | // print generic message
58 | MessageBox.Show("Hello from $safeprojectname$");
59 |
60 | return Result.Succeeded;
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/RevitTemplateVSIX/source.extension.vsixmanifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | RevitTemplate
6 | A Revit Add-in Template for Visual Sudio that can point to multiple versions of Revit at the same time. This template uses configurations and generate separate dll files for each bersion.
7 | https://github.com/romangolev/RevitAddinTemplate.Multiversion
8 | ProjectTemplate.ico
9 | ProjectTemplate.ico
10 |
11 |
12 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Revit Multiversion Addin Template for Visual Studio 2022
2 | [](../..)
3 | [](LICENSE)
4 | [](../../actions)
5 | 
6 |
7 |
8 | ## Description
9 | - This is basic Revit Add-in template for Visual Studio
10 | - It uses configurations to target different versions of Revit
11 | - Using [Revit_All_Main_Versions_API_x64](https://www.nuget.org/packages/Revit_All_Main_Versions_API_x64) nuget package as a reference to Revit API
12 | - Has a post-build event that copied all files to the Revit Addins folder located in ```%appdataAutodesk\Revit\Addins```
13 | - Supports Revit 2020 to 2026
14 |
15 | ## Installation
16 | To install the template, download the zip file from the latest [Release](https://github.com/romangolev/RevitAddinTemplate.Multiversion/releases) and copy it to the following location:
17 |
18 | ```
19 | %USERPROFILE%\Documents\Visual Studio 2022\Templates\ProjectTemplates
20 | ```
21 |
22 | Or download and run VSIX file attached to the release in order to install the template. The template will apear as an extension for Visual Studio
23 |
24 | Or simply install this extension from a Visual Studio Marketplace [Revit Multiversion Addin Template](https://marketplace.visualstudio.com/items?itemName=RomanGolev.RevitAddinTemplateMultiversion)
25 |
26 | ## Usage
27 | - Create new project in Visual Studio and select the template from the list.
28 | - Select the version of Revit in the list of configurations
29 | - By starting project you'll trigger a new session of Revit attached to the template
30 | - Develop you plugin and have fun ;)
31 |
32 |
33 | After installing the extension, you can create a new project by selecting the Revit Multiversion Addin Template from the list of templates in Visual Studio:
34 | 
35 |
36 |
37 | To run the project, select the version of Revit you want to run the plugin in the list of configurations and hit play button:
38 | 
39 |
40 |
41 | ✌️ [Roman Golev](https://www.romangolev.com/), 2025
42 |
--------------------------------------------------------------------------------
/RevitTemplateVSIX/RevitTemplateVSIXPackage.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.VisualStudio.Shell;
2 | using System;
3 | using System.Runtime.InteropServices;
4 | using System.Threading;
5 | using Task = System.Threading.Tasks.Task;
6 |
7 | namespace RevitTemplateVSIX
8 | {
9 | ///
10 | /// This is the class that implements the package exposed by this assembly.
11 | ///
12 | ///
13 | ///
14 | /// The minimum requirement for a class to be considered a valid package for Visual Studio
15 | /// is to implement the IVsPackage interface and register itself with the shell.
16 | /// This package uses the helper classes defined inside the Managed Package Framework (MPF)
17 | /// to do it: it derives from the Package class that provides the implementation of the
18 | /// IVsPackage interface and uses the registration attributes defined in the framework to
19 | /// register itself and its components with the shell. These attributes tell the pkgdef creation
20 | /// utility what data to put into .pkgdef file.
21 | ///
22 | ///
23 | /// To get loaded into VS, the package must be referred by <Asset Type="Microsoft.VisualStudio.VsPackage" ...> in .vsixmanifest file.
24 | ///
25 | ///
26 | [PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)]
27 | [Guid(RevitTemplateVSIXPackage.PackageGuidString)]
28 | public sealed class RevitTemplateVSIXPackage : AsyncPackage
29 | {
30 | ///
31 | /// RevitTemplateVSIXPackage GUID string.
32 | ///
33 | public const string PackageGuidString = "d58da1f9-239c-4406-bc20-94fca71eeca1";
34 |
35 | #region Package Members
36 |
37 | ///
38 | /// Initialization of the package; this method is called right after the package is sited, so this is the place
39 | /// where you can put all the initialization code that rely on services provided by VisualStudio.
40 | ///
41 | /// A cancellation token to monitor for initialization cancellation, which can occur when VS is shutting down.
42 | /// A provider for progress updates.
43 | /// A task representing the async work of package initialization, or an already completed task if there is none. Do not return null from this method.
44 | protected override async Task InitializeAsync(CancellationToken cancellationToken, IProgress progress)
45 | {
46 | // When initialized asynchronously, the current thread may be a background thread at this point.
47 | // Do any initialization that requires the UI thread after switching to the UI thread.
48 | await this.JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
49 | }
50 |
51 | #endregion
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/.github/workflows/dotnet.yml:
--------------------------------------------------------------------------------
1 | name: .NET
2 |
3 | on:
4 | push:
5 | branches: [ "main" ]
6 | pull_request:
7 | branches: [ "main" ]
8 |
9 | jobs:
10 | build:
11 | runs-on: windows-2025
12 |
13 | steps:
14 | - name: Checkout
15 | uses: actions/checkout@v3
16 |
17 | - name: Add nuget to PATH
18 | uses: nuget/setup-nuget@v1.0.5
19 |
20 | - name: Add msbuild to PATH
21 | uses: microsoft/setup-msbuild@v1.0.2
22 |
23 | - name: Setup .NET build dependencies
24 | uses: timheuer/bootstrap-dotnet@v1
25 | with:
26 | nuget: 'false'
27 | sdk: 'false'
28 | msbuild: 'true'
29 |
30 | - name: Restore RevitAddinTemplate.Multiversion
31 | run: dotnet restore RevitAddinTemplate.Multiversion.csproj
32 | working-directory: ./RevitAddinTemplate.Multiversion
33 |
34 | - name: Build RevitAddinTemplate.Multiversion Release
35 | run: msbuild RevitAddinTemplate.Multiversion.csproj /p:Configuration=Release
36 | working-directory: ./RevitAddinTemplate.Multiversion
37 |
38 | - name: Restore RevitTemplateVSIX
39 | run: dotnet restore RevitTemplateVSIX.csproj
40 | working-directory: ./RevitTemplateVSIX
41 |
42 | - name: Build RevitTemplateVSIX Release
43 | run: msbuild RevitTemplateVSIX.csproj /p:Configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal
44 | working-directory: ./RevitTemplateVSIX
45 |
46 | - name: Get version from file
47 | uses: Amadevus/pwsh-script@v2
48 | id: get_version
49 | with:
50 | script: |
51 | $version = Get-Content -Path .\version
52 | Write-Output $version
53 | echo "$version=$version" >> "$GITHUB_OUTPUT"
54 | continue-on-error: true
55 |
56 | - run: echo "${{ steps.get_version.outputs.result }}"
57 |
58 | - name: Create Release
59 | id: create_release
60 | uses: actions/create-release@v1
61 | with:
62 | tag_name: ${{ steps.get_version.outputs.result }}
63 | release_name: Release ${{ steps.get_version.outputs.result }}
64 | draft: false
65 | prerelease: false
66 | env:
67 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68 |
69 | - name: Upload Artifacts file
70 | id: upload-zipped-template
71 | uses: actions/upload-release-asset@v1
72 | with:
73 | upload_url: ${{ steps.create_release.outputs.upload_url }}
74 | asset_path: RevitAddinTemplate.Multiversion/bin/Release/${{ github.event.repository.name }}.zip
75 | asset_name: ${{ github.event.repository.name }}.zip
76 | asset_content_type: application/zip
77 | env:
78 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
79 |
80 | - name: Upload Vsix file
81 | id: upload-vsix-file
82 | uses: actions/upload-release-asset@v1
83 | with:
84 | upload_url: ${{ steps.create_release.outputs.upload_url }}
85 | asset_path: RevitTemplateVSIX/bin/Release/RevitTemplateVSIX.vsix
86 | asset_name: RevitTemplateVSIX.vsix
87 | asset_content_type: application/octet-stream
88 | env:
89 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
90 |
91 | - name: Publish extension to Marketplace
92 | uses: cezarypiatek/VsixPublisherAction@1.0
93 | with:
94 | extension-file: RevitTemplateVSIX/bin/Release/RevitTemplateVSIX.vsix
95 | publish-manifest-file: 'vs-publish.json'
96 | personal-access-code: ${{ secrets.VS_PUBLISHER_ACCESS_TOKEN }}
97 |
--------------------------------------------------------------------------------
/RevitAddinTemplate.Multiversion.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.9.34607.119
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RevitAddinTemplate.Multiversion", "RevitAddinTemplate.Multiversion\RevitAddinTemplate.Multiversion.csproj", "{E31112A2-B1FD-488E-9FF5-F118A8692403}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RevitTemplateVSIX", "RevitTemplateVSIX\RevitTemplateVSIX.csproj", "{A2EFFB28-E907-40DE-AA80-830250259BFD}"
9 | EndProject
10 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0DED5CFE-67A2-496B-A4B2-E01582CC0ACA}"
11 | ProjectSection(SolutionItems) = preProject
12 | .gitignore = .gitignore
13 | .github\workflows\dotnet.yml = .github\workflows\dotnet.yml
14 | README.md = README.md
15 | img\start.png = img\start.png
16 | img\template.png = img\template.png
17 | version = version
18 | vs-publish.json = vs-publish.json
19 | EndProjectSection
20 | EndProject
21 | Global
22 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
23 | Debug|Any CPU = Debug|Any CPU
24 | Debug|arm64 = Debug|arm64
25 | Debug|x86 = Debug|x86
26 | Release|Any CPU = Release|Any CPU
27 | Release|arm64 = Release|arm64
28 | Release|x86 = Release|x86
29 | EndGlobalSection
30 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
31 | {E31112A2-B1FD-488E-9FF5-F118A8692403}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
32 | {E31112A2-B1FD-488E-9FF5-F118A8692403}.Debug|Any CPU.Build.0 = Debug|Any CPU
33 | {E31112A2-B1FD-488E-9FF5-F118A8692403}.Debug|arm64.ActiveCfg = Debug|arm64
34 | {E31112A2-B1FD-488E-9FF5-F118A8692403}.Debug|arm64.Build.0 = Debug|arm64
35 | {E31112A2-B1FD-488E-9FF5-F118A8692403}.Debug|x86.ActiveCfg = Debug|x86
36 | {E31112A2-B1FD-488E-9FF5-F118A8692403}.Debug|x86.Build.0 = Debug|x86
37 | {E31112A2-B1FD-488E-9FF5-F118A8692403}.Release|Any CPU.ActiveCfg = Release|Any CPU
38 | {E31112A2-B1FD-488E-9FF5-F118A8692403}.Release|Any CPU.Build.0 = Release|Any CPU
39 | {E31112A2-B1FD-488E-9FF5-F118A8692403}.Release|arm64.ActiveCfg = Release|arm64
40 | {E31112A2-B1FD-488E-9FF5-F118A8692403}.Release|arm64.Build.0 = Release|arm64
41 | {E31112A2-B1FD-488E-9FF5-F118A8692403}.Release|x86.ActiveCfg = Release|x86
42 | {E31112A2-B1FD-488E-9FF5-F118A8692403}.Release|x86.Build.0 = Release|x86
43 | {A2EFFB28-E907-40DE-AA80-830250259BFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
44 | {A2EFFB28-E907-40DE-AA80-830250259BFD}.Debug|Any CPU.Build.0 = Debug|Any CPU
45 | {A2EFFB28-E907-40DE-AA80-830250259BFD}.Debug|arm64.ActiveCfg = Debug|arm64
46 | {A2EFFB28-E907-40DE-AA80-830250259BFD}.Debug|arm64.Build.0 = Debug|arm64
47 | {A2EFFB28-E907-40DE-AA80-830250259BFD}.Debug|x86.ActiveCfg = Debug|x86
48 | {A2EFFB28-E907-40DE-AA80-830250259BFD}.Debug|x86.Build.0 = Debug|x86
49 | {A2EFFB28-E907-40DE-AA80-830250259BFD}.Release|Any CPU.ActiveCfg = Release|Any CPU
50 | {A2EFFB28-E907-40DE-AA80-830250259BFD}.Release|Any CPU.Build.0 = Release|Any CPU
51 | {A2EFFB28-E907-40DE-AA80-830250259BFD}.Release|arm64.ActiveCfg = Release|arm64
52 | {A2EFFB28-E907-40DE-AA80-830250259BFD}.Release|arm64.Build.0 = Release|arm64
53 | {A2EFFB28-E907-40DE-AA80-830250259BFD}.Release|x86.ActiveCfg = Release|x86
54 | {A2EFFB28-E907-40DE-AA80-830250259BFD}.Release|x86.Build.0 = Release|x86
55 | EndGlobalSection
56 | GlobalSection(SolutionProperties) = preSolution
57 | HideSolutionNode = FALSE
58 | EndGlobalSection
59 | GlobalSection(ExtensibilityGlobals) = postSolution
60 | SolutionGuid = {423EFD5A-B696-4875-AC8B-0AE33F4C895F}
61 | EndGlobalSection
62 | EndGlobal
63 |
--------------------------------------------------------------------------------
/RevitTemplateVSIX/RevitTemplateVSIX.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 | 17.0
4 | $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
5 | win
6 |
7 |
8 |
9 | Debug
10 | AnyCPU
11 | 2.0
12 | {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
13 | {A2EFFB28-E907-40DE-AA80-830250259BFD}
14 | Library
15 | Properties
16 | RevitTemplateVSIX
17 | RevitTemplateVSIX
18 | v4.7.2
19 | true
20 | true
21 | true
22 | false
23 | false
24 | true
25 | true
26 | Program
27 | $(DevEnvDir)devenv.exe
28 | /rootsuffix Exp
29 |
30 |
31 | true
32 | full
33 | false
34 | bin\Debug\
35 | DEBUG;TRACE
36 | prompt
37 | 4
38 |
39 |
40 | pdbonly
41 | true
42 | bin\Release\
43 | TRACE
44 | prompt
45 | 4
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 | Always
54 | true
55 |
56 |
57 | Designer
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 | Always
71 | true
72 |
73 |
74 |
75 |
76 |
77 |
78 | xcopy "$(MSBuildThisFileDirectory)..\Artifacts\*.zip" /Y /i "$(ProjectDir)ProjectTemplates\"
79 |
80 |
81 |
--------------------------------------------------------------------------------
/RevitAddinTemplate.Multiversion/RevitAddinTemplate.Multiversion.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 17.0
5 | $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
6 |
7 |
8 | v4.8
9 |
10 |
11 |
12 | false
13 |
14 |
15 | false
16 |
17 |
18 | false
19 |
20 |
21 | false
22 |
23 |
24 |
25 | Debug
26 | AnyCPU
27 | {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
28 | {E31112A2-B1FD-488E-9FF5-F118A8692403}
29 | Library
30 | Properties
31 | RevitAddinTemplate.Multiversion
32 | RevitAddinTemplate.Multiversion
33 | 512
34 | false
35 | false
36 | false
37 | false
38 | false
39 | false
40 | false
41 | false
42 | false
43 | false
44 |
45 |
46 | true
47 | full
48 | false
49 | bin\Debug\
50 | DEBUG;TRACE
51 | prompt
52 | 4
53 | false
54 |
55 |
56 | false
57 | x64
58 |
59 |
60 | pdbonly
61 | true
62 | bin\Release\
63 | TRACE
64 | prompt
65 | 4
66 | false
67 |
68 |
69 |
70 |
71 |
72 | true
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 | README.md
82 |
83 |
84 | Always
85 |
86 |
87 | Always
88 |
89 |
90 |
91 | Always
92 |
93 |
94 |
95 |
96 | Always
97 |
98 |
99 | Always
100 |
101 |
102 | Always
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 | Always
111 |
112 |
113 |
114 |
115 | Always
116 |
117 |
118 |
119 |
120 |
121 |
122 | if exist "$(TargetDir)" (del * /S /Q "$(TargetDir)")
123 |
124 |
125 | $(UserProfile)\Documents\Visual Studio 2022\Templates\ProjectTemplates
126 | $(SolutionDir)Artifacts
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
--------------------------------------------------------------------------------
/RevitAddinTemplate.Multiversion/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Mono auto generated files
17 | mono_crash.*
18 |
19 | # Build results
20 | [Dd]ebug/
21 | [Dd]ebugPublic/
22 | [Rr]elease/
23 | [Rr]eleases/
24 | x64/
25 | x86/
26 | [Ww][Ii][Nn]32/
27 | [Aa][Rr][Mm]/
28 | [Aa][Rr][Mm]64/
29 | bld/
30 | [Bb]in/
31 | [Oo]bj/
32 | [Ll]og/
33 | [Ll]ogs/
34 |
35 | # Visual Studio 2015/2017 cache/options directory
36 | .vs/
37 | # Uncomment if you have tasks that create the project's static files in wwwroot
38 | #wwwroot/
39 |
40 | # Visual Studio 2017 auto generated files
41 | Generated\ Files/
42 |
43 | # MSTest test Results
44 | [Tt]est[Rr]esult*/
45 | [Bb]uild[Ll]og.*
46 |
47 | # NUnit
48 | *.VisualState.xml
49 | TestResult.xml
50 | nunit-*.xml
51 |
52 | # Build Results of an ATL Project
53 | [Dd]ebugPS/
54 | [Rr]eleasePS/
55 | dlldata.c
56 |
57 | # Benchmark Results
58 | BenchmarkDotNet.Artifacts/
59 |
60 | # .NET Core
61 | project.lock.json
62 | project.fragment.lock.json
63 | artifacts/
64 |
65 | # ASP.NET Scaffolding
66 | ScaffoldingReadMe.txt
67 |
68 | # StyleCop
69 | StyleCopReport.xml
70 |
71 | # Files built by Visual Studio
72 | *_i.c
73 | *_p.c
74 | *_h.h
75 | *.ilk
76 | *.meta
77 | *.obj
78 | *.iobj
79 | *.pch
80 | *.pdb
81 | *.ipdb
82 | *.pgc
83 | *.pgd
84 | *.rsp
85 | *.sbr
86 | *.tlb
87 | *.tli
88 | *.tlh
89 | *.tmp
90 | *.tmp_proj
91 | *_wpftmp.csproj
92 | *.log
93 | *.tlog
94 | *.vspscc
95 | *.vssscc
96 | .builds
97 | *.pidb
98 | *.svclog
99 | *.scc
100 |
101 | # Chutzpah Test files
102 | _Chutzpah*
103 |
104 | # Visual C++ cache files
105 | ipch/
106 | *.aps
107 | *.ncb
108 | *.opendb
109 | *.opensdf
110 | *.sdf
111 | *.cachefile
112 | *.VC.db
113 | *.VC.VC.opendb
114 |
115 | # Visual Studio profiler
116 | *.psess
117 | *.vsp
118 | *.vspx
119 | *.sap
120 |
121 | # Visual Studio Trace Files
122 | *.e2e
123 |
124 | # TFS 2012 Local Workspace
125 | $tf/
126 |
127 | # Guidance Automation Toolkit
128 | *.gpState
129 |
130 | # ReSharper is a .NET coding add-in
131 | _ReSharper*/
132 | *.[Rr]e[Ss]harper
133 | *.DotSettings.user
134 |
135 | # TeamCity is a build add-in
136 | _TeamCity*
137 |
138 | # DotCover is a Code Coverage Tool
139 | *.dotCover
140 |
141 | # AxoCover is a Code Coverage Tool
142 | .axoCover/*
143 | !.axoCover/settings.json
144 |
145 | # Coverlet is a free, cross platform Code Coverage Tool
146 | coverage*.json
147 | coverage*.xml
148 | coverage*.info
149 |
150 | # Visual Studio code coverage results
151 | *.coverage
152 | *.coveragexml
153 |
154 | # NCrunch
155 | _NCrunch_*
156 | .*crunch*.local.xml
157 | nCrunchTemp_*
158 |
159 | # MightyMoose
160 | *.mm.*
161 | AutoTest.Net/
162 |
163 | # Web workbench (sass)
164 | .sass-cache/
165 |
166 | # Installshield output folder
167 | [Ee]xpress/
168 |
169 | # DocProject is a documentation generator add-in
170 | DocProject/buildhelp/
171 | DocProject/Help/*.HxT
172 | DocProject/Help/*.HxC
173 | DocProject/Help/*.hhc
174 | DocProject/Help/*.hhk
175 | DocProject/Help/*.hhp
176 | DocProject/Help/Html2
177 | DocProject/Help/html
178 |
179 | # Click-Once directory
180 | publish/
181 |
182 | # Publish Web Output
183 | *.[Pp]ublish.xml
184 | *.azurePubxml
185 | # Note: Comment the next line if you want to checkin your web deploy settings,
186 | # but database connection strings (with potential passwords) will be unencrypted
187 | *.pubxml
188 | *.publishproj
189 |
190 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
191 | # checkin your Azure Web App publish settings, but sensitive information contained
192 | # in these scripts will be unencrypted
193 | PublishScripts/
194 |
195 | # NuGet Packages
196 | *.nupkg
197 | # NuGet Symbol Packages
198 | *.snupkg
199 | # The packages folder can be ignored because of Package Restore
200 | **/[Pp]ackages/*
201 | # except build/, which is used as an MSBuild target.
202 | !**/[Pp]ackages/build/
203 | # Uncomment if necessary however generally it will be regenerated when needed
204 | #!**/[Pp]ackages/repositories.config
205 | # NuGet v3's project.json files produces more ignorable files
206 | *.nuget.props
207 | *.nuget.targets
208 |
209 | # Microsoft Azure Build Output
210 | csx/
211 | *.build.csdef
212 |
213 | # Microsoft Azure Emulator
214 | ecf/
215 | rcf/
216 |
217 | # Windows Store app package directories and files
218 | AppPackages/
219 | BundleArtifacts/
220 | Package.StoreAssociation.xml
221 | _pkginfo.txt
222 | *.appx
223 | *.appxbundle
224 | *.appxupload
225 |
226 | # Visual Studio cache files
227 | # files ending in .cache can be ignored
228 | *.[Cc]ache
229 | # but keep track of directories ending in .cache
230 | !?*.[Cc]ache/
231 |
232 | # Others
233 | ClientBin/
234 | ~$*
235 | *~
236 | *.dbmdl
237 | *.dbproj.schemaview
238 | *.jfm
239 | *.pfx
240 | *.publishsettings
241 | orleans.codegen.cs
242 |
243 | # Including strong name files can present a security risk
244 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
245 | #*.snk
246 |
247 | # Since there are multiple workflows, uncomment next line to ignore bower_components
248 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
249 | #bower_components/
250 |
251 | # RIA/Silverlight projects
252 | Generated_Code/
253 |
254 | # Backup & report files from converting an old project file
255 | # to a newer Visual Studio version. Backup files are not needed,
256 | # because we have git ;-)
257 | _UpgradeReport_Files/
258 | Backup*/
259 | UpgradeLog*.XML
260 | UpgradeLog*.htm
261 | ServiceFabricBackup/
262 | *.rptproj.bak
263 |
264 | # SQL Server files
265 | *.mdf
266 | *.ldf
267 | *.ndf
268 |
269 | # Business Intelligence projects
270 | *.rdl.data
271 | *.bim.layout
272 | *.bim_*.settings
273 | *.rptproj.rsuser
274 | *- [Bb]ackup.rdl
275 | *- [Bb]ackup ([0-9]).rdl
276 | *- [Bb]ackup ([0-9][0-9]).rdl
277 |
278 | # Microsoft Fakes
279 | FakesAssemblies/
280 |
281 | # GhostDoc plugin setting file
282 | *.GhostDoc.xml
283 |
284 | # Node.js Tools for Visual Studio
285 | .ntvs_analysis.dat
286 | node_modules/
287 |
288 | # Visual Studio 6 build log
289 | *.plg
290 |
291 | # Visual Studio 6 workspace options file
292 | *.opt
293 |
294 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
295 | *.vbw
296 |
297 | # Visual Studio 6 auto-generated project file (contains which files were open etc.)
298 | *.vbp
299 |
300 | # Visual Studio 6 workspace and project file (working project files containing files to include in project)
301 | *.dsw
302 | *.dsp
303 |
304 | # Visual Studio 6 technical files
305 | *.ncb
306 | *.aps
307 |
308 | # Visual Studio LightSwitch build output
309 | **/*.HTMLClient/GeneratedArtifacts
310 | **/*.DesktopClient/GeneratedArtifacts
311 | **/*.DesktopClient/ModelManifest.xml
312 | **/*.Server/GeneratedArtifacts
313 | **/*.Server/ModelManifest.xml
314 | _Pvt_Extensions
315 |
316 | # Paket dependency manager
317 | .paket/paket.exe
318 | paket-files/
319 |
320 | # FAKE - F# Make
321 | .fake/
322 |
323 | # CodeRush personal settings
324 | .cr/personal
325 |
326 | # Python Tools for Visual Studio (PTVS)
327 | __pycache__/
328 | *.pyc
329 |
330 | # Cake - Uncomment if you are using it
331 | # tools/**
332 | # !tools/packages.config
333 |
334 | # Tabs Studio
335 | *.tss
336 |
337 | # Telerik's JustMock configuration file
338 | *.jmconfig
339 |
340 | # BizTalk build output
341 | *.btp.cs
342 | *.btm.cs
343 | *.odx.cs
344 | *.xsd.cs
345 |
346 | # OpenCover UI analysis results
347 | OpenCover/
348 |
349 | # Azure Stream Analytics local run output
350 | ASALocalRun/
351 |
352 | # MSBuild Binary and Structured Log
353 | *.binlog
354 |
355 | # NVidia Nsight GPU debugger configuration file
356 | *.nvuser
357 |
358 | # MFractors (Xamarin productivity tool) working folder
359 | .mfractor/
360 |
361 | # Local History for Visual Studio
362 | .localhistory/
363 |
364 | # Visual Studio History (VSHistory) files
365 | .vshistory/
366 |
367 | # BeatPulse healthcheck temp database
368 | healthchecksdb
369 |
370 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
371 | MigrationBackup/
372 |
373 | # Ionide (cross platform F# VS Code tools) working folder
374 | .ionide/
375 |
376 | # Fody - auto-generated XML schema
377 | FodyWeavers.xsd
378 |
379 | # VS Code files for those working on multiple tools
380 | .vscode/*
381 | !.vscode/settings.json
382 | !.vscode/tasks.json
383 | !.vscode/launch.json
384 | !.vscode/extensions.json
385 | *.code-workspace
386 |
387 | # Local History for Visual Studio Code
388 | .history/
389 |
390 | # Windows Installer files from build outputs
391 | *.cab
392 | *.msi
393 | *.msix
394 | *.msm
395 | *.msp
396 |
397 | # JetBrains Rider
398 | *.sln.iml
399 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Mono auto generated files
17 | mono_crash.*
18 |
19 | # Build results
20 | [Dd]ebug/
21 | [Dd]ebugPublic/
22 | [Rr]elease/
23 | [Rr]eleases/
24 | x64/
25 | x86/
26 | [Ww][Ii][Nn]32/
27 | [Aa][Rr][Mm]/
28 | [Aa][Rr][Mm]64/
29 | bld/
30 | [Bb]in/
31 | [Oo]bj/
32 | [Ll]og/
33 | [Ll]ogs/
34 |
35 | # Visual Studio 2015/2017 cache/options directory
36 | .vs/
37 | # Uncomment if you have tasks that create the project's static files in wwwroot
38 | #wwwroot/
39 |
40 | # Visual Studio 2017 auto generated files
41 | Generated\ Files/
42 |
43 | # MSTest test Results
44 | [Tt]est[Rr]esult*/
45 | [Bb]uild[Ll]og.*
46 |
47 | # NUnit
48 | *.VisualState.xml
49 | TestResult.xml
50 | nunit-*.xml
51 |
52 | # Build Results of an ATL Project
53 | [Dd]ebugPS/
54 | [Rr]eleasePS/
55 | dlldata.c
56 |
57 | # Benchmark Results
58 | BenchmarkDotNet.Artifacts/
59 |
60 | # .NET Core
61 | project.lock.json
62 | project.fragment.lock.json
63 | artifacts/
64 |
65 | # ASP.NET Scaffolding
66 | ScaffoldingReadMe.txt
67 |
68 | # StyleCop
69 | StyleCopReport.xml
70 |
71 | # Files built by Visual Studio
72 | *_i.c
73 | *_p.c
74 | *_h.h
75 | *.ilk
76 | *.meta
77 | *.obj
78 | *.iobj
79 | *.pch
80 | *.pdb
81 | *.ipdb
82 | *.pgc
83 | *.pgd
84 | *.rsp
85 | *.sbr
86 | *.tlb
87 | *.tli
88 | *.tlh
89 | *.tmp
90 | *.tmp_proj
91 | *_wpftmp.csproj
92 | *.log
93 | *.tlog
94 | *.vspscc
95 | *.vssscc
96 | .builds
97 | *.pidb
98 | *.svclog
99 | *.scc
100 |
101 | # Chutzpah Test files
102 | _Chutzpah*
103 |
104 | # Visual C++ cache files
105 | ipch/
106 | *.aps
107 | *.ncb
108 | *.opendb
109 | *.opensdf
110 | *.sdf
111 | *.cachefile
112 | *.VC.db
113 | *.VC.VC.opendb
114 |
115 | # Visual Studio profiler
116 | *.psess
117 | *.vsp
118 | *.vspx
119 | *.sap
120 |
121 | # Visual Studio Trace Files
122 | *.e2e
123 |
124 | # TFS 2012 Local Workspace
125 | $tf/
126 |
127 | # Guidance Automation Toolkit
128 | *.gpState
129 |
130 | # ReSharper is a .NET coding add-in
131 | _ReSharper*/
132 | *.[Rr]e[Ss]harper
133 | *.DotSettings.user
134 |
135 | # TeamCity is a build add-in
136 | _TeamCity*
137 |
138 | # DotCover is a Code Coverage Tool
139 | *.dotCover
140 |
141 | # AxoCover is a Code Coverage Tool
142 | .axoCover/*
143 | !.axoCover/settings.json
144 |
145 | # Coverlet is a free, cross platform Code Coverage Tool
146 | coverage*.json
147 | coverage*.xml
148 | coverage*.info
149 |
150 | # Visual Studio code coverage results
151 | *.coverage
152 | *.coveragexml
153 |
154 | # NCrunch
155 | _NCrunch_*
156 | .*crunch*.local.xml
157 | nCrunchTemp_*
158 |
159 | # MightyMoose
160 | *.mm.*
161 | AutoTest.Net/
162 |
163 | # Web workbench (sass)
164 | .sass-cache/
165 |
166 | # Installshield output folder
167 | [Ee]xpress/
168 |
169 | # DocProject is a documentation generator add-in
170 | DocProject/buildhelp/
171 | DocProject/Help/*.HxT
172 | DocProject/Help/*.HxC
173 | DocProject/Help/*.hhc
174 | DocProject/Help/*.hhk
175 | DocProject/Help/*.hhp
176 | DocProject/Help/Html2
177 | DocProject/Help/html
178 |
179 | # Click-Once directory
180 | publish/
181 |
182 | # Publish Web Output
183 | *.[Pp]ublish.xml
184 | *.azurePubxml
185 | # Note: Comment the next line if you want to checkin your web deploy settings,
186 | # but database connection strings (with potential passwords) will be unencrypted
187 | *.pubxml
188 | *.publishproj
189 |
190 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
191 | # checkin your Azure Web App publish settings, but sensitive information contained
192 | # in these scripts will be unencrypted
193 | PublishScripts/
194 |
195 | # NuGet Packages
196 | *.nupkg
197 | # NuGet Symbol Packages
198 | *.snupkg
199 | # The packages folder can be ignored because of Package Restore
200 | **/[Pp]ackages/*
201 | # except build/, which is used as an MSBuild target.
202 | !**/[Pp]ackages/build/
203 | # Uncomment if necessary however generally it will be regenerated when needed
204 | #!**/[Pp]ackages/repositories.config
205 | # NuGet v3's project.json files produces more ignorable files
206 | *.nuget.props
207 | *.nuget.targets
208 |
209 | # Microsoft Azure Build Output
210 | csx/
211 | *.build.csdef
212 |
213 | # Microsoft Azure Emulator
214 | ecf/
215 | rcf/
216 |
217 | # Windows Store app package directories and files
218 | AppPackages/
219 | BundleArtifacts/
220 | Package.StoreAssociation.xml
221 | _pkginfo.txt
222 | *.appx
223 | *.appxbundle
224 | *.appxupload
225 |
226 | # Visual Studio cache files
227 | # files ending in .cache can be ignored
228 | *.[Cc]ache
229 | # but keep track of directories ending in .cache
230 | !?*.[Cc]ache/
231 |
232 | # Others
233 | ClientBin/
234 | ~$*
235 | *~
236 | *.dbmdl
237 | *.dbproj.schemaview
238 | *.jfm
239 | *.pfx
240 | *.publishsettings
241 | orleans.codegen.cs
242 |
243 | # Including strong name files can present a security risk
244 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
245 | #*.snk
246 |
247 | # Since there are multiple workflows, uncomment next line to ignore bower_components
248 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
249 | #bower_components/
250 |
251 | # RIA/Silverlight projects
252 | Generated_Code/
253 |
254 | # Backup & report files from converting an old project file
255 | # to a newer Visual Studio version. Backup files are not needed,
256 | # because we have git ;-)
257 | _UpgradeReport_Files/
258 | Backup*/
259 | UpgradeLog*.XML
260 | UpgradeLog*.htm
261 | ServiceFabricBackup/
262 | *.rptproj.bak
263 |
264 | # SQL Server files
265 | *.mdf
266 | *.ldf
267 | *.ndf
268 |
269 | # Business Intelligence projects
270 | *.rdl.data
271 | *.bim.layout
272 | *.bim_*.settings
273 | *.rptproj.rsuser
274 | *- [Bb]ackup.rdl
275 | *- [Bb]ackup ([0-9]).rdl
276 | *- [Bb]ackup ([0-9][0-9]).rdl
277 |
278 | # Microsoft Fakes
279 | FakesAssemblies/
280 |
281 | # GhostDoc plugin setting file
282 | *.GhostDoc.xml
283 |
284 | # Node.js Tools for Visual Studio
285 | .ntvs_analysis.dat
286 | node_modules/
287 |
288 | # Visual Studio 6 build log
289 | *.plg
290 |
291 | # Visual Studio 6 workspace options file
292 | *.opt
293 |
294 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
295 | *.vbw
296 |
297 | # Visual Studio 6 auto-generated project file (contains which files were open etc.)
298 | *.vbp
299 |
300 | # Visual Studio 6 workspace and project file (working project files containing files to include in project)
301 | *.dsw
302 | *.dsp
303 |
304 | # Visual Studio 6 technical files
305 | *.ncb
306 | *.aps
307 |
308 | # Visual Studio LightSwitch build output
309 | **/*.HTMLClient/GeneratedArtifacts
310 | **/*.DesktopClient/GeneratedArtifacts
311 | **/*.DesktopClient/ModelManifest.xml
312 | **/*.Server/GeneratedArtifacts
313 | **/*.Server/ModelManifest.xml
314 | _Pvt_Extensions
315 |
316 | # Paket dependency manager
317 | .paket/paket.exe
318 | paket-files/
319 |
320 | # FAKE - F# Make
321 | .fake/
322 |
323 | # CodeRush personal settings
324 | .cr/personal
325 |
326 | # Python Tools for Visual Studio (PTVS)
327 | __pycache__/
328 | *.pyc
329 |
330 | # Cake - Uncomment if you are using it
331 | # tools/**
332 | # !tools/packages.config
333 |
334 | # Tabs Studio
335 | *.tss
336 |
337 | # Telerik's JustMock configuration file
338 | *.jmconfig
339 |
340 | # BizTalk build output
341 | *.btp.cs
342 | *.btm.cs
343 | *.odx.cs
344 | *.xsd.cs
345 |
346 | # OpenCover UI analysis results
347 | OpenCover/
348 |
349 | # Azure Stream Analytics local run output
350 | ASALocalRun/
351 |
352 | # MSBuild Binary and Structured Log
353 | *.binlog
354 |
355 | # NVidia Nsight GPU debugger configuration file
356 | *.nvuser
357 |
358 | # MFractors (Xamarin productivity tool) working folder
359 | .mfractor/
360 |
361 | # Local History for Visual Studio
362 | .localhistory/
363 |
364 | # Visual Studio History (VSHistory) files
365 | .vshistory/
366 |
367 | # BeatPulse healthcheck temp database
368 | healthchecksdb
369 |
370 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
371 | MigrationBackup/
372 |
373 | # Ionide (cross platform F# VS Code tools) working folder
374 | .ionide/
375 |
376 | # Fody - auto-generated XML schema
377 | FodyWeavers.xsd
378 |
379 | # VS Code files for those working on multiple tools
380 | .vscode/*
381 | !.vscode/settings.json
382 | !.vscode/tasks.json
383 | !.vscode/launch.json
384 | !.vscode/extensions.json
385 | *.code-workspace
386 |
387 | # Local History for Visual Studio Code
388 | .history/
389 |
390 | # Windows Installer files from build outputs
391 | *.cab
392 | *.msi
393 | *.msix
394 | *.msm
395 | *.msp
396 |
397 | # JetBrains Rider
398 | *.sln.iml
399 |
400 |
401 | #Artifacts
402 | Artifacts/
403 |
404 |
405 | # Default ignored files
406 | /shelf/
407 | /workspace.xml
408 | # Rider ignored files
409 | /.idea.RevitAddinTemplate.Multiversion.iml
410 | /modules.xml
411 | /contentModel.xml
412 | /projectSettingsUpdater.xml
413 | # Editor-based HTTP Client requests
414 | /httpRequests/
415 | # Datasource local storage ignored files
416 | /dataSources/
417 | /dataSources.local.xml
418 |
--------------------------------------------------------------------------------
/RevitAddinTemplate.Multiversion/ProjectTemplate.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 | x64
7 | {00000000-0000-0000-0000-000000000000}
8 | Library
9 | Properties
10 | $safeprojectname$
11 | $safeprojectname$
12 | net47
13 | 512
14 | true
15 |
16 | latest
17 |
18 |
19 | Debug;Release;R2020;R2021;R2022;R2023;R2024;R2025;R2026
20 |
21 |
22 |
23 | true
24 | full
25 | false
26 | bin\R2020\
27 | DEBUG;R2020
28 | net47
29 | $(AssemblyName)
30 | 2020
31 | latest
32 | prompt
33 | 4
34 | Program
35 | $(ProgramW6432)\Autodesk\Revit 2020\Revit.exe
36 | false
37 | false
38 |
39 |
40 |
41 | true
42 | full
43 | false
44 | bin\R2021\
45 | DEBUG;R2021
46 | net48
47 | $(AssemblyName)
48 | 2021
49 | 4
50 | latest
51 | Program
52 | $(ProgramW6432)\Autodesk\Revit 2021\Revit.exe
53 | false
54 | false
55 |
56 |
57 |
58 | true
59 | full
60 | false
61 | bin\R2022\
62 | DEBUG;R2022
63 | net48
64 | $(AssemblyName)
65 | 2022
66 | 4
67 | latest
68 | Program
69 | $(ProgramW6432)\Autodesk\Revit 2022\Revit.exe
70 | false
71 | false
72 |
73 |
74 |
75 | true
76 | full
77 | false
78 | bin\R2023\
79 | DEBUG;R2023
80 | net48
81 | $(AssemblyName)
82 | 2023
83 | 4
84 | latest
85 | Program
86 | $(ProgramW6432)\Autodesk\Revit 2023\Revit.exe
87 | false
88 | false
89 |
90 |
91 |
92 | true
93 | full
94 | false
95 | bin\R2024\
96 | DEBUG;R2024
97 | net48
98 | $(AssemblyName)
99 | 2024
100 | 4
101 | latest
102 | Program
103 | $(ProgramW6432)\Autodesk\Revit 2024\Revit.exe
104 | false
105 | false
106 |
107 |
108 |
109 | true
110 | full
111 | false
112 | bin\R2025\
113 | DEBUG;R2025
114 | net8.0-windows
115 | $(AssemblyName)
116 | 2025
117 | 4
118 | latest
119 | Program
120 | $(ProgramW6432)\Autodesk\Revit 2025\Revit.exe
121 | false
122 | false
123 | true
124 |
125 |
126 |
127 | true
128 | full
129 | false
130 | bin\R2026\
131 | DEBUG;R2026
132 | net8.0-windows
133 | $(AssemblyName)
134 | 2026
135 | 4
136 | latest
137 | Program
138 | $(ProgramW6432)\Autodesk\Revit 2026\Revit.exe
139 | false
140 | false
141 | true
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 | Always
209 |
210 |
211 |
212 |
213 |
214 |
215 |
216 |
217 |
218 |
219 |
--------------------------------------------------------------------------------