# Devenv fails after repeated compile actions in FinalBuilder

**URL:** https://www.finalbuilder.com/forums/t/devenv-fails-after-repeated-compile-actions-in-finalbuilder/2812
**Category:** Bugs
**Created:** [April 12, 2007, 2:17am UTC](https://www.finalbuilder.com/forums/t/devenv-fails-after-repeated-compile-actions-in-finalbuilder/2812 "2007-04-12T02:17:25Z")
**Posts on this page:** 2
**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: [April 12, 2007, 2:17am UTC](https://www.finalbuilder.com/forums/t/devenv-fails-after-repeated-compile-actions-in-finalbuilder/2812/1 "2007-04-12T02:17:25Z")

</div>

I have a scheduled task to run my FinalBuilder project using the command line interface.&nbsp; Each time it runs, it hangs while trying to compile a lot of VS 2005 .NET solutions.&nbsp; A VS error window pops up even though there are no errors in the VS build log.&nbsp; And I get the following error msg logged to the FinalBuilder log file:  
C:\Tools\MSVS8\Common7\IDE\[devenv.com](http://devenv.com) returned Error code : 1   
  
The entire process hangs until I do one of the following:  
&nbsp;&nbsp;&nbsp; -Click Debug  
&nbsp;&nbsp;&nbsp; -Click Don’t Send Error Report  
&nbsp;&nbsp;&nbsp; -Click Report Error  
&nbsp;&nbsp;&nbsp; -Kill devenv  
At that point, my FinalBuilder script fails.&nbsp; The solution file(s) failing in FinalBuilder compile w/o problems in VS.&nbsp; They also compile w/o problems if I rerun the FinalBuilder script and disable the previous compile actions.  
  
I don’t get a bug report.   
I don’t use any custom scripting…only the pre-built actions.  
I am running the latest production copy of FinalBuilder:&nbsp; Version 5.0.0.130.  
  
What is causing this problem?&nbsp;   
  
Thanks,  
Tracey

---

<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: [April 13, 2007, 12:25pm UTC](https://www.finalbuilder.com/forums/t/devenv-fails-after-repeated-compile-actions-in-finalbuilder/2812/2 "2007-04-13T12:25:27Z")

</div>

Hi Tracey  
  
Can you try building the solution from the command prompt (just type [devenv.com](http://devenv.com) /? to get the command line options)? Does the error occur when you do that? Another option you can try is to tell the action to use MSBuild rather than devenv. Also, if you have any other devenv plugins or pre/post build events try disabling them.  
  
HTH
