Solved

visual studio 2010 setup project build fail

Posted on 2010-11-22
3
556 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
[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
  • 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 describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

695 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