Skip to content

Pro 2.4 AddinInfo #10

@steveoh

Description

@steveoh
var addin_infos = FrameworkApplication.GetAddInInfos();

      StringBuilder sb = new StringBuilder();

 

      foreach(var info in addin_infos)

      {

        sb.AppendLine($"Addin: {info.Name}");

        sb.AppendLine($"Description {info.Description}");

        sb.AppendLine($"ImagePath {info.ImagePath}");

        sb.AppendLine($"Author {info.Author}");

        sb.AppendLine($"Company {info.Company}");

        sb.AppendLine($"Date {info.Date}");

        sb.AppendLine($"Version {info.Version}");//Addin version

        sb.AppendLine($"FullPath {info.FullPath}");

        sb.AppendLine($"DigitalSignature {info.DigitalSignature}");

        sb.AppendLine($"IsCompatible {info.IsCompatible}");

        sb.AppendLine($"IsDeleted {info.IsDeleted}");

        sb.AppendLine($"TargetVersion {info.TargetVersion}");//Pro minimum version

        sb.AppendLine($"ErrorMsg {info.ErrorMsg}");

        sb.AppendLine($"ID {info.ID}");

        sb.AppendLine("");

      }

This should be replace the weird daml parsing to get the version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions