applying AfterBuild in sample app csproj file
replace deprecated codes to new codes
Merge pull request #31 from SaschaNaz/master

AfterBuild, deprecated code replacement