Create Nuget file

Hi,
I have a multi target project. The create nuget file option only appears at the project level and not at the target file.

If I set it I get errors like “Target ‘Island.Darwin.macOS’ is not an Echoes project, and cannot be part of a NuGet package.”

I thought it would ignore the target if it wasnt echoes ?

Cheers,
John

Yes. as documented, generating NuGet packages is a project-level feature, and the package will include all targets.

No ;).

Have I got to have 2 projects ? One that contains targets that generate nugets and another that doesnt

If you want a generate a nuget package from one ore more targets, as well as have code that does not compile to a nuget package, then yes.