dotnet publish include extra files
问题 I have a netcore application depends on my custom project. Because I cannot reference it directly, I have written postbuildevents that are copying my files to output: xcopy "$(SolutionDir)Ethereum.Contracts\bin\$(ConfigurationName)\*.abi" "$(TargetDir)" /Y /I xcopy "$(SolutionDir)Ethereum.Contracts\bin\$(ConfigurationName)\*.bin" "$(TargetDir)" /Y /I It works fine when I build and run project, but when run publish command it doesn't include these files. How can it be done? I tried this