X and Y -> class library project (.net core) and X and Y has references Z(.net console application) project.
I want to publish Z project but we need to X and Y .dll files.How do I add the files that come out when I build X and Y to my publish folder?
Is it possible that I can do Z.csproj file or Z buid event with macros ?