You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Identify and remove samples that aren't used in any documentation #14825
One comment I'd make regarding this. Please make a backup branch of the samples repo before running the clean-up. I still run into issues with samples dropout from previous migrations, so it would be good to have an easy way to recover samples, when needed.
There is a utility that detects directories in the dotnet/samples repo whose files are not used in either the dotnet/docs or dotnet/dotnet-api-docs repos. It includes:
A note when someone is working on this.
The output of the utility includes: samples/snippets/fsharp/getting-started which is used here. I couldn't review the code to know what caused it to output such a false positive. but this should be checked because there might be other false positives.
Activity
Youssef1313 commentedon Sep 30, 2019
Can you have a look at dotnet/samples#1434, @BillWagner ?
mairaw commentedon Oct 1, 2019
One comment I'd make regarding this. Please make a backup branch of the samples repo before running the clean-up. I still run into issues with samples dropout from previous migrations, so it would be good to have an easy way to recover samples, when needed.
rpetrusha commentedon Oct 10, 2019
There is a utility that detects directories in the dotnet/samples repo whose files are not used in either the dotnet/docs or dotnet/dotnet-api-docs repos. It includes:
csc unused-code.cs.Youssef1313 commentedon Oct 20, 2019
@mairaw, Is there currently any on-going work on this ?
Youssef1313 commentedon Nov 14, 2019
A note when someone is working on this.
The output of the utility includes:
samples/snippets/fsharp/getting-startedwhich is used here. I couldn't review the code to know what caused it to output such a false positive. but this should be checked because there might be other false positives.BillWagner commentedon Dec 2, 2019
Also moving to the January milestone, based on the current pace of progress
/cc @Thraka .
BillWagner commentedon Mar 3, 2020
replaced as part of #17297