Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1279
  • Last Modified:

Adding Rpt Files to Clickonce Projects

Hi, i have a desktop application and it is using rpt files. now i want to deploy my project with Clickonce. Every thing is well but i coulnd't load rpt files to my clickonce project. I am using MageUI.exe to modify .manifest file. can any body explain or any body has sample project?
0
2dyazilim
Asked:
2dyazilim
  • 3
  • 2
1 Solution
 
CodeCruiserCommented:
Select the rpt file in solution explorer and in properties, choose "Embeded Resource" as build action.
0
 
2dyazilimAuthor Commented:
Thanks but it is already Embeded Resource. i can include files in normal setup project. i want to make it in ClickOnce Deployment.
0
 
CodeCruiserCommented:
If it is embeded resource, you do not need to include these in setup as these are already embeded in the exe itself. Though you need to use the reports as classes rather than files.

e.g
        Dim MyReport As New InvoiceReport
        MyReport.Load()
0
 
2dyazilimAuthor Commented:
It think you misunderstood the problem. I want to make it in Clickonce. my deployed clickonce application does not include rpt files. there is not any code problem.
0
 
CodeCruiserCommented:
If the rpt files are embeded in the exe file, YOU DO NOT NEED TO DEPLOY THEM SEPARATELY same as you do not need to deploy the vb files.

If you still want to try doing that, click on Application Files button on Publish tab and select "Include" against each rpt file.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now