How to change Target Version

1050
3
09-22-2016 07:32 AM
TedChapin
Occasional Contributor III

I have a Visual Studio project that I started at version 1.2 of Pro and the SDK. I have since upgraded the SDK to 1.3, but when I deploy the add-in the information displayed in Pro's Add-In Manager says the Target Version is 1.2.  Where in the Visual Studio Project do I change the target Pro version?

Tags (1)
0 Kudos
3 Replies
Wolf
by Esri Regular Contributor
Esri Regular Contributor

Hi Ted, 
 To change the target version you have to change the desktopVersion attribute of the AddInInfo tag in your config.daml file.  You can replace your current desktopVersion value with "1.3".



0 Kudos
TedChapin
Occasional Contributor III

Thanks wkaiser-esristaff‌ I thought there would be more to it than that!

0 Kudos
Wolf
by Esri Regular Contributor
Esri Regular Contributor

The main intend for the desktopVersion attribute is ensure add-in compatibility with Pro.  The version ensures that you are not using an add-in with an old version of Pro (let's say 1.2), when the add-in was built using a newer version of Pro (let's say 1.3 or 1.4 beta).  The old 1.2 version of Pro cannot run the 1.3 add-in because the 1.3 API changed (was added on to) and has additional functionality.

0 Kudos