The purpose of refs folder
See original GitHub issuedotnet publish
command produces output that contains refs
folder. This folder contains the same core assemblies that I have in the root publish folder plus more. Also it contains one more copy of my .exe file. Without this folder the application throws an error about missing files.
I wonder, what is the purpose of this folder and why the same files have to be deployed twice increasing the deployment size?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
What is 'refs' folder in ASP.NET Core app's publish ...
At run-time, in order to ensure Razor view engine uses same set of assemblies as referenced during compile time, refs folder is generated ......
Read more >Resilient File System (ReFS) overview
Integrity-streams - ReFS uses checksums for metadata and optionally for file data, giving ReFS the ability to reliably detect corruptions.
Read more >c# - Ref folder within .NET 5.0 bin folder
These are so called Reference Assemblies (assemblies that only contain the public interface of an assembly), these help speed up the build ......
Read more >ReFS
ReFS uses B+ trees for all on-disk structures, including all metadata and file data. Metadata and file data are organized into tables similar...
Read more >Git - Git References
In Git, these simple names are called “references” or “refs”; you can find the files that contain those SHA-1 values in the .git/refs...
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 FreeTop 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
Top GitHub Comments
@blackdwarf (is it too soon to ping @spboyer, too 😄 ) I wish this (and this type of information) were over at https://docs.microsoft.com/en-us/dotnet/articles/core/index (perhaps a branch point to a doc under the “Composition” heading) on how the ✨ magic ✨ works; however, I realize that a lot will change moving to MSBuild/
csproj
. Even if you considered such a doc, I can see why you would want to wait for a while.@eerhardt yes 1000% 😄