私が走るとき
IsolatedStorageFile myStore = IsolatedStorageFile.GetUserStoreForApplication();
myStore.CopyTextFile("HTDocs\\help.html", true);
「IsolatedStorageFileStream での操作は許可されていません」というエラーが表示されます。チュートリアルからです。どうすれば修正できますか?
public static class ISExtensions
    {
        public static void CopyTextFile(this IsolatedStorageFile isf, string filename, bool replace = false)
        {
            if (!isf.FileExists(filename) || replace == true)
            {
                StreamReader stream = new StreamReader(TitleContainer.OpenStream(filename));
                IsolatedStorageFileStream outFile = isf.CreateFile(filename);
                //
                //
                string fileAsString = stream.ReadToEnd();
                byte[] fileBytes = System.Text.Encoding.UTF8.GetBytes(fileAsString);
                outFile.Write(fileBytes, 0, fileBytes.Length);
                stream.Close();
                outFile.Close();
            }
        }
}