Can a ReadMe file be added automatically to Build output?
-
giovedì 5 aprile 2012 15:02
I have a ReadMe file identified to my Setup project, but it gets bundled with everything else in the MSI file. Is there any way, short of post-build manual copying, that the file can be included, solo, in the Release folder?
Price Buhrman
- Spostato lucy-liu lunedì 9 aprile 2012 06:16 it is a setup issue (From:MSBuild)
Tutte le risposte
-
lunedì 9 aprile 2012 06:13
Hi BuhrmanP,
In the MSBuild, if we want to add a specified file to the Output folder, we just need to edit our project file, and use the CopyToOutputDirectory task to specifies whether to copy the file to the output directory. more information: http://msdn.microsoft.com/en-us/library/bb629388.aspx
And we also can try to use the copy task to copy our file to specified directory. related thread:
http://stackoverflow.com/questions/5915610/msbuild-project-file-copy-item-to-specific-location-in-output-directory
But in this issue, it is a setup project, I think it will be different , so I will move it to "ClickOnce and Setup & Deployment Projects"forum for a better support.
Thank you for your understanding!
Lucy Liu [MSFT]
MSDN Community Support | Feedback to us
- Modificato lucy-liu lunedì 9 aprile 2012 06:16
- Proposto come risposta Bob Wu-MTMicrosoft Contingent Staff, Moderator martedì 10 aprile 2012 08:58
- Contrassegnato come risposta Bob Wu-MTMicrosoft Contingent Staff, Moderator lunedì 30 aprile 2012 02:53
-
martedì 10 aprile 2012 08:58Moderatore
Hi Buhrman,
I afraid you can’t do this to a setup project file if you are using Visual studio UI. You can try to build it with MSBuild as Lucy’s suggestion.
Best RegardsBob Wu [MSFT]
MSDN Community Support | Feedback to us

