Editor Script - read a file or long string

Naively, every time I try defining a long string, MonoDevelop freezes and crashes… I guess my editor script will have to read this long string from a file (WWW and yield StartCoroutine does not work as editor scripts).

How do you read a file, for an editor script?

For the editor, you can use System.IO. I don’t think it will be incorporated in the build. Also, try to write your string on several lines instead of one, it might help monodevelop.