Message 1 of 9
PackageContents.xml - Is there a way to group shared files instead of copying them for each Revit version?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This is our PackageContents.xml file:
<?xml version="1.0" encoding="utf-8" ?>
<ApplicationPackage>
<Components Description="Revit 2019">
<RuntimeRequirements OS="Win64" Platform="Revit" SeriesMin="R2019" SeriesMax="R2019" />
<ComponentEntry ModuleName="./Contents/2019/Name.addin" />
</Components>
<Components Description="Revit 2020">
<RuntimeRequirements OS="Win64" Platform="Revit" SeriesMin="R2020" SeriesMax="R2020" />
<ComponentEntry ModuleName="./Contents/2020/Name.addin" />
</Components>
<Components Description="Revit 2021">
<RuntimeRequirements OS="Win64" Platform="Revit" SeriesMin="R2021" SeriesMax="R2021" />
<ComponentEntry ModuleName="./Contents/2021/Name.addin" />
</Components>
<Components Description="Revit 2022">
<RuntimeRequirements OS="Win64" Platform="Revit" SeriesMin="R2022" SeriesMax="R2022" />
<ComponentEntry ModuleName="./Contents/2022/Name.addin" />
</Components>
<Components Description="Revit 2023">
<RuntimeRequirements OS="Win64" Platform="Revit" SeriesMin="R2023" SeriesMax="R2023" />
<ComponentEntry ModuleName="./Contents/2023/Name.addin" />
</Components>
</ApplicationPackage>
We have some shared dll's that are used in each of those versions. Our goal is to create a Shared directory that would be used by all components, so that we can include only 1 copy instead of 5 copies of each shared dll. Is this doable with PackageContents.xml?