When I build the project on Ubuntu with .NET 7.0 SDK 7.0.401, I obtain the following warnings after the message Adding WebOptimizer cache files to publish output:
/home/runner/.nuget/packages/ligershark.weboptimizer.core/3.0.391/build/LigerShark.WebOptimizer.Core.targets(13,9): message :
MSB4120: Item 'DotNetPublishFiles' definition within target references itself via (qualified or unqualified) metadatum 'Filename'.
This can lead to unintended expansion and cross-applying of pre-existing items. More info: https://aka.ms/msbuild/metadata-self-ref
/home/runner/.nuget/packages/ligershark.weboptimizer.core/3.0.391/build/LigerShark.WebOptimizer.Core.targets(13,9): message :
MSB4120: Item 'DotNetPublishFiles' definition within target references itself via (qualified or unqualified) metadatum 'Extension'.
This can lead to unintended expansion and cross-applying of pre-existing items. More info: https://aka.ms/msbuild/metadata-self-ref
However, it seems that the library works correctly. With previous version of WebOptimizer and .NET SDK, no warning appeared. So, what causes this problem?
When I build the project on Ubuntu with .NET 7.0 SDK 7.0.401, I obtain the following warnings after the message Adding WebOptimizer cache files to publish output:
However, it seems that the library works correctly. With previous version of WebOptimizer and .NET SDK, no warning appeared. So, what causes this problem?