Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Assuming you do <strong>not</strong> have Visual Studio 2010 installed on your hudson server, then it may be that you are missing the publishing "targets" file. After a lot of head-to-desk banging, I finally solved this.</p> <p>For quite a while I have known that I needed to copy the directory </p> <blockquote> <p>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications</p> </blockquote> <p>from my local machine with VS2010 to my server in order to get the project to <strong>build</strong>. But to get the project to also <strong>publish</strong> I needed to also copy over the directory </p> <blockquote> <p>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web</p> </blockquote> <p>Note: In my case I am actually committing those folders to my source control and changing the <code>&lt;MSBuildExtensionsPath32&gt;</code> value in my csproj file to point to these checked out folders (so there is one less step when prepping a server). This isn't necessary to get it to work, but you may want to consider this after you solve your issue.</p> <p>UPDATE: So after I did the above, the build complained that it could not find "Microsoft.Web.Deployment.dll". To solve this I needed to install <a href="http://www.microsoft.com/download/en/details.aspx?id=25230">Microsoft Web Deploy v2.0</a> on the server <strong>even though I am only publishing to the file system</strong>. I guess I can see the logic in this.</p> <p>UPDATE: I have discovered that installing "Visual Studio 2010 Shell (Integrated)" through the IIS Web Platform Installer will install the required build targets. This seems like a nice compromise between not having the entire Visual Studio application installed on your server and not manually copying seemingly arbitrary folders to your server from your dev machine.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload