Microsoft  made some interesting design decisions with UWP and this causes build issues with Gaia.


Unfortunately these issues are all related to file handling, and as Gaia uses files extensively it is not a quick fix.


The work around is to export the Gaia scripts directory as a package, then delete them and make your build. Then re-import the scripts when you are ready to work in Gaia again.


The re-import process is very fast as the exported directory is tiny.


I will redo all of this for Gaia 2.