Website project automatically remaps local workspace directories TFS & VS 2013

Hi,
I have some odd behaviour with one of my code projects, a web site project, which has library projects attached to it to form the overall solution.  When I imported the solution into TFS, I recreated the folder structure that would normally be created
when you create such a project locally, the library projects being stored with the "Projects" folder along with the solution .sln file and the actual website files (aspx/aspx.cs) stored within the "Websites" folder.
This structure until recently has been working very well, however when I clicked "Get Latest Version" recently, it very successfully decided to delete all my recent work within the "Websites" folder, all the web site front end code.
After some investigation it appears as though through some automatically process that all the websites folder files have been moved into the projects folder.  I tried to correct this within the TFS server, which appears to have been successful, however
after resetting my local workspaces and re-downloading the code files and then after opening the .sln file itself -- it then tries to "correct" the structure and moves all the Website folder files back into the projects directory.  This behaviour
appears to be specifically related to opening the .sln file rather than grabbing the code from TFS.  It also automatically (and repeatedly despite my attempts) creates a new folder mapping within the Workspace to support this new structure.
I've tried working through this, with a number of different methods to try and resolve it, including deleting the project file locally and starting again, the thing is very insistent that it knows best, rather than how I've configured it.
It's rather distressing that as a result of this that I've lost some of my recent work.
Can anybody advise?  I've never seen this odd behaviour before from TFS, I did wonder if a recent patch to the TFS may be responsible?
much appreciated,
Regards Phill.

