Closed trnktms closed 2 years ago
The issue with contentFiles is that you can't opt out of it - all or nothing approach. If you have any example of any other sitecore module using it successfully let me know so I can investigate. The other issue is due to the large amount of .exe files, duplicating them in the package increases it a lot.
Version of Dianoga
5.4.1
Reproducible steps that cause the issue
content
folder is not copied from the NuGet packageWhat you expected to see, versus what you actually saw
Current behaviour
content
folder is not copied from the NuGet package on NuGet restoreExpected behaviour
content
folder is copied from the NuGet package on NuGet restorePossible fix
Next to the
content
folder in the NuGet package, create anothercontentFiles
folder with the same content in it - https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files.