Fody / Costura

Embed references as resources
MIT License
2.37k stars 273 forks source link

Files not merging - "Package reference missing 'compile' part in IncludeAssets" #820

Open 64ZooLane opened 2 years ago

64ZooLane commented 2 years ago

Files not merging when building.

Steps to reproduce

  1. 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. image image

GeertvanHorrik commented 2 years ago

I think it should work with this:

<PackageReference Include="Costura.Fody" Version="5.7.0" PrivateAssets="all" />
alpha-xdream commented 1 month ago

image This is because you created a console application instead of a .net framework application.