Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
64ZooLane opened this issue Jun 17, 2022 · 1 comment

Comments

@64ZooLane
Copy link

64ZooLane commented Jun 17, 2022

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

  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
Copy link
Member

I think it should work with this:

<PackageReference Include="Costura.Fody" Version="5.7.0" PrivateAssets="all" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants