Select to view content in your preferred language

C++ Runtime Dependencies

06-30-2021 07:48 PM
Occasional Contributor

If anyone has been looking for the best way to deploy the C++ Runtime with your esri Runtime WPF app, here's the content we brought into our app package. We copy from these locations:

C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x86\*

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.CRT*

C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x64\*

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x64\Microsoft.VC140.CRT*

32-bit files go into the ArcGISRuntime100.11\client32 folder. 64-bit files go into the ArcGISRuntime100.11\client64 folder.

2 Replies
Esri Frequent Contributor

Hi Jeremy,

Thanks for sharing this info. A local deployment of the C++ Runtime dependencies is good if you want absolute control over the version that is used by your application. Note you're then responsible for keeping it up to date, in contrast to the central deployment which is serviced by Windows Update. 

If our deployment guide topic is lacking any detail, please let us know and we'll be delighted to address the gap.





0 Kudos
Occasional Contributor

Indeed. We plan to maintain this dependency through our trust in Microsoft's build agents, used from within Azure DevOps. Should be pretty reliable.

As for the Runtime docs, I would ask that "Local install" is explained a bit more. I knew what that meant, but I'm not sure all Runtime developers would. Microsoft is un-helpful there too. But, at least the esri docs could refer to Microsoft's docs on the matter.

0 Kudos