File tree 1 file changed +12
-1
lines changed
src/SourceBuild/content/repo-projects
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 598
598
<Copy SourceFiles =" @(PackageVersionPropsSnapshotFiles)" DestinationFolder =" $(PackageReportDir)snapshots/" />
599
599
600
600
<ItemGroup >
601
- <RestoredPackageFile Include =" $(NuGetPackageRoot)**/*.nupkg"
601
+ <!--
602
+ Note the usage of */*/*.nupkg and not **/*.nupkg. The latter would include nupkgs
603
+ carried as content, i.e. in Microsoft.FSharp.Compiler nupkg, and cause false positives.
604
+ Content nupkgs were not restored and should not be used in prebuit detection.
605
+
606
+ Example of a restored package:
607
+ $(NuGetPackageRoot)microsoft.fsharp.compiler/12.8.300-beta.24203.1/microsoft.fsharp.compiler.12.8.300-beta.24203.1.nupkg
608
+
609
+ Example of a content package:
610
+ $(NuGetPackageRoot)microsoft.fsharp.compiler/12.8.300-beta.24203.1/contentFiles/Release/FSharp.Core.8.0.300.nupkg
611
+ -->
612
+ <RestoredPackageFile Include =" $(NuGetPackageRoot)*/*/*.nupkg"
602
613
Exclude =" $(NuGetPackageRoot)tests/**/*.nupkg" />
603
614
604
615
<!-- Only contains packages when building. -->
You can’t perform that action at this time.
0 commit comments