Include Xaml once packaged

Tool: Visual Studio 2019
Version: 5.7.21

Been a while since i used the tool, once you got teh NTFS module resolved, however ive gone to use the tool today having made a slight change to a file, however when i packaged it it wouldnt run unless i copied the XAML file to the same folder the exe was now in.

Ive not had to do that before and wondered if it wa snew or if i was doing something wrong?

TBH not always entirely sure what settings i should be using when packaging. Its a WPF as well