C# Improve MSBuild part