Merge pull request #403 from ovatsus/master

Fix #402
Merge pull request #404 from ovatsus/master

Update README.md
When targeting the portable version, don't generate the get sample methods if a file is used, as it won't work at runtime (closes #407) + check if the designtime and runtime assembly versions match