Some source files are not served even though they exist
See original GitHub issueI get blackness instead of source if I select this file, and the browser console says it’s getting a 404 for AmbientTasks/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.cs.html
.
The file does exist, though, it’s just not being served:
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Source File Not Found in Angular CLI project
Basically the Angular CLI sometimes doesn't 'see' files that have been pulled in (e.g. when doing a merge while your compiler is running)....
Read more >Inability to use '/' for static files · Issue #75 · gin-gonic/gin
It might seem silly, but this is actually an incorrect behavior for defining a static directory to be served by the HTTP server....
Read more >DISM Not finding source - Microsoft Q&A
I am having some difficulty with DISM, and it appears that nothing that I do will resolve the issue ... The source files...
Read more >4 Reasons Why Your Source Maps are Broken
This likely means that your source map doesn't contain or link to your original source files. Without your original source files, you're still...
Read more >The staticfiles app
The purpose of this storage is to keep serving the old files in case some pages still refer to those files, e.g. because...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It’s the leading
.
in the filename that prevents the static file provider from making it visible.https://github.com/aspnet/FileSystem/issues/51 https://github.com/dotnet/extensions/blob/v3.1.14/src/FileProviders/Physical/src/PhysicalFileProvider.cs#L253-L257 https://github.com/dotnet/extensions/blob/v3.1.14/src/FileProviders/Physical/src/Internal/FileSystemInfoHelper.cs
Easy, just need to pass the desired ExclusionFilters enum flags to
new PhysicalFileProvider
.https://github.com/KirillOsenkov/SourceBrowser/blob/45035df10482bf61f6a0ce0ef2d74227d9cb8a0f/src/SourceIndexServer/Startup.cs#L54-L58