Open nojaf opened 7 months ago
I'll unlist 0.2.0 in the meantime, but I won't be able to look at this for several days.
I can try and take a look if you like. What should the outcome be of this? References or all libraries copied into the nupkg?
All references should be copied for each TFM - nuget should not list any dependencies because they should be internalized to the package (aka setting PrivateAssets=all on the PackageReferences). The net472 target in 0.2.0 looks fine, but the net6.0 one looks wrong to me.
dotnet msbuild C:\Users\nojaf\Projects\KeepAChangelog\src\Ionide.KeepAChangelog.Tasks\Ionide.KeepAChangelog.Tasks.fsproj /t:CopyProjectReferencesToPackage /p:TargetFramework=net6.0 --getItem:ReferenceCopyLocalPaths
does indeed not contain all the assemblies, while /p:TargetFramework=net472
does.
The 0.2.0 upgrade did not work in https://github.com/ionide/ionide-analyzers/actions/runs/7107720510/job/19349694041?pr=49
This seems to be different to what 0.1.8 had:![image](https://github.com/ionide/KeepAChangelog/assets/2621499/ad53153f-4b70-44dd-8492-e17ffdcdecee)
I would suspect that either it needs the dependencies or the binaries.