How to change Target Version

999
3
09-22-2016 07:32 AM
Highlighted
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)
Reply
0 Kudos
3 Replies
Highlighted
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".



Reply
0 Kudos
Highlighted
Occasional Contributor III

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

Reply
0 Kudos
Highlighted
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.

Reply
0 Kudos