Skip to content

Commit bc88d2f

Browse files
erwan-jolyclaude
andcommitted
chore: support local NuGet source via NOSCORE_LOCAL_PACKAGES env var
Adds a Directory.Build.props PropertyGroup that sets RestoreAdditionalProjectSources from the env var when defined. CI and fresh clones without the env var are unaffected — the property group is simply skipped. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent addd3bd commit bc88d2f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Directory.Build.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<Project>
2+
<PropertyGroup Condition="'$(NOSCORE_LOCAL_PACKAGES)' != ''">
3+
<RestoreAdditionalProjectSources>$(RestoreAdditionalProjectSources);$(NOSCORE_LOCAL_PACKAGES)</RestoreAdditionalProjectSources>
4+
</PropertyGroup>
5+
</Project>

0 commit comments

Comments
 (0)