Hello AdrianG,
Thank you for contacting us.
Yes, when you change the build configuration to
Release40, the Target Framework appears to be .NET 2 in the properties window of the project. However, since we are using custom build configurations as the following:
The assemblies are actually being build for .NET 4. You can see that in the following folder:
Then, you can open an assembly with a decompiler software (such as
JustDecompile) and see its target framework (see attached image).
As to your troubles with Ngen - after building the assemblies in the above said manner, they have no dependency for .NET 2 and there should not be any issues concerning that matter.
Let me know if you require further assistance.
Regards,
George
Telerik
DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.