I am using Webpack for my front-end, which will generate files with hashes in the filenames. Because of this, Visual Studio does not see them as included, and my publish fails.
My current flow is Publish -> Fail -> Add missing files, remove deleted ones -> Publish again.
Is it possible to just tell Visual Studio to include all files in a folder, no questions asked?
I already tried modifying the csproj
like so:
<Content Include="SiteContent\**" />
But that does not work when publishing; I run the webpack tool in my pre-build script.