I have a windows form through which I am running SSIS package. I have created SSIS packages and kept .dtsx files in the folder.
Now that I'm deploying my solution using one click, how do I add it as an application file?
Currently, the project published properties do not display these files, even if I include it in my solution.
I can not include these files as a resource file, because on the basis of user selection I will select a specific .tsx file, as Entityname_targetname.dtsx path and file name. Because DTS.Application.LoadPAckage method is expected to have a file name and no resource name.
After adding the solution, right-click on the related file and select Properties. Then select the appropriate value in "Copy to Output Directory" it will add files to that folder after your main executable click-on deployment.
No comments:
Post a Comment