question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider renaming build directory

See original GitHub 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.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
eerhardtcommented, Apr 4, 2017

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.

1reaction
davkeancommented, Apr 3, 2017

Ugh, this is unfortunate. Agree on the rename anyway - everytime I expect this to live under a “targets” directory.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rename build directory · Issue #33 · dotnet/arcade
There is another reason to consider renaming. GitHub hides files in folders named "build/", "log/", and "tmp/". It's mildly annoying that ...
Read more >
In a Git repository, how to properly rename a directory?
I think it should work to copy the directory to be renamed to a new directory with desired name, and delete the old...
Read more >
Renaming the 'build' directory generated by ...
I found an option to change the source directory; the option is --webpack-src-dir (I have not used it, but I think with a...
Read more >
Renaming and Deep Directory Hierarchies in Git
Any new files in an old directory should be moved to a new destination based on the nearest containing directory rename. (For example,...
Read more >
Create, Copy, Rename, and Remove Unix Files and Directories
This document lists commands for creating, copying, renaming and removing Unix files and directories. It assumes you are using Unix on the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found