Best practice to insert additional files into AddInX file?

2486
1
11-17-2015 04:05 AM
JörgEbert
New Contributor II

What is the best practice to insert additional files into AddInX file during Visual Studio postbuild process?
The AddIn/the assembly has a WPF resources file to toggle button images. Visual Studio build process recreates the resource file  ..\obj\Debug

\MyAssembly.g.resources. But this file will not automaticly inserted in the Esri AddinX file.
The WPF resource file is only a example, my be it is necessray to share also a help file, other assemblies or a folder with any files with the AddIn.

Is it the only way, to modify the AddInX file in a additional postbuild process for example with 7-Zip? Is it possible to configure

proapp_sdk_MSBuild.PackageAddIn or is there a possibility of another?

0 Kudos
1 Reply
CharlesMacleod
Esri Regular Contributor

Hi Jorg,

I think you will find what you are after here: https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-content-and-image-resources#document-content, "ProGuide Content and Image Resources" section "Document Content"

Please let me know if you have other questions

0 Kudos