From a1ad983bf18ddbbeaf462e85443eb3d5dc3bb7fb Mon Sep 17 00:00:00 2001 From: Sam Harwell Date: Wed, 4 Sep 2019 07:59:53 -0700 Subject: [PATCH] Use all NuGet package folders to support fallback locations --- ...unnelVisionLabs.ReferenceAssemblyAnnotator.targets | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/TunnelVisionLabs.ReferenceAssemblyAnnotator/TunnelVisionLabs.ReferenceAssemblyAnnotator.targets b/TunnelVisionLabs.ReferenceAssemblyAnnotator/TunnelVisionLabs.ReferenceAssemblyAnnotator.targets index 27ed057..3283c84 100644 --- a/TunnelVisionLabs.ReferenceAssemblyAnnotator/TunnelVisionLabs.ReferenceAssemblyAnnotator.targets +++ b/TunnelVisionLabs.ReferenceAssemblyAnnotator/TunnelVisionLabs.ReferenceAssemblyAnnotator.targets @@ -76,8 +76,13 @@ + + <_NuGetPackageFoldersItems Include="$(NuGetPackageFolders)" /> + <_NetStandardNuGetPackageFolders Include="$([MSBuild]::NormalizeDirectory('%(_NuGetPackageFoldersItems.Identity)', 'netstandard.library', '$(NETStandardLibraryPackageVersion)', 'build', 'netstandard2.0', 'ref'))" /> + + - $(NuGetPackageRoot)netstandard.library\$(NETStandardLibraryPackageVersion)\build\netstandard2.0\ref\ + @(_NetStandardNuGetPackageFolders) @@ -118,10 +123,6 @@ - - - $(NuGetPackageRoot)netstandard.library\$(NETStandardLibraryPackageVersion)\build\netstandard2.0\ref\ -