Visual Studio provide a Post-build Event Command Line
Common Event Syntax as below:
copy "$(ProjectDir)/your-folder\ your-file" "$(TargetDir)"
e.g:
copy "$(ProjectDir)/Reports\MyReport.rdlc" "$(TargetDir)"
copy "$(ProjectDir)/Reports\MyDocuments.doc" "$(TargetDir)"
copy "$(ProjectDir)/Reports\MyPicture.jpg" "$(TargetDir)"
How to get this event ?
Right click Project property on Solution Explorer.
No comments:
Post a Comment