?
Solved

VB.NET Project with report files in a sub-folder, Problem with Deployment

Posted on 2013-12-12
10
Medium Priority
?
798 Views
Last Modified: 2013-12-16
I've created a VB.NET project with a sub-folder which contains report files. When I build the exe and dependent components are placed in the Release folder and a sub-folder is created in which the report files and vb files are placed. (the build action for the report file is set to content)

When creating the deployment project, I add the Primary output form MyApp to the application folder. It does not create the sub-folder and include the report files.

Is this because of the build action of the report files?

Mark
0
Comment
Question by:etsellinc
[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
  • 6
  • 4
10 Comments
 
LVL 16

Expert Comment

by:Kalpesh Chhatrala
ID: 39715919
Hi,

Change Build action to Copy File and try to build again.

you need to add Report file separately in deployment project. create Sub Folder in Application folder (deployment project) and add reports file in that folder.
0
 

Author Comment

by:etsellinc
ID: 39717189
Well, it's more complicated than I thought. Now that I have added the installer project to the solution the project will no longer build to the "bin\Release\" folder. Can't figure out where the thing is building to.

Adding an installer project to the solution messed all kinds of things up. I will need some time to work figure out what is going on.

Mark
0
 

Author Comment

by:etsellinc
ID: 39721383
I was hoping for an automated method. There are many report files and several developers. When it comes time to the build, I don't want to check file for file to be sure they are all there.

Mark
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 16

Expert Comment

by:Kalpesh Chhatrala
ID: 39721413
Hi,

you need to try Click Once Installation. check below ClickOnce Tutorial

http://www.codeproject.com/Articles/17003/ClickOnce-Quick-steps-to-Deploy-Install-and-Update
0
 

Author Comment

by:etsellinc
ID: 39721460
Thanks kalpesh2804,

The application is distributed to multiple locations. Currently we are using a paste to add or change files for the application.

There are unique files to each location which would be the problem for Click Once. We use an INI file to pass specific information to the application which currently resides with the EXE file. Since there is no true EXE, how would I pass the INI file information?

I have considered the Click-Once but have been unable to implement.

Mark
0
 
LVL 16

Accepted Solution

by:
Kalpesh Chhatrala earned 2000 total points
ID: 39721497
Hi,

you can create different installation project for different location.

Please check InstallShield Limited Edition. It's free.

http://learn.flexerasoftware.com/content/IS-EVAL-InstallShield-Limited-Edition-Visual-Studio
0
 

Author Comment

by:etsellinc
ID: 39721511
Thanks kalpesh2804,

InstallShield Limited Edition is not available for VS2008.

Mark
0
 

Author Closing Comment

by:etsellinc
ID: 39721796
Thanks kalpesh2804,

I downloaded the 2012 version and tried it. It would not attach to the project but it was easy enough to create an install.

Since the MS Installer destroys the way the build progresses and does not know how to work with sub-folders and those files within, I believe that this may be the best solution.

It's not what I was looking for. Maybe I expect too much.

Mark
0
 
LVL 16

Expert Comment

by:Kalpesh Chhatrala
ID: 39722040
use InstallShield Limited Edition in VS 2012. In InstallShield you can add Folder.
0
 

Author Comment

by:etsellinc
ID: 39722318
Thanks kalpesh2804,

I'll try that.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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 …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month8 days, 17 hours left to enroll

765 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