chore: support local NuGet source via NOSCORE_LOCAL_PACKAGES env var#113
chore: support local NuGet source via NOSCORE_LOCAL_PACKAGES env var#113erwan-joly merged 1 commit intomasterfrom
Conversation
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 15 minutes and 35 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Move the wiring out of NuGet.config (where %NOSCORE_LOCAL_PACKAGES% fails NU1301 when unset) into a conditional Directory.Build.props PropertyGroup. RestoreAdditionalProjectSources is only set when the env var is defined, so CI and fresh clones are unaffected. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2d14149 to
7e8e654
Compare
Summary
Directory.Build.propswith a conditionalRestoreAdditionalProjectSourcesthat activates only whenNOSCORE_LOCAL_PACKAGESis set.setx NOSCORE_LOCAL_PACKAGES C:\LocalPackages, restart shell/VS, drop .nupkg files into the folder. Replaces the earlierNuGet.config-based attempt, which broke restore (NU1301) whenever the env var was unset.Test plan
dotnet restoresucceeds withNOSCORE_LOCAL_PACKAGESunset.dotnet restorewithNOSCORE_LOCAL_PACKAGESpointing to a folder with a .nupkg picks it up.Generated with Claude Code