We made the Update 2 of TFS2015 but we now have some problems on it.
"New Team Project" link do nothing
A lot of widgets fail to load and we can't create new ones properly (see images below)
The "RELEASE" tab show nothing (but maybe it's what was expected)
Look like something gone wrong so if you know how to repair this, please share but if not, we also don't know how to restore TFS to Update 1 and we don't know how to update again properly.
Thanks for your help.
I had the same issue with Widgets failing, I did the following:
Go to: control panel -> "project name" -> work
Set the start and end dates for the current release.
After saving the changes I refreshed and my widgets worked again.
Related
In a .NET project, select Build -> Publish -> and see the default "No profiles created, select a method" screen. Choose Folder and complete the wizard. Click Finish. Receive the following Microsoftian error:
"One or more errors occured"
With no other information.
Having already solved this, I'm posting to share the answer and publicly shame Microsoft for these lame error messages. Visual Studio is a program only used by developers: we can handle a little more information, and in fact need it to solve these minor, job-derailing errors in a timely way and hold onto some sanity while the rest of the program is locking up and spewing errors all day.
Navigate to [Your project's directory] -> Properties -> Publish Profiles and delete the contents (or move to another location if you might want these back later). Then, in VS, click Finish in the publish profile wizard again.
It didn't work for me with removing Properties.
On this link, Microsoft explains, that they have made a fix and advices instaling preview-version of Visual Studio 2019. Didn't work for me either.
I created a brand new MVC-project and tried to import publish profile, and it worked, so it looks like I have a problem in my original project.
Then I copied [Properties]>[PublishProfile] from new- to original project and th profile now works in original project.
After this copy, I then tried to make a new import in my original project, and that works too.
Not pretty at all, but I'm up and running again.
I've been able to edit and continue for more than a year. I don't know what unfortunate mistake I've made but I'm now not able of editing the code and continuing anymore, as when I try I get the "Changes are not allowed in the following cases".
I've been googling and changing settings for more than half a day straight now! x86, enable and disable, repair VS, 2015 and 2017 versions, check the project settings... As far as I can tell I've touched every single switch I can think of and I still can't edit and continue!
I've noticed though that I can edit and continue on a simple console program (Console.Write and .Read sort of thing) but not on a simple MVC project (the one that comes with the MVC scaffolding) so I'm now thinking is something to do with MVC.
Any thoughts? It's happening even with projects that I could edit and continue with in the past!
Following Karthik recommendation and https://stackoverflow.com/a/27672935/3397630 I just had to remove COR_ENABLE_PROFILING from the system and user variables!
There are a few more similar entries like COR_PROFILER, CORECLR_ENABLE_PROFILING and CORECLR_PROFILER but I left those there.
I have a problem with TFS
when I connect to a team project and configure workspace and click on Map & Get button, it shows "successfully mapped" message but there is no solution in Solutions panel, there is just a text "there were no solution found"
And when I try to get latest version or get specific version in source control explorer,it shows a message that says "all files are up to date, no file were updated because the requested file versions were previously downloaded" but there is no solution and project in mapped folder
I don't have this problem with other team projects
Does somebody know what's the reason?and what can I do to solve it?
Thanks
Edit
when I click on "map & get" for the first time,as usual a dialog box with title "calculating items to download" appears and then another dialog box with title "get", but in the second dialog box the green progress bar doesn't fill and then the message "workspace successfully mapped" appears in team explorer home and as I said before, there is no solution
To narrow down your issue, you can try below methods:
Make sure your local mapping folder is on a hard disk with enough
space.
Try to Removing the mapping of the project(Right Click your
project→Advanced→Remove mapping) and remap to another folder.
Clear TFS cache and VS cache
According to your above message
In source control explorer under "server-name/DefaultCollection" node
there is nothing
I was wondering whether there is a solution with the project in TFS.
Try to map the project on another computer with another account.
Try to make sure you have enough permissions to get the project.
Check whether you select the right project collection which including
the project.
Check whether your solution and files are in the excluded list of
pending changes.
Probably you deleted the files after you did a Get Latest Version operation.
Try to use the Get Specific Version then check the "Overwrite all files even if the local version matches the specified version".
I finally find the problem. It was related to my access level in team project.
I was the 7th member of the team and because in this free version a team can only have 5 basic and advanced members, automatically my access level was changed to stackholder and as you know a stackholder access level has some limitations.
Everytime I try to edit the Lab Process Settings in a lab management template in Visual Studio 2013, I get the following error:
Has anyone seen this appearing? I tried creating a new build definition targeting the same template, but the error appears again.
OS: Windows 8.
VS: 2013 Update 2
You are most likely running TFS update 3 which changed the back-end of TFS to create work items for both the Test Plan and Test Suites now. There is something odd going on in your project, it may be that you have not "enabled" the features on the project so those things are done behind the scene.
To verify this, go the TFS portal and click on the little gear in the right hand corner, then click the control panel link (up top left) and select the project you are working under and finally select Manage the project administration page and click the overview tab. Is there an "enable features" button there?
If you go the home page of you project and click the little question mark on the top right corner and select about, what version do you have there?
You have changed the Process template to have the state "In progress" rather than "In Progress" and the default configuration is choking. If you go through your process template and make sure that the casing is correct ("In Progress") your issue should go away.
Full details and solutions: http://nakedalm.com/find-mappings-states-defined-test-suit-work-item-type/
In TFS Source Control Explorer it shows pending changes (edit,[more]) with my name, but the Pending Changes window does not show any pending changes.
What I thought is, months ago my Visual Studio crashed, and at that time some files were checked out (which I was not aware of, due to the automatic checkout nature of TFS). Due to that, I copied a new VMImage, without undoing the pending changes (which are currently showing in Source Control Explorer).
One of my team members wants to checkin a new version of that particular file. Now, I need to undo my pending changes.
It sounds like you have them checked out under a different workspace. Try going to View->Other Windows->Source Control Explorer, then open the Workspace dropdown near the top of the screen, and select "Workspaces..."
I would suggest simply deleting any extra workspaces shown.
Steps to reproduce:
Make non-conflicting edits to files in TFS.
Get the latest version of the project from source control.
Sometimes, pending changes will be marked as non-pending and all project files are saved, resulting in no pending changes in the Team Explorer.
Workaround:
Right-click on the solution folder in source code explorer
Select "Compare"
In the search results, manually open files which have been edited/added and save them. This will register them as a "Pending Change" in team explorer.
This is because TFS apparently uses file properties rather than actual text comparisons to register pending changes in Visual Studio.
Tested on: Windows 7, Visual Studio Ultimate 2012.
Additional feedback from my supervisor: "Not sure if it was the issue this time, but that can happen when you disconnect from the TFS server (which sometimes happens without it being obvious). File | Source Control | Go Online usually fixes it (and the option isn’t available if you are online)."
TFS is buggy everywhere. i think you need to check out the parent folder and use TFS power toys to undo all the rubbish unchanged item.
TFS use file property to indicate whether or not a file has change, which sucks the most, and produce tons of usability problem.
If the file that you checked out is not part of the current solution, it might be hidden by the "Filter by solution" toolbar button on the Pending Changes window.
Get your changed files check out for edit
I had the same problem, I re-started VS, opened the solution and all the changes are now being displayed in the pending changes window.
Did you try to checkout the file from the Source Control Explorer view ?
For me, it worked.
I have just had a similar issue in VS2012.
To resolve the issue, I toggled the "Show xxx" dropdown to "Show Solution Changes" and then back to "Show All". The files that were missing from the list then re-appeared.
I was having a similar problem and it was due to the fact that my local version was a "non-version control solution" for some reason! meaning that my local was not really connected to the actual source code on tfs.
fix: Got the latest with override option checked. I know this could be painful if you had a lot of changes made to your local.
I was facing same issue the first answer was really helpfull. But make sure to check "Show Remote Workspaces" if you are working from different computer. In my cases the files where checked in and edited from home computer and it was showing pending changes. Deleting unwanted workspaces helps to solve this problem.
a different workspace on the same machine
a different workspace on another machine
TeamExplorer -> PendingChanges -> Excluded Changes ( I included this only because you didn't specifically mention they weren't there)
especially if you right clicked a node in solution explorer and chose check-in
Filtered based on TeamExplorer Settings #Oliver
Use a Tfs Query to find the pending changes and what workspace they are pending from.
Another option is to permanently or temporarily give them permissions to overwrite your lock. Then he can check-in anyhow.
I've seen this problem. Sometimes when I have the pending changes window in 'flat display mode', it doesn't display my changes. I find if I click the toolbar icon at the top of the pending changes window with tooltip 'Change to folder view', then they display. I think this is a bug in the Team Explorer Client.
sometimes I can not lock a branch because users have things checked out, but when I ask them about it, the pending merges/changes, only folders come up with no objects to change. What's with that?