Quantcast
Channel: Team Foundation Server - General forum
Viewing all 6687 articles
Browse latest View live

Why is trackhistory/hierachy missing on my baseless merges on single WI/changeset?

$
0
0

I use vs2013 and have made a simple tfs Tool, which - among other Things - do my baseless merges so I avoid using the tf command in a command prompt... :-)

The merges works fine but I now discover that my baseless merges loses track history and it looks as if I have persisted the changes directly in the targetbranch - even when they are merged (baseless) from another branch.

The code snippet where I loop thru the changesets in the WI which must be merged looks like this (and is quite self explaining):

foreach(varversionSpecinchangeSets.Select(changeset => newChangesetVersionSpec(changeset.ChangesetId )))

{        

   ItemSpecsourceItemSpec =newItemSpec(source,RecursionType.Full);


   GetStatus status = workspace.Merge(source, destination, versionSpec, versionSpec, LockLevel.None, RecursionType.Full, MergeOptions.Baseless);

}

----But why is tracking info in the changeset I persist not showing that it is merged from sourcebranch?


Release Notes for TFS update 4

$
0
0

Hi,

I'm kind of frustrated to search the release notes of the Update 4 for Team Foundation Server.

Can someone help me to have the official release notes? I found a lot of thing about the client VS but not so much about TFS. 

Thanks


Steve

workitemchanged delegate is not getting binded in kanban boards since it is implemented using custom controls.

$
0
0
For TFS Web access :I should not allow parent items to done until the children items are done. I got some article info from codeproject.com and incorporated some changes and it got worked using jquery API. But these changes are not working on the Kanban board since the code relies on work item changed event and the event delegate is not binded until the work item is explicitly opened. Because it is not triggerred when we are changing the bug states in kanban board. So I am thinking how to make it work. 

TFS Portal - "This operation is not supported for a relative URI."

$
0
0

Hi,

I am using TFS 2013 . In one of the project portals underneath "recent builds"; I see the error "This operation is not supported for a relative URI." I n other project portals its ok. Can you please help me understand why this error is coming and what should be done to fix it.

Regards,

Su

TFS Customization - Can we just rename the label of the control rather than renaming fields?

$
0
0
I wanted to reuse some existing fields with different values. I can customize XML to add different values for the existing field since we import the changes to specific project. And I will just rename the Label of the control rather than renaming the field which will create some potential problems on importing the previous TFS data. I just wanted to ensure that this is the proper way to do it. I did the changes in test server and it works fine. But I need a consultation from experienced guys to know whether they faced any issues in this thatswhy I am here.

TFS - Access Level - page not found when trying to add user

$
0
0

When I'm trying to modify some group under Limited Access Level I cannot do that because of the following error:

Page not found.

wrapErrorCallback/</<@server/tfs/_static/tfs/12/_scripts/TFS/debug/Presentation/Scripts/TFS/TFS.Core.Ajax.js:175:37
endRequest@server/tfs/_static/tfs/12/_scripts/TFS/debug/Presentation/Scripts/TFS/TFS.Core.Ajax.js:114:17
wrapErrorCallback/<@server/tfs/_static/tfs/12/_scripts/TFS/debug/Presentation/Scripts/TFS/TFS.Core.Ajax.js:141:1
jQuery.Callbacks/fire@server/tfs/_static/3rdParty/_scripts/jquery-1.8.3.js:984:10
jQuery.Callbacks/self.fireWith@server/tfs/_static/3rdParty/_scripts/jquery-1.8.3.js:1094:7
done@server/tfs/_static/3rdParty/_scripts/jquery-1.8.3.js:7815:1
.send/callback@server/tfs/_static/3rdParty/_scripts/jquery-1.8.3.js:8528:8

Any ideas why it happens?

Environment: Windows Server 2012 with latest updates, TFS 2013.4, user which is used for TFS is a member of local administrators group.

Can't see team projects inside collections

