# VS Solution - Setup project not executed

**URL:** https://www.finalbuilder.com/forums/t/vs-solution-setup-project-not-executed/2643
**Category:** Bugs
**Created:** [June 27, 2006, 4:31am UTC](https://www.finalbuilder.com/forums/t/vs-solution-setup-project-not-executed/2643 "2006-06-27T04:31:56Z")
**Posts on this page:** 5
**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: [June 27, 2006, 4:31am UTC](https://www.finalbuilder.com/forums/t/vs-solution-setup-project-not-executed/2643/1 "2006-06-27T04:31:56Z")

</div>

Hi:  
  
I have tried to execute a Setup Project incorported within a Visual Studio 2005 solution but always get an error message.  
  
The solution has a C# project and a Setup project, the C# project compiles fine, but the Setup project terminates with the error:  
  
C:\Documents and Settings\memory\Mis documentos\Visual Studio Projects\ExcelReader\ExcelReaderSetup\ExcelReaderSetup.vdproj(1,1): error MSB4025: No se pudo cargar el archivo de proyecto. Los datos del nivel de raíz no son válidos. Línea 1, posición 1.  
  
Translated:  
…MSB4025: Could not load the project file. The data at the root level are not correct. Line 1, position 1.  
  
I get this on all my solutions that have a Setup project included.  
  
I have attached the solution file and the projects, as this may help.  
  
Regards,  
Martin Hart Turner.  
Memory Soft,S.L.  
[FinalBuilderBug.zip](https://www.finalbuilder.com/forums/uploads/default/original/2X/9/975ade846c0930f56df717b8d775fd628b98d9d6.zip) (1.771 KB)

---

<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: [June 28, 2006, 1:36am UTC](https://www.finalbuilder.com/forums/t/vs-solution-setup-project-not-executed/2643/2 "2006-06-28T01:36:20Z")

</div>

I’m not able to reproduce this here. Can you post the full log output from the [vs.net](http://vs.net) action and also the project with the action so I can see what settings it is using. Also, which version of FinalBuilder are you using (I’m testing with FB4.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: [June 28, 2006, 9:42am UTC](https://www.finalbuilder.com/forums/t/vs-solution-setup-project-not-executed/2643/3 "2006-06-28T09:42:25Z")

</div>

Vincent:  
  
I’m using version 4.1.0.228.  
  
Please note that the ‘Release’ version is being constructed, I don’t know if this is significant.  
  
I have attached the complete log.  
  
HTH,  
Martin.

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [June 29, 2006, 1:44am UTC](https://www.finalbuilder.com/forums/t/vs-solution-setup-project-not-executed/2643/4 "2006-06-29T01:44:37Z")

</div>

Hi Martin,  
  
Unfortunately, MSBuild doesn’t know how to build VS Setup projects. The quick solution is to uncheck the “Use MSBuild” checkbox on the Build [VS.NET](http://VS.NET) Solution action, or alternatively use individual actions to build each project (including using [VS.NET](http://VS.NET) to build the Setup project.)  
  
Regards,  
  
  
Angus

---

<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: [June 29, 2006, 8:35am UTC](https://www.finalbuilder.com/forums/t/vs-solution-setup-project-not-executed/2643/5 "2006-06-29T08:35:07Z")

</div>

Angus:  
  
Thanks, I unchecked the ‘Use MSBuild’ and it works fine.  
  
Sorry for posting this non-FinalBuilder problem in the FinalBuilder bugs area 😉  
  
Regards,  
Martin.
