File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
src/Framework/App.Runtime/src Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -288,7 +288,14 @@ This package is an internal implementation of the .NET Core SDK and is not meant
288
288
<!-- Crossgen symbols for Linux include a GUID in the file name which cannot be predicted. -->
289
289
<BuiltProjectOutputGroupOutput Include =" $(TargetDir)*.map" Condition =" '$(CrossGenSymbolsType)' == 'PerfMap'" />
290
290
291
- <NuGetPackInput Include =" @(BuiltProjectOutputGroupOutput)" />
291
+ <!-- Strip duplicate Files by checking for distinct %(FileName)%(Extension) -->
292
+ <OutputFileNames Include =" %(BuiltProjectOutputGroupOutput.FileName)%(BuiltProjectOutputGroupOutput.Extension)" >
293
+ <ItemPath >%(BuiltProjectOutputGroupOutput.Identity)</ItemPath >
294
+ </OutputFileNames >
295
+
296
+ <DistinctOutputFileNames Include =" @(OutputFileNames->Distinct())" ></DistinctOutputFileNames >
297
+
298
+ <NuGetPackInput Include =" %(DistinctOutputFileNames.ItemPath)" />
292
299
</ItemGroup >
293
300
</Target >
294
301
You can’t perform that action at this time.
0 commit comments