itzArun itzArun - 7 months ago 73
C# Question

Include a Folder in ClickOnce Application

I've created a Windows C# project and made it as ClickOnce Application(Publish feature in Project properties) for Installation.
I want to Include a folder which has Crystal Report (rpt) files in it. In my application I have given path of rpt file as my Installation location.
How can I include this folder while publish. So that I need not copy the folder manually.


You have to add the items to the project and mark them as 'Content' (select the item in solution explorer, right click, properties, set Build Action).