sdk-container-builds icon indicating copy to clipboard operation
sdk-container-builds copied to clipboard

.well-known folder missed from build

Open adamzest opened this issue 10 months ago • 5 comments

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

adamzest avatar Jan 24 '25 16:01 adamzest