As a default location, we’ll be using All user location to place the add-in manifest:
The plug-in files will be contained in a specific folder called “.bundle” and a PackageContents.xml file (created by the installer we create for your app) will be stored within this .bundle folder together with the contents that you need for your application:
PackageContents.xml contains the following xml tag (among other tags that controls the information of about the installer), and further points to your .addin manifest within your bundle folder.
Revit 2018/2019/2020/2021/2022 looks into the contents of the .bundle folder, read the PackageContents.xml file and look for “ModuleName” or the location of .addin file that further defines Revit specific information about plug-ins.
As an example, if you place your .addin manifest and assembly dll under the Contents folder, your folder structure may look like this with the above xml tag:
To see how the installed app looks, you can download some of the free plug-ins already available on the Autodesk App Store and study their format.