Remove unused code
Set target framework to 4.0