Solved

visual studio 2010 setup project build fail

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now