Solved

visual studio 2010 setup project build fail

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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

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…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
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…

737 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