Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If you take a look at the log file that is generated by your build server, you will probably see something like this...</p> <pre><code>CopySilverlightApplications: Copying Silverlight applications Copying &lt;Path&gt;.xap to &lt;Path&gt;.xap MSBUILD : error : Copying file &lt;Path&gt;.xap failed. No Silverlight project specified for Silverlight output &lt;Path&gt;.xap. [&lt;Path&gt;.csproj] </code></pre> <p>CopySilverlightApplications is a target that is defined in the following file.</p> <p>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets</p> <p>It includes this condition which explains why you are not having the problem when building with Visual Studio.</p> <pre><code>Condition="'$(BuildingInsideVisualStudio)' != 'true'" </code></pre> <p>I have two build definitions where each builds a different configuration. One of the builds was OK (Release) but the other (Nightly) had the problem that you describe. When I looked at the project file for the silverlight application using an XML editor, I saw that although there was a property group with a condition that evaulated to true for Release - there was none for Nightly.</p> <p>I manually edited the file by taking a copy of the property group for Release and adjusted the condition and the OutputPath to suit the Nightly build. <strong>This resolved the issue.</strong></p> <p>I noticed afterwards that if I navigated to the Properties page for the Silverlight project in Visual Studio and swapped to the Nightly configuration using the dropdown in the toolbar, that a new PropertyGroup element was automatically generated for that configuration. <strong>This would probably also resolve the issue.</strong></p>
    singulars
    1. This table or related slice is empty.
    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. 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