title: Hot Reload not working properly with some tags? (ViewCell/DataTemplate)
body: <p>I have this XAML</p>
  <pre><code>&lt;Label Text=&quot;Logfile&quot; FontAttributes=&quot;Bold&quot; Margin=&quot;0,0,0,10&quot; /&gt;
  &lt;ListView ItemsSource=&quot;{Binding LogEntries}&quot;&gt;
    &lt;ListView.ItemTemplate&gt;
      &lt;DataTemplate  x:DataType=&quot;model:LogEntity&quot;&gt;
        &lt;ViewCell&gt;
          &lt;Grid RowDefinitions=&quot;*,*&quot; BackgroundColor=&quot;Blue&quot;&gt;
          
            &lt;Label Text=&quot;{Binding Message}&quot; Grid.Row=&quot;0&quot;&gt;&lt;/Label&gt;
            &lt;Label Text=&quot;{Binding  LogTime}&quot; Grid.Row=&quot;1&quot;&gt;&lt;/Label&gt;
          
          &lt;/Grid&gt;
        &lt;/ViewCell&gt;
      &lt;/DataTemplate&gt;
    &lt;/ListView.ItemTemplate&gt;
  &lt;/ListView&gt;
  </code></pre>
  <p>If I change these tags</p>
  <pre><code>&lt;Label Text=&quot;Logfile&quot; FontAttributes=&quot;Bold&quot; Margin=&quot;0,0,0,10&quot; /&gt;
  &lt;ListView ItemsSource=&quot;{Binding LogEntries}&quot;&gt;
  </code></pre>
  <p>the changes appear immediately in the app. But when I change anything within this tag</p>
  <pre><code>&lt;ViewCell&gt;
    &lt;Grid RowDefinitions=&quot;*,*&quot; BackgroundColor=&quot;Blue&quot;&gt;
              
      &lt;Label Text=&quot;{Binding Message}&quot; Grid.Row=&quot;0&quot;&gt;&lt;/Label&gt;
      &lt;Label Text=&quot;{Binding  LogTime}&quot; Grid.Row=&quot;1&quot;&gt;&lt;/Label&gt;
              
    &lt;/Grid&gt;
  &lt;/ViewCell&gt;
  </code></pre>
  <p>nothing happens.</p>
  <p>Are there any known limitations to this? Maybe because it's inside a DataTemplate? I haven't seen any limitation in this regards over here: <a href="https://docs.microsoft.com/en-us/visualstudio/xaml-tools/xaml-hot-reload-troubleshooting?view=vs-2022" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/visualstudio/xaml-tools/xaml-hot-reload-troubleshooting?view=vs-2022</a></p>
  <p>I am using Visual Studio 2022 Version 17.3.0 Preview 1.1.</p>
  <p>My settings in Visual Studio are:</p>
  <p>Debugging -&gt; .NET/C++ Hot Reload (Probably not relevant for this context)<br>
  <img src="https://i.stack.imgur.com/c1dxK.png" width="400"></p>
  <p>Debugging -&gt; XAML Hot Reload<br>
  <img src="https://i.stack.imgur.com/Z7RWz.png" width="400"></p>
  <p>I am debugging as Windows App on a Windows machine (Windows 10 Home, 21H2).</p>
  <p>Under View -&gt; Output -&gt; Xamarin Hot Reload, when I make a change to the &quot;Label&quot; tag, it says:</p>
  <blockquote>
  <p>[12:34:18 PM]  Applying XAML Hot Reload update</p>
  </blockquote>
  <p>When I make a change within the &quot;ViewCell&quot;, nothing happens in the output window.</p>
  <p><strong>Workaround:</strong>
  While writing this, I noticed a workaround:</p>
  <ul>
  <li>Make changes to the &quot;ViewCell&quot; tag</li>
  <li>Cut the whole &quot;ViewCell&quot; tag and save</li>
  <li>Hot Reload does apply the changes and the content disappears in the app</li>
  <li>Paste the &quot;ViewCell&quot; back with the changes and voilà!</li>
  </ul>
  <p>This is certainly something I can live with for a while, but it would be great to not have to apply any workarounds for this.</p>