-
Notifications
You must be signed in to change notification settings - Fork 267
Closed
NuGet/NuGet.Client
#3815Labels
Category:Quality WeekIssues that should be considered for quality weekIssues that should be considered for quality weekFunctionality:RestoreRegressionFromPreviousRTMA regression from the last RTM. Example: worked in 6.2, doesn't work in 6.3A regression from the last RTM. Example: worked in 6.2, doesn't work in 6.3Resolution:BlockedByExternalProgress on this task is blocked by an external issue. When that issue is completed this can proceedProgress on this task is blocked by an external issue. When that issue is completed this can proceedStyle:PackageReferenceType:Bug
Milestone
Description
The generated props file for the project (git-test1\obj\git-test1.csproj.nuget.g.props) contains:
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\<user-name>\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
</PropertyGroup>
...
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="$([MSBuild]::EnsureTrailingSlash($(NuGetPackageFolders)))" />
</ItemGroup>This adds a single item to SourceRoot with ItemSpec = C:\Users\Tomas\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder\. Instead, we need 2 items: C:\Users\<user-name>\.nuget\packages\ and C:\Program Files\dotnet\sdk\NuGetFallbackFolder\.
Possible fix:
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<_NuGetPackageFolders Include="$(NuGetPackageFolders)" NormalizedPath="$([MSBuild]::EnsureTrailingSlash(%(Identity)))" />
<SourceRoot Include="@(_NuGetPackageFolders->'%(NormalizedPath)')" />
</ItemGroup>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Category:Quality WeekIssues that should be considered for quality weekIssues that should be considered for quality weekFunctionality:RestoreRegressionFromPreviousRTMA regression from the last RTM. Example: worked in 6.2, doesn't work in 6.3A regression from the last RTM. Example: worked in 6.2, doesn't work in 6.3Resolution:BlockedByExternalProgress on this task is blocked by an external issue. When that issue is completed this can proceedProgress on this task is blocked by an external issue. When that issue is completed this can proceedStyle:PackageReferenceType:Bug