# Variables in Include Projects

**URL:** https://www.finalbuilder.com/forums/t/variables-in-include-projects/3402
**Category:** Bugs
**Created:** [October 19, 2011, 11:55am UTC](https://www.finalbuilder.com/forums/t/variables-in-include-projects/3402 "2011-10-19T11:55:18Z")
**Posts on this page:** 3
**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 19, 2011, 11:55am UTC](https://www.finalbuilder.com/forums/t/variables-in-include-projects/3402/1 "2011-10-19T11:55:18Z")

</div>

Hi there,

we have a project with a Variable named "DC02".

(Let's call this "outer project") Default for DC02 in the outer project is "server/iso/setup"

This Project includes another project witch also has a Variable named "DC02".

(the included project will be named as "inner project") Default for DC02 in the inner project is "server/dll/Assemblyname"

&nbsp;

So if I use inside the inner project the Action "Reset Variable to Default" or "Set Varibale" and force there to Defaultvalue,

the defaultvalue of the outer project is beeing used.

&nbsp;

I hope I gave enough informations to solve the problem

&nbsp;

Greeting from Munich

Hermann Gruber

&nbsp;

&nbsp;

---

<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 20, 2011, 2:42am UTC](https://www.finalbuilder.com/forums/t/variables-in-include-projects/3402/2 "2011-10-20T02:42:42Z")

</div>

What is the “Share Host project Variable Namespace” option set to on the Include action? If that is checked then the outer project and the inner project share the same variable namespace. When it’s unchecked the inner project get’s it’s own private variable namespace.

---

<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 21, 2011, 10:23am UTC](https://www.finalbuilder.com/forums/t/variables-in-include-projects/3402/3 "2011-10-21T10:23:04Z")

</div>

Hi Vincent,   
  
 you were right, the “Share Host project Variable Namespace” option was checked.   
 Now it works fine   
 Thank you   
  
 Greetings from Munich   
 Hermann Gruber
