Using PDFNet for .NET on AZURE

Q: I tried compiling my WCF service using the x64 DLLs and setting
compile =x64 and I received errors when publishing to AZURE.
(PDFnet.dll assembly - referenced assembly issue)

I noticed that all my Microsoft DLLs are x86 and I first compiling
with Any CPU, this worked for my WCF service before, so the x64 would
not work.

So I tried using the x86 DLLs and I ran into unhandled Exceptions on
AZURE... I can't publish as only x86.

And if I now publish as Any CPU with x86 DLL, I get referenced
assembly errors.

Do you have any advice on how to publish PDFNet to AZURE?
-------------------------------

A: Based on the error it seems that standard VC runtime is not present
on the target machine.

Depending which version .Net Framework that you are targeting you may
need different redistributable.

- For PDFNet.zip [.NET 1.1-3.5, 32-bit], there are no dependencies on
VC redistributable.

- For PDFNet64.zip [.NET 1.1-3.5, 64-bit], there is a dependency on VC
2008 64-bit redistributable:
  http://www.microsoft.com/download/en/details.aspx?id=15336

- For PDFNetDotNet4.zip [.NET 4+, 32-bit], there is a dependency on VC
2010 64-bit redistributable:
  http://www.microsoft.com/download/en/details.aspx?id=5555

- For PDFNet64DotNet4.zip [.NET 4+, 64-bit], there is a dependency on
VC 2010 64-bit redistributable:
  http://www.microsoft.com/download/en/details.aspx?id=14632

If you can't install these packages remotely you can simply copy the
required DLLs (e.g. MSVCP100.DLL and MSVCR100.DLL) in the same folder
as PDFNet.DLL