setup project and satelitte assembly

I have problem in build setup project. I have SomeExeProject that have referense to 3party multilanguage assembly, it placed on some net share like \\someWarehouse\3partyAssembly.dll
So when i build SomeExeProject, it copy to bin folders like ru-RU/3partyAssembly.resource.dll and it works fine.
But when i create setup project(SomeSetup) for SomeExeProject and add PrimaryOutput of SomeExeProject and Localized resources of SomeExeProject it not copy to msi folders ru-RU/3partyAssembly.resource.dll
And so when i run SomeExe installed from SomeSetup it not work, because application can't find ru-RU/3partyAssembly.resource.dll.
I can add File (ru-RU/3partyAssembly.resource.dll) because 3partyAssembly periodically changed and Setup Project is build automatically.



Answer this question

setup project and satelitte assembly

  • SmartBrains

    I can't add File because 3-party dll may changed and the final relise it placed on share. So if i add library to project root i'l must change this files every time then library changed. But i want once write stup and it automatically build every nigth and automatically pack newest 3party dlld.

  • TWild

    I think that the problem is that the satellite assemblies are just not being reported to the setup project via the Localized resources project output group. The localized resource project output group reports the localized resources of the project itself, not it's dependencies.

    The workaround will be to add the localized resources as files. Create the folder structure in the File System Editor, and then right-click and select "Add File". I'd navigate to the location of the 3rdPartyAssembly and it's satellite resources rather than SomeExeProject's output directory.

    Since you have those files on a share, it might be better to copy them to a folder under your project root.

    HTH



  • Mehmet Erdogdu

    You are right about the fact that if the files change you will need to update the files you are pointing to. But, you can do "Add File" and point to the UNC share and whenever you build it will pick up the files from the share, as long as it is available.



  • setup project and satelitte assembly