-
Notifications
You must be signed in to change notification settings - Fork 266
Open
Labels
Functionality:RestorePartner:RoslynPriority:2Issues for the current backlog.Issues for the current backlog.Resolution:ByDesignThis issue appears to be ByDesignThis issue appears to be ByDesignResolution:NotABugThis issue appears to not be a bugThis issue appears to not be a bugType:Bug
Description
NuGet Product Used
dotnet.exe
Product Version
6.0.100
Worked before?
Yes
Impact
It's more difficult to complete my work
Repro Steps & Context
Below is the relevant part of the generated props file. Setting NuGetPackageFolders will not have any effect on the generated SourceRoot items. Shouldn't these be consistent?
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Test\.packages;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files (x86)\Microsoft\Xamarin\NuGet\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Test\.packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft\Xamarin\NuGet\" />
<SourceRoot Include="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\" />
</ItemGroup>Verbose Logs
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Functionality:RestorePartner:RoslynPriority:2Issues for the current backlog.Issues for the current backlog.Resolution:ByDesignThis issue appears to be ByDesignThis issue appears to be ByDesignResolution:NotABugThis issue appears to not be a bugThis issue appears to not be a bugType:Bug