fix resharper 8 issues; change target to 4.5