-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Description
New issue checklist
- I searched for existing GitHub issues
- I read pipeline troubleshooting guide
- I checked how to collect logs
Task name
No response
Task version
No response
Issue Description
DotNetCoreCLIV2 adds feed- prefix in temporary Nuget.config file.
However, it seems that this prefix is added only for the <packageSources> not, but not for the <packageSources> node inside of <packageSourceMappings>.
As a result, the corresponding feed is not found during nuget restore.
J:\1\xx.csproj error NU1100: Unable to resolve 'Y (>= 2.1.119)' for 'net8.0-windows7.0'. PackageSourceMapping is enabled, the following source(s) were not considered: feed-DevOpsCloud, nuget.org. [J:\1\s\Z.slnx]
Environment type (Please select at least one enviroment where you face this issue)
- Self-Hosted
- Microsoft Hosted
- VMSS Pool
- Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows Server 2019
Relevant log output
J:\1\xx.csproj error NU1100: Unable to resolve 'Y (>= 2.1.119)' for 'net8.0-windows7.0'. PackageSourceMapping is enabled, the following source(s) were not considered: feed-DevOpsCloud, nuget.org. [J:\1\s\Z.slnx]Full task logs with system.debug enabled
[REPLACE THIS WITH YOUR INFORMATION]