Bartenderprintclient Not Present In The Seagull.bartender.print Assembly Follow

0
Avatar
Legacy Poster

Hello

I'm trying to compile PrintToFileManager from Print SDK Samples but I get the following error:

C:\Documents and Settings\Cotereco\Bureau\C#\PrintToFileManager.cs(40,15): erreur CS0246: Le type ou le nom d'espace de noms 'BarTenderPrintClient' est introuvable (une directive using ou une référence d'assembly est-elle manquante ?)

c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1558,9): warning MSB3284: Impossible d'obtenir le chemin de fichier pour la bibliothèque de types "20033d6a-7b24-41e5-a4d9-1c626b07876b" version 1.0. Bibliothèque non inscrite. (Exception de HRESULT : 0x8002801D (TYPE_E_LIBNOTREGISTERED))

In brief, Visual studio don't load that assembly.

Bartender Enterprise Automation 10.0 is installed on my computer (trial version not expired).
I'm using Visual studio 2010.
The project is configure for x86 target and .Net 4.0.
I added useLegacyV2RuntimeActivationPolicy="true" in the app.config file.

Someone has a idear about how to resolve that issue?

Thank in advance

1 comments

0
Avatar
Domingo Rodriguez
Moderator
Comment actions Permalink

Hello,

Are you able to add a reference to "BarTenderPrintClient.dll" manually? Do this by accessing the "Project > Add Reference" dialog in Visual Studio, select the "Browse" tab, browse to the "c:\Program Files (x86)\Seagull\BarTender Suite\SDK\Assemblies" folder and try adding a reference to the dll.

Do you get any error message or does it let you add the reference?

Please sign in to leave a comment.