.Net AnyCPU - How to deploy x86 & x64 parallel

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

.Net AnyCPU - How to deploy x86 & x64 parallel

Postby ds-hanau » Fri Jun 14, 2019 10:18 am

Im developing an WinForms App with C# .Net 4.6.2 with the AnyCPU plattform target.

I want to deploy the IDEALSoftware.VpeProfessional.dll with its unmanaged vpep3272.dll.
The IDEALSoftware.VpeProfessional.dll x86 and x64 Assemlby is identical.
But the unmanaged dll vpep3272.dll differs between x86 and x64.

How can I deploy my App which could be run either by an 32bit os-system and by an 64bit os-system with the same xcopy deployment?
ds-hanau
 
Posts: 16
Joined: Tue Jun 30, 2015 1:56 pm

Re: .Net AnyCPU - How to deploy x86 & x64 parallel

Postby IDEAL Software Support » Sun Jun 16, 2019 7:57 am

On a 64-bit Windows, you need to copy the 64-bit VPE DLL to Windows\System32 and the 32-bit VPE DLL to Windows\SysWOW64.
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm

Re: .Net AnyCPU - How to deploy x86 & x64 parallel

Postby ds-hanau » Tue Jun 18, 2019 8:41 am

It is a xcopy deployment just on one shared network folder. We do not make a setup on each client.
I think in this case we do not have any option ... ?

I think therefor we need to make two seperated network folders. One pointing to x86 and the other pointing to x64 binaries?

Is that correct?

Thanks for support
ds-hanau
 
Posts: 16
Joined: Tue Jun 30, 2015 1:56 pm

Re: .Net AnyCPU - How to deploy x86 & x64 parallel

Postby IDEAL Software Support » Tue Jun 18, 2019 7:20 pm

I do not exactly understand what you intend to do. Your .NET executable is compiled at startup by a JIT compiler and binary code is created. This will be 32-bit code on 32-bit Windows and 64-bit code on 64-bit Windows. Therefore you must place the VPE DLL in the appropriate Windows system folder, so it can be loaded by your executable.
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 10 guests