$
0
0

Hi there!

After a migration from TFS 2010 to TFS 2013 I added a new user as Project Collection Administrator. When I tried to access to the collection (either Team Explorer or Team Web Access) I can see the collection, but this one marks 0 projects and I can't see any.

If I log in with the TFS Admin (TFS Admin + Team Projects Admin + Project Collection Administrator) I see all projects inside but the new collection admin can't.

Any idea why of these? Any solution?

Thanks!


Eduardo Ortega Bermejo MVP- "Device Application Development", MCT, MCSE, MCAD, MCTS-WM, MCDBA Blog: http://geeks.ms/blogs/eduardoortega Community: http://www.mobilenug.com

Team Foundation Server

$
0
0
deseo saber como hago para obtener un inventario de los objetos que contiene un team project creado, favor su ayuda.

How to migrate my test work to TFS

$
0
0

Right now, Use Enterprise Tester to run the test cases and submit bugs and use Jira and Wiki to administrate the states of bugs. Now we plan to migrate to TFS, how to do that? We want to use TFS as our test tool and administrate the test cases and bugs. Does TFS have the similar tools such as Enterprise Tester, Jira and Wiki?

Thanks,

MTM Screenshot image url problem, access from outside of corpnet

$
0
0

Hi Geniuses,

We got problem when accessing screenshot captured in MTM in work items - repro steps section from outside of corp net,

I checked the URL of the screenshot, it still points to the host name (tfs) or the internal FQDN (tfs.corp.local),

but from outside, people are using tfs.companyname.com and the dns and port mapping are all good,

so probably, my question is, how do I let TFS know, my public DNS name is tfs.companyname.com?

btw, I already set the IIS TFS site bindings to the tfs.companyname.com.

oh, I would say everything works fine from outside except the screenshots :(

Help! Need help!

Looking for your suggestions, any answer will be appreciated!

TFS build version 12.0.30723.0 (Tfs2013.Update3)



Using Team Foundation Server 2013 for Embedded windows application development

$
0
0
Can I use Team Foundation Server 2013 to develop an application for an Embedded Board with WEC7 or WEC2013? Does it have all the features of the ultimate edition? For example, can I debug the application when it is running on the embedded board?

Can I add additional link to "Other links" section of TFS web access home hub page

$
0
0

Hi,

Is it possible to add additional links to Other link section of TFS web access home hub page?

Thanks in advance,

Hazeq.

Move a work item’s from one team project to another

$
0
0

Hi,

Is it possibility to move a work item’s from one team project to another with in same collection.

While moving work item ID should not change.

Thanks in advance,

Hazeq

what is the best team project / folder structure on TFS?

$
0
0

I am not sure how accurate is this article below from Microsoft but although most of the structure makes sense as shown in the schema, I dont understand the project structure.

How To: Structure Your Source Control Folders in Team Foundation Server

So basically according to that structure, we have Main, Development and Releases.

Main - is the version to be uploaded on the webserver or published latest version of the app.

Development- is the version to do small changes and bug fixes.

Releases- Brunches for big changes, new features etc.

1- are these correct if anyone implemented it?

2- why under source there is myapp1 and again source, myapp1web etc.? myApp1 is the solution, i guess? but why would I add ClassLibrary under individual projects if it is shared? does it not make more sense to have another folder called "Libraries" and pack them all shared libraries unde this folder?



"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."

TFS Web Access custom controls Javascript API : How to get field's previous value and current value in pre-save event

$
0
0
My requirement is : Allow parent to state 'Done' only when child items are 'Done'. For Web Access custom controls: I evaluated these changes in args.change == field-change event and captured the changed field 'state' in changed fields array. I reverted back the state and set alert message box. But these changes are not working when the user is trying to change the state in Kanban board since the workitemchange delegate is not bounded. I know that no solution is there currently. I am making a field as required once when the state is changed to 'done'. So through this error I force the user to open the work item. My question is I have to handle all the changes which I have done using pre-save event. How to get the State field's previous value and current value to implement this.

Cannot build because of Nuget errors

$
0
0

Recently my workstation was migrated from windows 7 to 8.

When I downloaded my project from TFS source control and tried to build it for deployment to my test server, I got these Nuget errors.

How do I fix this?

C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): Unable to find version '4.0.20710.0' of package 'Microsoft.AspNet.WebApi.Core'.
 C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): Unable to find version '4.0.20710.0' of package 'Microsoft.AspNet.WebApi.WebHost'.
 C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): Unable to find version '2.0.30506.0' of package 'Microsoft.AspNet.WebPages'.
 C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): Unable to find version '2.0.20710.0' of package 'Microsoft.AspNet.WebPages.Data'.
 C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): Unable to find version '2.0.20710.0' of package 'Microsoft.AspNet.WebPages.OAuth'.
 C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): Unable to find version '2.0.20710.0' of package 'Microsoft.AspNet.WebPages.WebData'.
 C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): Unable to find version '2.0.20710.0' of package 'Microsoft.Net.Http'.
 C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): Unable to find version '5.0.8' of package 'Newtonsoft.Json'.
 C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.targets (100): The command ""C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\.nuget\NuGet.exe" install "C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\SCD4\packages.config" -source ""  -NonInteractive -RequireConsent -solutionDir "C:\Builds\4\SCD4\SCD4 - Test\Sources\MVC4\SCD4\ "" exited with code 1.





