I'm trying to copy a folder of template files (about 9 thousand files and ~1gb) that are used by my .net web application to the publish output directory when publishing through VS2019. I have a Post Build script in there to copy them to output when it builds(Works when building locally), but this step seems to get skipped when the files are copied for publishing.
Any ideas how I can add these files so that they get published with rest of application? its a large amount of files so when I tried adding them into VS and change "Copy to output always" VS crashes.