Hello @Heiko,
Welcome to Microsoft Q&A forum.
You can try to custom a Target
in .csproj
file like following to copy the file to destination folder automatically after building this project.
<Target Name="CopyFiles" AfterTargets="Build">
<Copy
SourceFiles="XXXX\XXXX\xxxx.dll"
DestinationFolder="XXXX\XXXX"
/>
</Target>
Document: Copy task
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.