# \[Build VS.Net Solution\] Solution - Apply to Project

**URL:** https://www.finalbuilder.com/forums/t/build-vs-net-solution-solution-apply-to-project/3996
**Category:** Feature Requests
**Created:** [November 13, 2008, 7:54am UTC](https://www.finalbuilder.com/forums/t/build-vs-net-solution-solution-apply-to-project/3996 "2008-11-13T07:54:12Z")
**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: [November 13, 2008, 7:54am UTC](https://www.finalbuilder.com/forums/t/build-vs-net-solution-solution-apply-to-project/3996/1 "2008-11-13T07:54:12Z")

</div>

On the 'Build VS.Net Solution' action,

I hope to select projects (Solution tab -\> Apply to Project) by variables, not just by selecting checkbox.  
(to put in the Action Lists)

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [November 13, 2008, 10:44am UTC](https://www.finalbuilder.com/forums/t/build-vs-net-solution-solution-apply-to-project/3996/2 "2008-11-13T10:44:53Z")

</div>

Hi DongHo,   
  
 You can use the ‘BeforeAction’ script event to select which projects to build using variables, the script will be:

```
Action.SelectedProjects.Clear
Action.SelectedProjects.Add(YOUR_VARIABLE)
```
   
  
 This will clear the currently selected projects and select the project as defined in the %YOUR\_VARIABLE% variable.   
  
 Regards,   
 Paul.
