Files not merging - "Package reference missing 'compile' part in IncludeAssets"
64ZooLane opened this issue · 2 comments
64ZooLane commented
Files not merging when building.
- Output Window Messages
MSBUILD : warning FodyPackageReference: Fody: The package reference for Costura.Fody is missing the 'compile' part in the IncludeAssets setting; it's recommended to completely remove IncludeAssets - Your Code (small reproducible sample)
I haven't added anything to the code - If there is an exception/crash - provide the full stack trace
Doesn't crash.
Steps to reproduce
- Build
Platform: Windows 10
.NET version: 3.1
Expected behaviour
Tell us what should happen:
Build with all files combined into 1
Actual behaviour
Tell us what happens instead:
Shows that message in the build output and all the files are still scattered.
GeertvanHorrik commented
I think it should work with this:
<PackageReference Include="Costura.Fody" Version="5.7.0" PrivateAssets="all" />
alpha-xdream commented