Enterprise Library 64 32

May 26, 2010 at 4:14 PM

I've done a lot of searching but i'm still not sure on what the recommended practice is...

if our app is built in 64bit and we are using the enterprise library, are we supposed to compile the project in 64bit and deploy the 64bit versions with our 64bit app?  is this supported?

the project does not seem to have the source for some shared dlls like...

Microsoft.Practices.ServiceLocation.dll

Microsoft.Practices.Unity.dll                                                                                                                          

Microsoft.Practices.Unity.Interception.dll

 

so would these need to be 64bit versions also to work with the 64bit enterprise library dlls?

 

Thanks for the help.

May 26, 2010 at 11:18 PM

Entlib is compiled to AnyCPU - if run on 32-bit, the JITTer will do a 32 bit compile, and if run in a 64-bit process, it'll do a 64-bit compile. So the net result is you don't have to do anything, it'll just work and be the proper bitness.

 

Oct 26, 2012 at 8:52 AM
ctavares wrote:

Entlib is compiled to AnyCPU - if run on 32-bit, the JITTer will do a 32 bit compile, and if run in a 64-bit process, it'll do a 64-bit compile. So the net result is you don't have to do anything, it'll just work and be the proper bitness.

 

reference to your compile, does it compile at run time or compile during enterprise library installation?

thanks

Oct 31, 2012 at 2:45 AM
martinkwong wrote:
ctavares wrote:

Entlib is compiled to AnyCPU - if run on 32-bit, the JITTer will do a 32 bit compile, and if run in a 64-bit process, it'll do a 64-bit compile. So the net result is you don't have to do anything, it'll just work and be the proper bitness.

 

reference to your compile, does it compile at run time or compile during enterprise library installation?

thanks

Neither, really.  It's the compile/build of Enterprise Library (done by Microsoft) to assemblies which are then deployed/installed to end user's machines.

--
Randy Levy
Enterprise Library support engineer
entlib.support@live.com