KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
My solution has two projects. One is my actual project and another one is setup project. My actual project has one report folder where I store my all ssrs report. I have one folder in the setup project called "SSRS_Repor". Now I want that when I will do a batch build then setup for my project regenerate, and then I want to copy all files from the report folder of my actual project to SSRS_Repor in my setup project. If I can do this kind of automation of copying files from one location to another folder of my setup project, then I could be get rid of manual copying of rdls files. I heard this is possible by setup/deployment projects. I searched Google for this for details step-by-step instruction, but I didn't get any good links. So please guide me how can I do it. I posted it to another forum too, and some one told me below this: Open or create a setup/deployment project in Visual Studio 2005 Press F4 to display the Properties window Click on the name of your setup/deployment project in the Solution Explorer Click on the PostBuildEvent item in the Properties window to cause a button labeled "..." to appear Click on the "..." button to display the Post-build Event Command Line dialog Add a command line of your choice in the Post-build event command line text box Build your project in Visual Studio and verify that the post-build event is executed after the main MSI build So it is OK, but what do I need to write for copying files from one location to another location? That is not clear to me. So now this is most important for me what to write for copying file during setup generation. I got another clue like below one. A script for setup Pre/Post Build Event, but not aware properly. I got a sample like copy /Y "$(TargetDir)$(ProjectName).dll" "$(SolutionDir)lib\$(ProjectName).dll" The above statement or line is not clear to me. What do I need to write in my case? I need
Tags (comma-separated)
Save Edits
Cancel