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
Merge pull request #408 from ovatsus/master

When targeting the portable version, don't generate the get sample metho...