Kindly send me the link to download .NET compact framework 4.0

Hi,

.NET Compact Framwork 4.0 does not exists. There is a 3.9 version that you can find on our developer pages.

Here is a link to get you started → http://developer.toradex.com/search?keyword=.net+framework