add missing targets check
move to before compile
fix nuget project level hack in template
Update README.md
add null check due to powerhell qwerk