ImportProjectFileWithDependencies Method
Imports a project file into the repository and returns the ID of the created repository item. Unlike
ImportProjectFile, this method will load the project via DOM (see also
combit.Reporting.Dom Namespace) and exchange all references to local files (e.g. images) with repository items for those files. Furthermore this method recursively loads all referenced project files (e.g. for drilldown, includes, table of contents, ...) in the same way and also imports their dependencies into the repository. This method call may be expensive, however the imported project should be ready to use from just the repository without needing any local files anymore. When importing multiple files, always use the same instance of the
RepositoryImportUtil so already imported files are reused.
Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9