Repository navigation
Conversation
|
Azure Pipelines: 3 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Co-authored-by: nagilson <23152278+nagilson@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: bbb4dfb0-fdf6-462a-98d4-ec75982c8da2
|
I pushed changes: 1632b95 .NET 11 reference-pack metadata is frozen at preview 7, while the Helix SDK layout contains newer RC1 packs. Tests must therefore restore the frozen packs from repository-managed feeds. The previous test-specific NuGet configs used |
|
Azure Pipelines: Successfully started running 1 pipeline(s). 2 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
🟢 Approval recommended
The changes are confined to test assets/helpers and correctly remove the source-clearing behavior that was preventing Helix restores from resolving .NET 11 targeting pack versions.
Pull request overview
Adjusts test-asset NuGet restore configuration so Helix-managed package sources (including .NET 11 feeds) can be used during compatibility integration-test restores, avoiding NU1100 failures for net11 targeting packs.
Changes:
- Removed asset-local
NuGet.Configfiles that cleared all package sources for ApiCompat and GenAPI test assets. - Updated TemplateEngine test helper to generate a per-test
nuget.configby starting from the managed testNuGet.config(from the test execution directory), then adding local test/shipping package sources and a temporary global packages folder.
File summaries
| File | Description |
|---|---|
| test/TestAssets/TestProjects/GenAPITaskTestProject/NuGet.Config | Removed source-clearing config to allow inherited/managed feeds to resolve net11 targeting packs. |
| test/TestAssets/TestProjects/ApiCompatValidateAssembliesTestProject/NuGet.Config | Removed source-clearing config to allow inherited/managed feeds to resolve net11 targeting packs. |
| test/TemplateEngine/Shared/TestBase.cs | Builds a nuget.config from the managed test NuGet.config, sets an isolated global packages folder, and appends local package sources. |
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 0
- Review effort level: Lite
|
Due to lack of recent activity, this PR has been labeled as 'Stale'. It will be closed if no further activity occurs within 7 more days. Any new comment will remove the label. |
ApiCompat and GenAPI integration-test assets cleared all NuGet sources, preventing Helix restores from resolving exact .NET 11 targeting-pack versions.
NuGet.Configfiles.