Error building player because scripts had compile errors

The following code works fine in the editor but won’t build for Windows Store XAML C#.

private string Capitalise(string ToCapitalise)
{
return System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(ToCapitalise);
}

error CS1061: ‘System.Globalization.TextInfo’ does not contain a definition for ‘ToTitleCase’ and no extension method ‘ToTitleCase’ accepting a first argument of type ‘System.Globalization.TextInfo’ could be found (are you missing a using directive or an assembly reference?)

Is there an alternative - rather than having to write my own code?

This is not an answer, but checkout - http://social.msdn.microsoft.com/Forums/windowsapps/en-US/aca32898-c161-411b-bfbb-6631956aba2d/where-is-textinfototitlecase?forum=winappswithcsharp

Thanks