Hi Phill,     
Thanks for your post.
You’re using TFS 2013 Update 4 and VS 2013 Update 4?
After you performed Get Latest Version on your solution, all your recent work(web site front end code) be deleted from your Website folder?
Have you checked the Website folder content in your VS>>Source Control Explorer, this same issue also shows in Source Control Explorer or if only happened in your local workspace folder after you performed Get Latest Version on your solution?
If the Website folder structure and content show correctly in Source Control Explorer, please logon another client and reproduce this scenario on in this 
another  client, check if the latest Website folder shows correctly on that another client’s local workspace folder.
If get latest version works fine on another client, it seems this issue only happened on your client, you can try below two ways to resolve it:
Remove your current Workspace and local workspace folders, then create a new Workspace and mapping in this new Workspace.
Try to clean the cache on your client manually(delete the content of the folder only, not the cache folder itself),
the cache folder path on client is: C:\Users\username(Team Explorer user name)\AppData\Local\Microsoft\Team Foundation\5.0\Cache.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Index.html pages in local sub-directories will not load automatically when sub-directory name entered into address field, followed by a forward-slash

    I am in the process of designing a website-on-a-CD. In order to make things easier for my clients, I decided to organize this site into local sub-directories with an index.html page in each one. However, when I try to enter the local sub-directory name, followed by a forward-slash, the index page does not open automatically. Instead, I get a raw directory listing that includes the index.html file, and anything else that is present within it. I would like to know if there is any way to force this page to load automatically within Firefox from a local storage medium as it would load from a web-server.

    You need to use file:// as the protocol instead of C:/. The latter may never work (C:\ might).
    Where is the main HTML located ?
    Easiest if to store the images in a sub folder of the location because you can't go back via ../ beyond that root location for security reasons.
    See:
    *http://kb.mozillazine.org/Links_to_local_pages_do_not_work

  • How can I add a Website Project in a solution that should be excluded from source control?

    Using VS 2013 update 4
    I currently have a solution with a couple of Class Library Projects and Web Application Projects and all of these are bound to a source control (VS Online). Now I added an Existing Website Project in the same solution by choosing a Local IIS instance. However,
    I don't want this Website Project to be in source control.
    I have tried File > Source Control > Advanced > Change Source Control ... and then clicked on the website project and then clicked Unbind. By doing this, it seems that the project was unbound. However, as soon as I close the solution it asks me
    to save the .sln file and seems that it restored the Scc*** info in the file.
    I also tried editing the .sln file and set the SccProjectEnlistmentChoice* = 0 (of the website project, under GlobalSection) and then set the ProjectSection of the WebsiteProject to 
    SccProjectName = ""
    SccAuxPath = ""
    SccLocalPath = ""
    SccProvider = ""
    instead of "SAK". This actually worked for me but everytime I open the solution, Visual Studio alerts an error saying "Unspecified error". This is the closest I got into solving this.
    Is there a proper way of doing this? I think the proper way should be the "Unbind" method but it seems that it's not working as expected.
    Let me know of other solutions.
    Cheers!

    Hi Karlo Medallo,
    Since this issue is related to the VS Online, I am moving your thread into the
    Visual Studio Online
    Forum for dedicated support. Thanks for your understanding.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SSAS loses connection to local workspace

    I seem to be running into this quite regularly these days. I'm editing an SSAS tabular model, filtering data in the views in VS 2012 to verify that calculations are working, and I get this:
    The result is that any work you've done since you last saved is lost, because you won't be able to save. It's really getting quite frustrating.
    I did find a post online that went over how you could recover your work from your local workspace SSAS install by reverse engineering/scripting the cube out of it, but that's really not an option in my case since I'm using source control and can't dump my
    project history every time this happens (and it happens multiple times a day now).
    Does anyone know of a workaround for this issue before I open a support incident? Thanks.
    Edit: Seems that screenshots don't get persisted to the messages in MSDN forums anymore. Here's the text of what would have been in the screenshot:
    "cannot complete the operation because there is no connection to the workspace database that contains the model currently being edited"
    Specific steps to re-create. Filter any column in the tabular designer, and when you go to clear the filter if you hit clear before the list of available values populates in the box below, it'll lose connection to the workspace server, and everything will
    be lost. Any attempt to save will result in:
    "Unable to save the file Model.bim. Reason: The file cannot be saved because it is marked as readonly"
    Some posted elsewhere about getting past this issue by un-setting the Model.bim file as read-only, or unsetting the entire project directory and it's contents as read-only,  but that has not worked on any workstation I have ran into this problem with.
    I suspect this is only one of several ways to cause the issue - I know about this one, I try and avoid it, and I still run into problems occasionally.

    Hi K Dahl,
    According to your decsription, you can't save the bim file and it throw the above error. Right?
    In Analysis Services Tabular mode, this error occurs if the tabular designer has lost the connection to the workspace database server at some point during the editing session. However, there is a way to recover the work you did since the last save of the
    model. Please refer to a blog below:
    Recovering your model when you can’t save the BIM file
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Code Signing the binaries in WebSite Project

    Hi,
    To do code signing automatically when building the project, Post-build
    event is used. Command-line will be given in post-build event and signing,timestamping will be done on successful build. Post-build event option is available for Windows Application,Web Application. But for WebSite Projects, there are
    no post-build events.
    Kindly let me know is there are any alternate option for automatically signing
    the Website Project after publishing the project. Please let us know if there is any option
    through IDE.
    Shankar S

    Well, a few weeks ago this site used a .dmg as an example, but since have changed the example to be for .app:
    http://www.digicert.com/code-signing/mac-os-codesign-tool.htm
    And I misunderstood the development team I support.  I thought they were signing their .dmg with a self-signed test certificate during development but it turns out they were not. 
    Can someone from Apple Support please list the file types that codesign in OS 10.6.7 will sign?

  • How to use a java class in difference project under a same workspace!

    Hi, there:
    I have a problem. I want to reuse a java class which is located in another project of the same workspace. I do not know how to set the two project setting or how to import the java class. I deeply appreciate.
    Sheng-He

    include it as a library
    open project settings goto libraries and simply add your class

  • How to hide different Viual Studio Projects from each other in one TFS Team Project with areas?

    Hi,
    at the moment I try to set up a "good" architecture for projects in TFS for our company.
    As often mentioned in TFS documentation we try to reduce the number of Team projects in our company which is organized in different business units (BUs).
    One great Team project shall contain a number of different Visual Studio projects, each one belonging to a separate BU.
    The grouping is as follows:
    Global Team project
           Business Unit A
                         Visual Studio Project A1
                         Visual Studio Project A2
           Business Unit B
                         Visual Studio Project B1
                         Visual Studio Project B2
    The programmers in business unit A must not see the Visual Studio projects of Business Unit B, but both groups (A an B) use the same process model (that is the reason why we try to group them in on team project).
    I try to put all the projects from both BUs in one TFS team project and separate them logically by an Area hierarchy like mentioned above.
    But areas only separate work items from each other, not Visual Studio projects.
    In Source Control Explorer I can only assign security issues on team project level (Global Team Project), not on business unit level.
    So every developer in BU A can see the Visual Studio projects in BU B...
    How can I model these dependencies?
    Regards and thanks
    Lothar

    Hi Lothar, 
    Thanks for your post.
    What’s the version of your TFS and VS?
    In Source Control Explorer, you can right-click on Business Unit A folder and select
    Advanced>>Security… to deny other group(s)’ access permissions on this folder. Then use the same way to set permissions on Business Unit B folder too.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to convert an NWDI project into a Local project?

    Hi Experts,
    Please tell me " how to convert an NWDI project into a Local project? "
    If you c

    Hi Srini
    1. Copy/Paste Webdynpro components in the new project as was suggested before
    2. Or create new project, copy _comp folder from old project to the new one. But, do not forget to update .dcdef & .project files manually after this. You have to set the correct project name in .dcdef and set the correct local project path in .project.
    BR, Sergei

  • Unwanted websites appear automaticly, some are detected malware with my antivirus program, how to block this

    unwanted websites connect automatically without clicking anything, mainly survey requests and some are blocked as dangerous by my antivirus program How can I avoid this connections.

    Do a malware check with some malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Search help for local system directories in ABAP program

    Hi all,
    Can anyone tell the standard search help available for local system directories on the client system?
    Regards,
    MVD

    Hi,
    You can use this FM.
    <b>RZL_READ_DIR_LOCAL</b> - Get list of files within specific directory(Application Server)
    *& Report  ZDIRFILES                                                   *
    REPORT  ZDIRFILES    .
    PARAMETER: p_fdir            type pfeflnamel DEFAULT '/usr/sap/tmp'.
    data: begin of it_filedir occurs 10.
            include structure salfldir.
    data: end of it_filedir.
    *START-OF-SELECTION
    START-OF-SELECTION.
    * Get Current Directory Listing for OUT Dir
      call function 'RZL_READ_DIR_LOCAL'
           exporting
                name     = p_fdir
           tables
                file_tbl = it_filedir.
    * List of files are contained within table it_filedir
      loop at it_filedir.
        write: / it_filedir-NAME.
      endloop.
    Or
    <b>FILE_GET_NAME</b> - Retrieve Logical file path.
    Use Transaction 'FILE' to view/create logical file paths
    Hope this will help.
    Regards,
    Ferry Lianto

  • Function to bounce single tracks of a project automatically?

    Hi guys
    Is there any function i can use on logic 9, which bounces all the single tracks of a project automatically?
    I have to bounce everything in Audio, cause I am about to send the stems to someone..
    The project has 88 tracks so its quite a job to do it manually..
    Ca anyone help me?
    cheers!
    Jon

    Hi !
    Thx for the answer!
    It worked, but it bounces the tracks without the volume settings..
    Means that the tracks doesn't fit each other what volume concerns..
    I think I will have to do it manually
    cheers

  • Repository Viewing inhibited (local workspace error)

    When opening LifeCycle Workbench I encounter the following Exception:
    "An error was encountered while trying to reference the local workspace. Repository Viewing inhibited."
    Another error that may (or may not) be related occurs when I attempt to drag a pdf resource from Workbench to the desktop (or any folder).
    DOWNLOAD FAILURE
    "Resource not downloaded due to a failure. Could be permissions, or network connection failure."
    This has just started happening.
    I have admin rights to my machine.
    Nobody else on the temp is having this issue.
    Any and all assistance is appreciated.
    Also posted under Download failure topic

    It worked. Boy that was painless. Thank you very much. My frustration level for the product just went down one (1) notch.
    Thanks Again.

  • Project dependencies in a Workspace (10g)

    When I try to deploy something from a project, the IDE tries to compile all projects in that workspace, even if there are no dependencies between the projects. This means that I have to either remove the offending project(s) from the workspace or resolve all issues in all projects before deploying from any one of them.
    Is this by design? I don't want to have to make a workspace per project to avoid this.

    John
    Make sure that there really are no dependencies.
    In JDeveloper 10g Preview you can do a "Full Text Search" in the help on "About Project Dependencies" and you 'll see this is a "Topic Title".
    In that topic there are sections about "Project-to-Project Dependency" and "Project-to-Profile Dependency". I hope it can help you, it confused me.
    My conclusion until now : dependencies are not implemented very intuitively
    success
    -Jan

  • Reference a project in a different workspace?

    Is it possible to reference a project in a different workspace (aka application)?
    Or are you restricted only to the projects in the same workspace?

    I'm not quite sure what you mean by "reference." If it's just a matter of coding against the classes you've developed in another workspace, you certainly can--even if you don't want to deploy the project as a library. Just set your current project's "additional classpath" to include the "classes" directory of the project you want to use.
    Even if, say, you want to use business components from the other project, you can "import" the other project's business components (select the business component package XML file to import them).
    If you want to do something fancy, like actually ensure the other project gets rebuilt every time one of your projects gets rebuilt, then I think the only way to go is to add the project to the current workspace. (A project can be in more than one workspace; just "add to workspace" and browse to the other project's jpr file.) I'm not terribly sure I recommend this except in extremis, though--if a project is open in two workspaces, dealing with, e.g., whose job it is to actually change files in it can be difficult.

  • Disabling local home directories breaks the software update

    Hello,
    I have my mac authenticating to a win2003 server and have disabled the local home directories but now the software update gives an error when it tries to download to the networked home directory library...etc....I have checked and rechecked the permissions... has anyone else had this problem?
    All suggestions welcome.
    Thanks
    Lori

    Well, after several hours on the phone, I'm convinced that somehow my ISP is blocking the Software Update address. Soft. Update works when I connect to other networks.
    I asked Apple for the address that Software Update is trying to connect to, but they wouldn't give it to me. Privacy and Security issues for them, apparently. Consequently, I don't have a web address to Ping. That was a good idea , though. My ISP couldn't seem to help me. So, at this point I'm not sure what else I can do except...
    In a month, my satellite internet provider is sending a stand alone sat-modem that I'm going to use instead of the set up I have now: involving a USB modem and sharing the internet connection through a specific computer that always has to be on and connected. (the satellite internet is a "one way" system that uses dial-up for the uplink and comes high-speed back down through the satellite) This new modem will serve as the dial up modem and also has two ethernet connections so I can send one directly to my router and the other to my wired desktop. I hope by taking the host computer out of the equation I'll also solve this issue. Who knows.
    Anyway, thanks for the info. I appreciate your feedback and if you have any other ideas, I'd love to see them.
    ben kaufmann

Maybe you are looking for

  • Connecting Log & Capture to an External Display

    Forum, I am using FCP for my current project. While logging footage from my camera I thought it would be easier if I could hook up the Preview area of the Log & Capture window to an external device such as a display. Is this possible? How do I achiev

  • Chooser not finding a port

    My printer is not connecting, the chooser is not able to choose a port, i inadvertlantly changed the settings, and don't remember how to get back there, can you help?

  • How do I troubleshoot error messages 'unfortunately, Contacts (Messaging, Exchange, etc.) has stopped'?

    Hi - I keep having to hit 'ok' to get rid of these error messages on my Galaxy S4. I can't text or search my contacts. I don't want to do a factory reset either especially since I am uncomfortable with losing my WhatsApp history. Help?

  • Ongoing kernel panics... what is going on!?

    Within the past month, my Macbook Pro has been having an increasing amount of kernel panics (black screen all of a sudden and powered off, takes about a minute before it will turn on again). It will happen at any time. Even when my computer is not bo

  • Can't see files on shared network computer - help...

    I have an iMac with OS 10.6.3 and am using a Linksys router. I cannot connect wirelessly to it (another issue), but I am hardwired via an Ethernet connection. My PC netbook is connected wirelessly to the router. Via Finder, I see the name of my PC, b