[ ] Include the log file upgrade-assistant.clef that is produced in the working directory
Describe the bug
I'm trying to test custom mappings. After producing a prerelease NuGet package I drop it into my local feed. Since I have multiple feeds defined for normal builds I followed the steps in the blog for creating a nuget.config in the solution directory for the solution I want to update. However the CLI doesn't seem to honor the custom source. The output displays this:
Found NuGet package Microsoft.UpgradeAssistant.Mappings v1.0.7
Using API and package mappings from D:\Packages\nuget\Microsoft.UpgradeAssistant.Mappings\1.0.7\content\mappings
Based upon how NuGet cascades configurations I believe you need to add a <clear /> before the package source in the config. Otherwise it'll add it to whatever sources you've already configured.
Irrelevant of the custom config though it is still pulling the packages from nuget.org it appears, or at least my local cache of it, because the output shows it getting the "official" mappings instead of my custom one.
To Reproduce
Create a custom mapping package.
Drop into a custom local feed.
Define a nuget.config with the custom local feed.
Run the tool and confirm it is pulling from the custom local feed and not the official one.
Exceptions (if any)
N/A
Further technical details
Windows 11 x64
Include the output of dotnet --list-sdks:
8.0.400
9.0.100-preview.7.24407.12
Include the output of upgrade-assistant --version: 0.5.711.53382
upgrade-assistant.clef
that is produced in the working directoryDescribe the bug
I'm trying to test custom mappings. After producing a prerelease NuGet package I drop it into my local feed. Since I have multiple feeds defined for normal builds I followed the steps in the blog for creating a
nuget.config
in the solution directory for the solution I want to update. However the CLI doesn't seem to honor the custom source. The output displays this:<clear />
before the package source in the config. Otherwise it'll add it to whatever sources you've already configured.To Reproduce
nuget.config
with the custom local feed.Exceptions (if any)
N/A
Further technical details
dotnet --list-sdks
:upgrade-assistant --version
: 0.5.711.53382