-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Consider renaming build directory #1071
Comments
This explains several things I couldn't find as well. GitHub really shouldn't have this behavior at all - I've linked this to a few helpful folks there. |
Ugh, this is unfortunate. Agree on the rename anyway - everytime I expect this to live under a "targets" directory. |
Agree with @davkean. The silver lining is that the current name stinks anyways. I was trying this today as well and ended up cloning the repo and searching locally. Glad to hear it's not me being too stupid to use GitHub... |
Just for some history/reasoning on why the folder was named that: this was originally a NuGet package that contained MSBuild logic. Inside your NuGet package, you put your MSBuild logic in a folder named "build" and then optionally a TFM sub-folder if your logic is TFM specific. Thus the file structure matched the NuGet structure. This is no longer a NuGet package, so that reasoning no longer holds. |
Trying this out, I'm a little confused. https://github.com/search?l=&q=GenerateDepsFile+user%3Adotnet&ref=advsearch&type=Code&utf8=%E2%9C%93 That search does correctly find the 2 .targets files that call the Where can I find more information about
|
Hmm, didn't know about that GH feature. 👍 |
For this you'll need to contact Github. I only got this information from a support contact in response to my questions about why certain directories weren't being indexed. |
@jaredpar I can indeed search file contents under "sdk\src\Tasks\Microsoft.NET.Build.Tasks\build" in github |
Try searching for Honestly though, everyone has a build directory at this point. It's a really senseless limitation that GitHub has and we've all violated it at this point. I'd be fine with just closing this issue. |
This concerns primarily the directory
sdk\src\Tasks\Microsoft.NET.Build.Tasks\build
.The Github searching / indexing logic will exclude directories with names "build", "log", "tmp" or "vendor". This exclusion is for all manner of searching including code content, file names, etc ...
This is unfortunately because a lot of the core logic for the SDK exists under this directory. I actually spent about 30+ minutes tracking down a bug because I couldn't locate Microsoft.NET.Sdk.CSharp.props. I was only able to find it when a search I did happened to include a clone of this repo.
I hate filing bugs like this because I don't think the github behavior is sensible here. But it is the behavior and it's severely reducing the usability of this repo via the web UI.
The text was updated successfully, but these errors were encountered: