After upgrading to SDK 7.0.401 I'm now seeing this message when doing a dotnet publish:
....
Adding WebOptimizer cache files to publish output
C:\Users\rshoopman\.nuget\packages\ligershark.weboptimizer.core\3.0.384\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 un
intended expansion and cross-applying of pre-existing items. More info: https://aka.ms/msbuild/metadata-self-ref [C:\Users\rshoopman\source\r
epos\...\REDACTED.csproj]
...
For some extra context the project targets .net 7 and uses Typescripts files which msbuild compiles into js files.
I also noticed that those JS files (created from TS) were not getting bundled at runtime, unless I first ran dotnet build in my CI pipeline.
After upgrading to SDK 7.0.401 I'm now seeing this message when doing a
dotnet publish
:For some extra context the project targets .net 7 and uses Typescripts files which msbuild compiles into js files.
I also noticed that those JS files (created from TS) were not getting bundled at runtime, unless I first ran
dotnet build
in my CI pipeline.Thanks