Limiting addin to specific multiple releases

Limiting addin to specific multiple releases

LukeDavenport
Collaborator Collaborator
464 Views
3 Replies
Message 1 of 4

Limiting addin to specific multiple releases

LukeDavenport
Collaborator
Collaborator

 

Hi,

 

I need to limit an addin to only load for Inventor releases 2014 and 2015. Referring to Adam Nagy's helpful blog here:

 

http://adndevblog.typepad.com/manufacturing/2014/09/addin-file-version-information-.html

 

According to this blog I should be able to use the following entry in the .addin file to achieve this.

 

  <SupportedSoftwareVersionEqualTo>14..;15..</SupportedSoftwareVersionEqualTo>

 

But this causes the addin to fail to load completely. Am I missing something simple with the syntax here? Is it different from the old registry method syntax for specifying multiple releases?

 

Many thanks for any help.

Luke

0 Likes
Accepted solutions (1)
465 Views
3 Replies
Replies (3)
Message 2 of 4

rjay75
Collaborator
Collaborator
Accepted solution

It needs to be. 

 

Use both together

<SupportedSoftwareVersionGreaterThan>17..</SupportedSoftwareVersionGreaterThan><SupportedSoftwareVersionLessThan>20..</SupportedSoftwareLessGreaterThan>

2014 = 18

2015 = 19

 

Message 3 of 4

LukeDavenport
Collaborator
Collaborator

Rodney thats brilliant. Many thanks for the quick reply, will try this.

Luke

0 Likes
Message 4 of 4

LukeDavenport
Collaborator
Collaborator

It works. Excellent skills.

0 Likes