Skip to content
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

Add link to shared portion of CoreLib to .gitignore #1607

Merged
merged 2 commits into from
Jan 15, 2020

Conversation

MichalStrehovsky
Copy link
Member

In the coreclr repo, one could simply findstr in the System.Private.CoreLib directory to find stuff.

Since in the runtime repo the shared portion of the CoreLib moved to src/libraries/, but private portion lives in src/coreclr, the files are split. We can work around it locally by making a symbolic link.

That way runtime devs that just grep/findstr stuff don't have to suffer entering the src/libraries directory where tab completion doesn't work because there's 180 directories prefixed by System..

In the coreclr repo, one could simply findstr in the System.Private.CoreLib directory to find stuff.

Since in the runtime repo the shared portion of the CoreLib moved to src/libraries/, but private portion lives in src/coreclr, the files are split. We can work around it locally by making a symbolic link.

That way runtime devs that just grep/findstr stuff don't have to suffer entering the src/libraries directory where tab completion doesn't work because there's 180 directories prefixed by `System.`.
@@ -338,3 +338,10 @@ sandbox

#IL linker for testing
linker

# Symbolic link for the shared portion of CoreLib
# On Windows, make your own by running these commands from the repo root:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

List the Unix commands as well for parity?

@jkotas
Copy link
Member

jkotas commented Jan 11, 2020

Is this worth mentioning as a ProTip in a doc?

@MichalStrehovsky
Copy link
Member Author

Is this worth mentioning as a ProTip in a doc?

Do you have a suggestion for which doc to add it to? I looked through the /docs folder but couldn't find anything obvious.

My plan was to cc folks who are likely to often work on the runtime/corelib boundary where they need to find references to something across the VM/corelib boundary (maybe @dotnet/crossgen-contrib).

I assume people who write CoreLib code would use the VS solution file.

@jkotas
Copy link
Member

jkotas commented Jan 15, 2020

ok

@jkotas jkotas merged commit e92e2e6 into dotnet:master Jan 15, 2020
@MichalStrehovsky MichalStrehovsky deleted the gitignore branch January 15, 2020 15:50
@ghost ghost locked as resolved and limited conversation to collaborators Dec 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants