Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This is how you build via the Command line (using TeamCity)</p> <p>Pre-requisites)</p> <p>First make sure you have not checked in the extensions directory, this can cause issues when building.</p> <p>Check that you have installed any visual studio extensions on the build machine .ie ExtensionsMadeEasy. You can test this by opening the solution in visual studio on the build machine and trying to do a build.</p> <p>Lastly, in TeamCity do not use the msbuild task, use command line to call msbuild.</p> <p>Step 1) </p> <pre><code>msbuild.exe mylightswitchproject.lsproj /p:OutDir=C:\test\stuff\;configuration=Release </code></pre> <p>Step 2) Create a bat file to copy your output to the correct folder structure.</p> <pre><code>robocopy C:\test\stuff\bin C:\test\localrelease\bin *.* /MIR robocopy C:\test\stuff\Resources C:\test\localrelease\Resources *.* /MIR robocopy C:\test\stuff\Web C:\test\localrelease\Web *.* /MIR robocopy C:\test\stuff\ C:\test\localrelease\ ClientAccessPolicy.xml robocopy C:\test\stuff\ C:\test\localrelease\ default.htm robocopy C:\test\stuff\ C:\test\localrelease\ Home.aspx robocopy C:\test\stuff\ C:\test\localrelease\ Login.aspx robocopy C:\test\stuff\ C:\test\localrelease\ LogOff.aspx robocopy C:\test\stuff\ C:\test\localrelease\ Silverlight.js robocopy C:\test\stuff\ C:\test\localrelease\ web.config </code></pre> <p>You can now take this folder and release it to the next environment.</p> <p>Finally, if you want to create a web deployment package, out the box visual studio 2010 does not support this. However, you can copy this into an existing website then "Export" your application into a package that is then ready for web deployment via powershell.</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. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    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