Solved

visual studio 2010 setup project build fail

Posted on 2010-11-22
3
554 Views
Last Modified: 2012-05-10
Hi,
    I am creating a Setup and Deployment project using Visual Studio 2010 Professional.

During build time, I get the same error multiple times for different files Unable to build file named 'file_name'.


All I'm doing is setting up certain files to be copied to the destination (preserving the folder structure).

I looked around and found some solutions which obviously did not help.

I have a total of 15,400 files in a sub folder structure.

I tried to set the build properties to

1. as loose uncompressed files
2. in setup file
3. in cabinet files (100 MB)

but all of them fail with the same above error.

Please help!

EDIT: I found some references to maybe having a hash or a version for each file. I'm not sure how to check if this is already enabled or the process on how to enable it.
0
Comment
Question by:visualcortex
  • 2
3 Comments
 
LVL 9

Expert Comment

by:Orcbighter
ID: 34202110
Can you show a section of code where you specify the source and destination of the files?
0
 

Accepted Solution

by:
visualcortex earned 0 total points
ID: 34232147
I guess I found a workaround for my problem. I just build my solution on a machine which has more RAM!

I'm building on a machine with 32 GB RAM now, and I see that devenv.exe is taking up to 2.1 GB when its building the solution. I guess it is loading the entire solution into memory even though I have set the option to build as cabinet files of 100 MB each. The cab files eventually get created, but they just take longer because the entire solution is loaded into memory and then the cab files are created from memory then written to disk.

Thanks for your comment Orcbighter, but I was able to take care of this by myself.
0
 

Author Closing Comment

by:visualcortex
ID: 34272752
I was able to figure out a solution on my own. I guess Experts Exchange does not have solutions for all kinds of problems.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
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…

828 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