-
Notifications
You must be signed in to change notification settings - Fork 80
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
DOCS: Instructions for Microsoft.Build.CopyOnWrite do not adequately explain how to install it #552
Comments
The package works silently and automatically in a normal SDK-style project (without CPM), e.g.:
I think you need it in all projects where you want the benefit, so I put it in Directory.Build.props. You need a sizable solution to notice an obvious improvement, and I spotted the difference by comparing the amount of free space on my Dev Drive before and after. Since each file reference is equal to others, the difference does not show up in "Folder properties - Size" or "Folder properties - Size on disk"! I'm sure there are ways to interrogate the CoW status on individual files (using fsutil or similar tools), but I haven't looked for this. After a clean of my solution: 455 GB free I also think build times improved somewhat, but I have no clear evidence for this. |
Took awhile but I posted a new blog entry that describes how to determine if a file is a CoW link (block clone). See https://devblogs.microsoft.com/engineering-at-microsoft/?p=910 |
That is the introduction to the CopyOnWrite package. However there are no actual instructions on how to use it. I was excited to find out this week about DevDrives and this is the last piece to get the full benefits. There is only a mention of
Central Package Management
, which personally I've never heard of.Also it would be good to include information about the future update to Windows that will make this package redundant.
The text was updated successfully, but these errors were encountered: