Including Symbol dll in Smart Device CAB Project

My Visual Studio 2005 project references symbol dll files in C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\Symbol Technologies.

I have them copied to a local folder under my solution folder, along with some other 3rd-party dlls. They are set to Copy Local when I include them in the Visual Studio project.

I don't understand why the Symbol dlls are not included with the "Primary output from ASF.BlueWave.BarcodeCF.UI" in the Smart Device CAB Project

The other 3rd-part dlls apeared magically in the File System Editor, but not the Symbol dlls. They all show up under Detected Dependencies along with the .NET framework dlls.

When the user tries to run my program, he sees: File or assembly name 'Symbol.Barcode, Version=1.4.1.1, Culture=neutral, PublicKeyToken=68EC8DB391F150CA or one of its dependencies, was not found.

It's a Compact Framework 2 project on a Symbol MC9090 Pocket PC running Windows Mobile 5.0.
Thanks.




Answer this question

Including Symbol dll in Smart Device CAB Project

  • Sarwanan

    Ilya,

    A related yet unrelated question: how does one register a dll as being part of another cab so that by default it does not get added to dependent projects, much like the Compact Framework dll's and Symbol DLL's I assume the same mechanism will install the CAB file that contains the redistributable during deployment if it is not already present but haven't found where the documentation on this is hidden.

    Steve


  • m_nille

    I ran into this for the first time today and fortunately I managed to stumble my way to a solution.

    In your CAB project, in the solution explorer pane, click on Symbol.dll. In the properties window you need to be sure that the "Exclude" value is True. In my project this had defaulted to False. I changed it ti True and the install went perfectly.


  • Nightmare_BE

    I don't know all the details but there's a special XSL file with that information. Look inside %ALLUSERSPROFILE%\Microsoft\corecon\1.0\addons to get a sample.



  • MMCompton

    May be for the same reason NETCF DLLs are not included into the CAB - because they not supposed to be included as they are part of another CAB.

    Please contact Symbol and ask them how you suppose to install it.



  • Rups11

    I found the files at C:\Documents and Settings\All Users\Application Data\Microsoft\corecon\1.0\addons\*.xsl, but the details are daunting.

  • Including Symbol dll in Smart Device CAB Project