Commit 04c155f 1 parent 78b2448 commit 04c155f Copy full SHA for 04c155f
File tree 1 file changed +2
-3
lines changed
src/Tasks/Microsoft.NET.Build.Tasks
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -362,18 +362,17 @@ private IEnumerable<RuntimeLibrary> GetRuntimePackLibraries(IEnumerable<RuntimeP
362
362
return runtimePackAssets . GroupBy ( asset => asset . PackageName + "/" + asset . PackageVersion ) . Select (
363
363
runtimePackAssetGroup =>
364
364
{
365
- // Prefix paths with "./" to workaround https://github.com/dotnet/core-setup/issues/4978
366
365
List < RuntimeAssetGroup > runtimeAssemblyGroups = new List < RuntimeAssetGroup > ( )
367
366
{
368
367
new RuntimeAssetGroup ( string . Empty ,
369
368
runtimePackAssetGroup . Where ( asset => asset . AssetType == AssetType . Runtime )
370
- . Select ( asset => CreateRuntimeFile ( "./" + asset . DestinationSubPath , asset . SourcePath ) ) )
369
+ . Select ( asset => CreateRuntimeFile ( asset . DestinationSubPath , asset . SourcePath ) ) )
371
370
} ;
372
371
List < RuntimeAssetGroup > nativeLibraryGroups = new List < RuntimeAssetGroup > ( )
373
372
{
374
373
new RuntimeAssetGroup ( string . Empty ,
375
374
runtimePackAssetGroup . Where ( asset => asset . AssetType == AssetType . Native )
376
- . Select ( asset => CreateRuntimeFile ( $ "./" + asset . DestinationSubPath , asset . SourcePath ) ) )
375
+ . Select ( asset => CreateRuntimeFile ( asset . DestinationSubPath , asset . SourcePath ) ) )
377
376
} ;
378
377
379
378
return new RuntimeLibrary ( "runtimepack" ,
You can’t perform that action at this time.
0 commit comments