Select to view content in your preferred language

Redistributing C:\Program Files\ESRI SDKs\*

529
1
08-24-2010 10:30 AM
RichardWatson
Deactivated User
I have an application that has components that run in Desktop and Server.  The components depend on the WPF assemblies in C:\Program Files\ESRI SDKs\WPF\v2.0\DotNet35.  Do I redistribute these assemblies with my application and install them in the GAC?  I need them in the GAC because my components are in the GAC.

I also have a SilverLight application that depends on the assemblies in C:\Program Files\ESRI SDKs\Silverlight\v2.0.  I assume that I can redistribute these with my SilverLight application.  Please correct me if I misunderstand.
0 Kudos
1 Reply
dotMorten_esri
Esri Notable Contributor
I have an application that has components that run in Desktop and Server. The components depend on the WPF assemblies in C:\Program Files\ESRI SDKs\WPF\v2.0\DotNet35. Do I redistribute these assemblies with my application and install them in the GAC? I need them in the GAC because my components are in the GAC.

Yes, but if I were you, I would try and avoid GAC at all costs.

I also have a SilverLight application that depends on the assemblies in C:\Program Files\ESRI SDKs\Silverlight\v2.0. I assume that I can redistribute these with my SilverLight application. Please correct me if I misunderstand.

When you build your Silverlight application, a .xap file is generated and this already contains the assemblies needed. So just focus on putting the .xap file up on your webserver (it actually contains the esri assemblies if you referenced them in your project).
0 Kudos