There is a good reading on this:
[cannot attach link as I am a new user here - see the suggested link to StackOverflow in above]
In order to fully support portable framework, one needs to modify the source code as suggested in the article.
The original .NET SDK package (and source code) was targeted desktop platforms.