# Compile Silverlight project?

**URL:** https://www.finalbuilder.com/forums/t/compile-silverlight-project/1207
**Category:** Discussion
**Created:** [May 18, 2009, 8:54am UTC](https://www.finalbuilder.com/forums/t/compile-silverlight-project/1207 "2009-05-18T08:54:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![kturner](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/kturner/32/60_2.png) [@kturner](https://www.finalbuilder.com/forums/u/kturner)
#### Post date: [May 18, 2009, 8:54am UTC](https://www.finalbuilder.com/forums/t/compile-silverlight-project/1207/1 "2009-05-18T08:54:21Z")

</div>

What is the best way to compile a Silverlight 2 project using FinalBuilder?&nbsp; For my other C# projects I&nbsp;use the C# compiler but I'm not having any luck using csc.exe to compile a Silverlight project.

Thanks,

-KIRBY

---

<div class="post-metadata">

### Author: ![kturner](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/kturner/32/60_2.png) [@kturner](https://www.finalbuilder.com/forums/u/kturner)
#### Post date: [May 18, 2009, 9:43am UTC](https://www.finalbuilder.com/forums/t/compile-silverlight-project/1207/2 "2009-05-18T09:43:52Z")

</div>

I may have answered my own question. The msbuild action should work. I’ll verify later and post a reply once I know for sure,   
  
 -KIRBY

---

<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: [May 19, 2009, 3:18am UTC](https://www.finalbuilder.com/forums/t/compile-silverlight-project/1207/3 "2009-05-19T03:18:08Z")

</div>

Hi Kirby,   
  
 I’d assume the MSBuild action would be the way to go when building a Silverlight application as Visual Studio typically (though not always) will execute msbuild under the covers when building from the IDE.   
  
 Regards,   
 Paul.

---

<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: [May 19, 2009, 5:09am UTC](https://www.finalbuilder.com/forums/t/compile-silverlight-project/1207/4 "2009-05-19T05:09:39Z")

</div>

You're right, Paul. MSBuild is the way to go. I&nbsp;wasn't able to find any other way using the command line compiler.

-KIRBY
