sdk-container-builds
sdk-container-builds copied to clipboard
.well-known folder missed from build
We have a project with a structure like
\wwwroot
\scripts
....
\.well-known
\apple-app-site-association
\assetlinks.json
Running a standard dotnet publish copies the folder structure to the output folder.
Running dotnet publish /t:PublishContainer produces an image with the wwwroot\scripts structure but without the .well-known folder. I can find no way to overcome this.
I've had to rename the folder to 'well-known' (with the dot prefix) and use url rewriting to rewrite requests for .well-known to well-known