Solved

Adding Rpt Files to Clickonce Projects

Posted on 2011-02-11
5
1,171 Views
Last Modified: 2012-05-11
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
Comment
Question by:2dyazilim
  • 3
  • 2
5 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34869660
Select the rpt file in solution explorer and in properties, choose "Embeded Resource" as build action.
0
 

Author Comment

by:2dyazilim
ID: 34869746
Thanks but it is already Embeded Resource. i can include files in normal setup project. i want to make it in ClickOnce Deployment.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34869769
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
 

Author Comment

by:2dyazilim
ID: 34869871
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
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 34869897
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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question