# Where to find "Publish Web Site"

**URL:** https://www.finalbuilder.com/forums/t/where-to-find-publish-web-site/473
**Category:** Discussion
**Created:** [May 22, 2007, 5:14am UTC](https://www.finalbuilder.com/forums/t/where-to-find-publish-web-site/473 "2007-05-22T05:14:37Z")
**Posts on this page:** 6
**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: [May 22, 2007, 5:14am UTC](https://www.finalbuilder.com/forums/t/where-to-find-publish-web-site/473/1 "2007-05-22T05:14:37Z")

</div>

Hi,

your examples and the help are not given any idea.

What have I to do to do&nbsp;a "Publish Web Site" (c# solution) and where to set the output path.

Thanks for help.

Christian

---

<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: [May 23, 2007, 2:23am UTC](https://www.finalbuilder.com/forums/t/where-to-find-publish-web-site/473/2 "2007-05-23T02:23:51Z")

</div>

Hi Christian,  
  
You can automate the creation part of a ClickOnce web application using the MSBuild action (or the Build [VS.NET](http://VS.NET) Solution action with “use MSBuild” enabled) , selecting the ‘publish’ target.   
  
However, this will not copy the files to your publish url (if that’s what you mean by “output path”), as that is a feature of the VS2005 IDE which is not automatable.  
  
The files for deployment will be located in the ‘publish’ folder in the same folder as the solution. You will need to do the deployment manually, or by using other FinalBuilder actions.  
  
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: [May 23, 2007, 10:48am UTC](https://www.finalbuilder.com/forums/t/where-to-find-publish-web-site/473/3 "2007-05-23T10:48:52Z")

</div>

Hi Angus,  
  
the MSBuild action didnot accepted the \*.sln file and the Build [VS.Net](http://VS.Net) Solution has no target “publish” - only “deploy” and that fails with “target ‘deploy’ does not exist”.  
  
Regards  
  
Christian

---

<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 24, 2007, 3:09am UTC](https://www.finalbuilder.com/forums/t/where-to-find-publish-web-site/473/4 "2007-05-24T03:09:23Z")

</div>

Hi Christian,  
  
The MSBuild action can only be used for a web site that was created in Visual Studio as a “Web Application Project” (&nbsp;[http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx](http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx) ).   
  
For the standard web project type you will need to use the “Build [VS.Net](http://VS.Net) Solution” with the action set to “Build”.  
  
Regards,  
Paul.

---

<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: [May 24, 2007, 4:33am UTC](https://www.finalbuilder.com/forums/t/where-to-find-publish-web-site/473/5 "2007-05-24T04:33:35Z")

</div>

Hi Christian,  
  
My mistake, sorry. I should have explained that better.  
  
The MSBuild action actually will accept a .sln file, the “failed to load project file” error is actually a bug. I’ll fix it, but it can be ignored safely.  
  
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: [May 31, 2007, 9:32am UTC](https://www.finalbuilder.com/forums/t/where-to-find-publish-web-site/473/6 "2007-05-31T09:32:52Z")

</div>

Well, maybe another option is to introduce a web deployment project. This is a downloadable (Microsoft) Visual Studio add-in. It gives you some extra options for 'compiling' a website.

Next to that, I think it is best practice to let FinalBuilder do all publish stuff.

Jaap.
