Hand-picked csproj build fix.

Also added missing Undo command link.