Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1085775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T22:43:52+00:00 2026-05-16T22:43:52+00:00

I am using the following MSBuild command form the command prompt: MSBuild.exe /nologo Server.Website.csproj

  • 0

I am using the following MSBuild command form the command prompt:

MSBuild.exe /nologo "Server.Website.csproj" /T:Package 

on a web application (ASP.NET 4 MVC) that relies on a project reference to a Silverlight project. When building, I get the following error:

"C:\Builds\2\Development\Main Branch Nightly\Sources\Components\Server.Website\Server.Website.csproj" (Package target) (1) ->
(CopyAllFilesToSingleFolderForPackage target) ->
C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(1852,5): error : Copying file Content\ClientBin\Shell.xap to obj\Debug\Package\PackageTmp\Content\ClientBin\Shell.xap failed. Could not find a part of the path 'Content\ClientBin\Shell.xap'.
[C:\Builds\2\Development\Main Branch Nightly\Sources\Components\Server.Website\Server.Website.csproj]

When I omit the /T:Package from the MSBuild call, it seems to work fine. Am I missing something about handing XAPs for build servers on silverlight?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T22:43:53+00:00Added an answer on May 16, 2026 at 10:43 pm

    In the Server.Website.csproj project, under

    <Project>
       <PropertyGroup>
          <SilverlightApplicationList>
    

    the path to the XAP’s project was incorrect. Fixing this issue corrected the problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I publish my web application using msbuild by calling following command: msbuild myweb.csproj /T:Package
Currently I do the following: Create package using msbuild something.csproj /P:Configuration:Some /T:Package After that
I am using following command for start the production server. nohup ruby script/server webrick
the following msbuild Exec statement <Exec Command=curl.exe -f -O --url &quot;$(SourceURL)&quot;> fails if SourceURL
I am using the following command in my MSBuild file to drop a database
I'm attempting to build a WP7 solution file form the command line using MSBuild
Using TeamCity running an MsBuild task for an MVC2 C# application, we successfully run
I am trying to build and deploy a .NET 4 project using MSBuild Web
I'm deploying a web application to my host using Web Deploy. When run from
I would like to create .inf file (for creating .cab file) using msbuild command

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.