Solved

visual studio 2010 setup project build fail

Posted on 2010-11-22
3
553 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

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 accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…
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 …

772 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