Have another add-in (latest version) as another add-in's dependency

EnderHDMCEnderHDMC ZAMember
edited January 2017 in Visual Studio

I'm trying to add MonoDevelop.AddinMaker as a dependency for my add-in but I can't seem to figure out a way to have the version not hard-coded.
What I want is something like:

[assembly: AddinDependency("::MonoDevelop.Ide", MonoDevelop.BuildInfo.Version)]

since that uses a constant.
Is there a add-in way of getting the latest version.
Right now I have this:
[assembly: AddinDependency("::MonoDevelop.AddinMaker", "1.3.2")]

But I don't want the "1.3.2" part, I want it to get the latest version if possible.



  • mattwardmattward GBMember Xamurai

    Your addin can only specify a single version that it depends on. This information is stored in an attribute so it is a fixed version until the addin is recompiled again. The version is the minimum version that is needed. You do not need to set it to the latest.

  • EnderHDMCEnderHDMC ZAMember

    Ok, thank you.

Sign In or Register to comment.