Hi, I am trying to support localization for my Managed BA. I generated pseudo 
localized satellite assembly for en-US.

Modified bundle.wxs to include satellite resource dll
<Payload 
SourceFile="..\Translation\lib\Release\en-US\Agilent.OpenLAB.Installation.resources.dll"
 Name="1033\Agilent.OpenLAB.Installation.resources.dll"/>

But I get the error when I run my BA (See below). What am I doing wrong?

I even tried to build my BA with compressed property set to "no" on the 
resource dll payload to see if the file is copied to language specific folder, 
but that didn't work either.
Thanks

[101B4:10244][2014-11-07T14:30:19]e000: System.Xaml.XamlObjectWriterException: 
The invocation of the constructor on type 
'Agilent.OpenLAB.Installation.Pages.License.LicensePage' that matches the 
specified binding constraints threw an exception. ---> 
System.Resources.MissingSatelliteAssemblyException: The satellite assembly 
named "Agilent.OpenLAB.Installation.resources.dll, 
PublicKeyToken=968ccb9b2a5fe74" for fallback culture "en-US" either could not 
be found or could not be loaded. This is generally a setup problem. Please 
consider reinstalling or repairing the application.
   at System.Resources.ManifestBasedResourceGroveler.HandleSatelliteMissing()
   at 
System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo 
culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean 
createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo 
requestedCulture, Boolean createIfNotExists, Boolean tryParents, 
StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo 
culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetResourceSet(CultureInfo culture, 
Boolean createIfNotExists, Boolean tryParents)
   at MS.Internal.Resources.ResourceManagerWrapper.get_ResourceSet()
   at MS.Internal.Resources.ResourceManagerWrapper.GetStream(String name)
   at MS.Internal.AppModel.ResourcePart.EnsureResourceLocationSet()
   at MS.Internal.AppModel.ResourcePart.GetContentTypeCore()
   at System.IO.Packaging.PackagePart.get_ContentType()
   at System.Windows.Application.LoadComponent(Object component, Uri 
resourceLocator)
   at 
Agilent.OpenLAB.Installation.Pages.License.WelcomePageView.InitializeComponent()
   at Agilent.OpenLAB.Installation.Pages.License.LicensePage..ctor()
   --- End of inner exception stack trace ---
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to