Solved

Adding Rpt Files to Clickonce Projects

Posted on 2011-02-11
5
1,178 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

726 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