title: Testing Roaming App Data in Emulator C#
body: <p>I am using Visual Studio 2017 and trying to program a C# UWP application for Windows phone. When I try to test roaming app data between the host computer and the emulator (Mobile emulator 10.0.15063.0) the data does not sync.  Even after waiting several hours.  The emulator appears to be working as my emails and calendar sync across devices. When I search for the files on the host computer it appears to be created correctly: </p>
  
  <pre><code>C:\Users\Owner\AppData\Local\Packages\23840StartPoint.StartPointRunning_x6wjmepvaasdr\RoamingState
  </code></pre>
  
  <p>I have checked the package manifest and the package name and version match. I have tried several different options but nothing works.  Am I missing something.</p>
  
  <p>The Application Data sample from GitHub is what I used as a model teaching myself to write/read files. It does not work on my setup either.</p>
  
  <pre><code>var applicationData = ApplicationData.Current;
  
  ulong storage = applicationData.RoamingStorageQuota;
  
  //Create file client.txt =&gt; store data =&gt; Roaming folder
  ApplicationDataContainer roamingSettings =   ApplicationData.Current.RoamingSettings;
  
  StorageFolder roamingFolder1 = ApplicationData.Current.RoamingFolder;
  StorageFile file1 = await roamingFolder1.CreateFileAsync(Filename1, CreationCollisionOption.ReplaceExisting);
  
  SetUpFlag = "true";
  String string6 = Views.Colors101.m_BackGroundColor + ";" +  Views.Colors101.m_CalendarColor + ";" + Views.Colors101.m_HeaderColor;
  
  String toWrite = SetUpFlag + ";" + string6;
  
  StorageFile xfile1 = await roamingFolder1.GetFileAsync(Filename1);
  
  await FileIO.WriteTextAsync(xfile1, toWrite);
  
  ApplicationData.Current.SignalDataChanged();
  </code></pre>