TFS Web Access API code: How to prevent saving of work item in "pre-save" event

$
0
0

var setError =function(workItem, workItemError){ error =Error.serverError(workItemError);// Associate the error with the work item.if(storeErrors){ workItem.setError(error);}

I got this code through internet. Can anybody please explain this.

I want to set some custom error message or throw exception before presave

TFS solution explorer

$
0
0
I am new to tfs, I open the tfs and added the project, I can see the folders in team explorer but I am unable to see those in the solution explorer

TFS Web Access API - No documentation is available. I want to access some work item field's information like 'System.State' previous state and current state. Share JS API Code to do this during pre-save or saving event

$
0
0

I have done some validations for Work Item states using custom controls. I did using "field-change" event. But I wanted to use "pre-save" or "saving" event. How I can able to get the field's current value and previous value in saving events. My problem is exactly like this:

I should not allow state to final until the child items are in final state. so on change of State field, I caught the changedFields info to ensure that State has changed currently and need to be validated. But this will not work in Kanban boards since the custom control will work only if it is opened in UI window. ANyway I am making one field required on set of final state. SO through this error I am forcing the user to open the Work Item UI. So In that case, the changedFields does not have the information of State has changed (I don't know since it is a current change or like that) . So I wanted to do the changes in "pre-save" event. But how can I ensure that the State field has changed. And how to get a work item field value rather traversing for loop in workItem.fields. It will be better if there is documentation for all these JS API

Do I need Install VS in test agent

$
0
0

Hi. I have test agent in my local TFS 2013. I try execute remotely CodedUI Test from Build Definition. But I see error:

Exception Message: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.Common, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. (type FileNotFoundException)
Exception Stack Trace:    at Microsoft.TeamFoundation.Lab.Workflow.Activities.ExecuteRemoteTestRun2.TestRunCreation.CreateTestRun(CodeActivityContext context, ITestManagementService testManager, ITestManagementTeamProject project)
   at Microsoft.TeamFoundation.Lab.Workflow.Activities.ExecuteRemoteTestRun2.TestRunCreation.Execute(CodeActivityContext context)
   at System.Activities.CodeActivity`1.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
   at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

So. In Virtual Machine didn't install Visual Studio 2013.  Do I need install VS to test agent to solve this problem?

Or If I will put this missing library's in some folder in test agent. Can I use it, when I execute test?  

Viewing all 6687 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>