[Bug]: ArPow build doesn't work well when in a subdirectory of an unrelated git repository #11227
Labels
Community
PRs (and linked Issues) created by someone not in the NuGet team
help wanted
Considered good issues for community contributions.
Triage:Investigate
Type:Bug
Milestone
NuGet Product Used
dotnet.exe
Product Version
6eafa5f12562510adf3dae0c649d4b5f955ef6f8
Worked before?
No; this is new with ArPow
Impact
I'm unable to use this version
Repro Steps & Context
NuGet.Client has patches that rename
NuGet.Config
toNuGet.config
: https://github.com/NuGet/NuGet.Client/blob/dev/eng/source-build-patches/0001-Rename-NuGet.Config-to-NuGet.config-to-account-for-a.patch. This was added with NuGet/NuGet.Client@55e6392That patch is applied with
git apply
. That doesn't work when the.git
is removed/missing and there the sources just happen to be located (deep) within an unrelated git repository tree. See dotnet/source-build#2445 for the details on source-build sideHere are the steps I used to run into this issue
Build fails, saying that
NuGet.config
is not found even though0001-Rename-NuGet.Config-to-NuGet.config-to-account-for-a.patch
should have fixed that.Verbose Logs
No response
The text was updated successfully, but these errors were encountered: