-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.well-known folder missed from build #616
Comments
@adamzest do you know what version of the .NET SDK or Container NuGet package you're using that you see this behavior in? I ask because we should have fixed this in dotnet/sdk#40624 back in May for .NET SDK 8.0.400 and onwards. |
The project is net8.0 and in my repro'ing of this today I am using SDK 8.0.405 |
Thanks for the confirmation - we'll dig in. |
I'm not able to reproduce this on 8.0.405. I've made a |
Hi @baronfel Thanks for looking. I just wrote out a really long response showing how I could still repro, and then I realised I'm an idiot. Of course in the linux container we are publishing, the .well-known folder is treated as hidden. Sorry and thanks again. |
We have a project with a structure like
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
The text was updated successfully, but these errors were encountered: