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

  • Home
  • SEARCH
  • 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 909963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:58:05+00:00 2026-05-15T16:58:05+00:00

When I look at my ASP.NET application that hosts a Silverlight project, it has

  • 0

When I look at my ASP.NET application that hosts a Silverlight project, it has a Clientbin folder, inside of which there is a .xap file, the one being compiled from my Silverlight project.

This file keeps being checked into TFS. Is there a way for me to tell TFS to just plan ignore it?

The reason is that once the file is checked in, if I forget to check it back out, it appears Visual Studio will silently (there is a warning, but nothing that prevents me from starting the debugger) fail when building the Silverlight project, so when I debug, it starts the version in TFS, not the version I just built.

What I have to do is either check our, or just plain delete (which also checks out) the corresponding xap files, then build the Silverlight project. When I do that, I notice that Visual Studio puts the file(s) back into the Clientbin directory (if I deleted it, it first undos the delete, but keeps it checked out). Now I can debug the right version of the binary.

So, what am I doing wrong, how can I fix this?

  • 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-15T16:58:06+00:00Added an answer on May 15, 2026 at 4:58 pm

    There is a bug in TFS2008 which caused this error for Web Application Projects (as opposed to Web Site Projects, which should work fine), so at least it’s not your fault. This was fixed in VS2010/TFS2010.

    This thread on the Silverlight forums contains this suggestion:

    We had the same problem.

    I deleted the clientbin folder with the xap in it, checked in.

    On the _Web project, properties, silverlight app, Removed the sl project, save, check in.

    Then I readded my silverlight project.

    It seems to be working for everyone now and isn’t getting readded to source control. I hope that helps out.

    This other thread from the Silverlight forums contains this suggestion:

    Hi, it seems that now in SL 3.0 the things have changed.
    Now we are using the following three steps in order to get the xap correctly published.

    1) Remove any post/pre build script in the SL project.

    2) In the host project (web):
    Make sure the ClientBin.xap file has these settings:
    Build Action: Content
    Copy to Output Directory: Do not copy

    3) In post pre-build event, put the following script:
    attrib -r ….\Sources[WebProject_NAME]\ClientBin[XAPFileName].xap

    For example:
    attrib -r ….\Sources\test.web\ClientBin\sl.xap

    (this last step avoid the “unable to copy the xap file” error from TFS Build)

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

Sidebar

Related Questions

I have an ASP.NET GridView which has columns that look like this: | Foo
I'm using a ASP.NET menu control. I'd like the menu to look like this,
I want to change the standard 3D look of the standard asp.net checkbox to
I need to encrypt and decrypt a querystring in ASP.NET. The querystring might look
Look at this image: alt text http://img139.imageshack.us/img139/4488/picture2ep3.png I know how to add UITableView with
Look at this situation: www.websitea.com displays an img tag with a src attribute of
I look around and see some great snippets of code for defining rules, validation,
Delegates look like such a powerful language feature, but I've yet to find an
Is it possible to look back through the history of a Subversion repository for
Some things look strange to me: What is the distinction between 0.0.0.0, 127.0.0.1, and

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.