# "vcproj not found or not valid"

**URL:** https://www.finalbuilder.com/forums/t/vcproj-not-found-or-not-valid/3156
**Category:** Bugs
**Created:** [October 5, 2009, 6:02am UTC](https://www.finalbuilder.com/forums/t/vcproj-not-found-or-not-valid/3156 "2009-10-05T06:02:09Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 5, 2009, 6:02am UTC](https://www.finalbuilder.com/forums/t/vcproj-not-found-or-not-valid/3156/1 "2009-10-05T06:02:09Z")

</div>

[edit]   
 sorry, wrong section, please move to FinalBuilder bug reports   
 [/edit]   
  
 Hi there,   
  
 FinalBuilder copies the projects to build to a new file, containing platform information, replacing $(ProjectDir) with its actual path and so on.   
 For example, if Test.sln consists of one project Test.vcproj, FinalBuilder copies that project to a file called Test.tmp\_Debug\_Win32.vcproj for that configuration.   
  
 Since we upgraded from 6.3.0.1506 to build 1706 (and later to 1739) we encounter from time to time an error, saying:   
  
 TestBuild.fbp6 : Action error “Build [VS.Net](http://VS.Net) Solution [D:\Test\Test.sln]”: ERROR in VCBUILD(0,0) : project file ‘D:\Test\Test.tmp\_Debug\_Win32.vcproj’ was not found or not a valid project file.   
  
 When browsing to that directory, this file still exists and is valid (loads perfectly in VS2008). So it seems to me, Finalbuilder starts to copy it, tries to access it immediately, but it has not been converted completely yet and FB breaks with an error.   
  
 When queuing the same build again, it runs without errors.   
 The error rate seems to be between 1/10 to 3/10.   
  
 Any ideas?   
 Thanks in advance,   
 Hans

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [October 7, 2009, 4:58am UTC](https://www.finalbuilder.com/forums/t/vcproj-not-found-or-not-valid/3156/2 "2009-10-07T04:58:06Z")

</div>

Hi Hans   
  
 This may just be windows playing tricks with disk caching etc. Try adding a small delay between copying the file and running the [vs.net](http://vs.net) action. Even just a few ms might be enough.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 7, 2009, 6:39am UTC](https://www.finalbuilder.com/forums/t/vcproj-not-found-or-not-valid/3156/3 "2009-10-07T06:39:04Z")

</div>

Hi Vincent,   
  
 i’m not copying the file, I thought FinalBuilder would do this automatically, just before to executing the project?   
  
 Greetings, Hans

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 9, 2009, 9:02am UTC](https://www.finalbuilder.com/forums/t/vcproj-not-found-or-not-valid/3156/4 "2009-10-09T09:02:55Z")

</div>

Hi,   
  
 today another error occurred, probably it’s related:   
  
 Error Parsing Solution File : Error parsing project file : Not enough storage is available to complete this operation.   
  
 There is plenty of free disk space on all partitions (at least 50GB+), so this cannot be the matter.   
  
 Greetings

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [October 9, 2009, 10:24am UTC](https://www.finalbuilder.com/forums/t/vcproj-not-found-or-not-valid/3156/5 "2009-10-09T10:24:04Z")

</div>

Hmmm… sounds like a possible resource leak. It could also be a graphics driver issue (I have seen that before, especially with ATI cards). One thing you should do for long running builds is turn off Live Logging, as it can be a resource hog and is really only designed for debugging use.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 9, 2009, 11:32am UTC](https://www.finalbuilder.com/forums/t/vcproj-not-found-or-not-valid/3156/6 "2009-10-09T11:32:06Z")

</div>

This is a TFS triggered build, only using FBCMD, no UI…

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [October 9, 2009, 1:51am UTC](https://www.finalbuilder.com/forums/t/vcproj-not-found-or-not-valid/3156/7 "2009-10-09T01:51:50Z")

</div>

The “ERROR in VCBUILD(0,0)” message is coming from devenv or msbuild (hard to tell since you haven’t given us much to work with). FinalBuilder doesn’t copy the files, that is done by TFS to the TFS working folder.   
  
 The “Not enough storage is available to complete this operation.” error message is from the MSXML parser when trying to load a vcproj file. Both of these errors seem to be resource related, most likely memory. If this machine is running SQL Server then it may be that it is hogging the system memory.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [October 9, 2009, 1:59am UTC](https://www.finalbuilder.com/forums/t/vcproj-not-found-or-not-valid/3156/8 "2009-10-09T01:59:41Z")

</div>

I did some more googling on the storage error, and it’s usually associated with an out of memory exception. It’s also quite common on TFS servers that have been running for a while, especially on 32 bit systems. Usually a reboot resolves the problem for a while.   
  
 HTH

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [October 9, 2009, 2:05am UTC](https://www.finalbuilder.com/forums/t/vcproj-not-found-or-not-valid/3156/9 "2009-10-09T02:05:11Z")

</div>

Another possible cause is a bug in msxml 4.0, please try updating to msxml 4.0 sp3 :   
  
 [http://www.microsoft.com/downloads/details.aspx?familyid=7F6C0CB4-7A5E-4790-A7CF-9E139E6819C0&displaylang=en](http://www.microsoft.com/downloads/details.aspx?familyid=7F6C0CB4-7A5E-4790-A7CF-9E139E6819C0&displaylang=en)
