Enterprise Library v5.0.414.0 build (and copy) scripts

Topics: Development Team Discussion, User Discussion
Developer
Dec 18, 2012 at 1:03 PM

Hi Folks

Question, I'm using the latest Enterprise Library v5.0.414.0.

There's an interesting phenomena, did anyone notice that the batch file for
building/copying/buildcopy/etc. the library assemblies are hardwired at v3.5
(variable msBuildDir). I set the framework directory to v4.0.30319 (.NET v4.5 ) because we are running this version).

Also, it looks like the build script is compiling (release) to older core assemblies as far the the .NET version goes.

Can anyone explain to me the process of getting everything at .NET v4.5, in Release Mode?

Rob K

Coordinator
Dec 18, 2012 at 2:54 PM

Hi Rob,

actually, EntLib v5.0.414.0 is compiled against .NET 3.5 and is compatible with 4.0. Regarding 4.5, EntLib is heavily using Unity for configuration which if I remember correctly is not compatible with 4.5 because it uses some members of Reflection.Emit that are deprecated in 4.5. Have a look at Unity 3.0 Preview from the P&P team to know more about those limitations.

However if you were able to compile against 4.5, please let us know how it went and what changes you made!

Cheers,

Jeremi