Solved

Adding Rpt Files to Clickonce Projects

Posted on 2011-02-11
5
1,164 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 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