Correct the .NET version in resources.
Remove dead code.

CID 18082.