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

Web access custom controls in TFS 2015 RC

$
0
0
I've had a few custom web access controls in TFS 2013, which has been working perfectly well.
However, in TFS 2015 RC they do not work. During uploading process everything goes as expected, but in the WI forms TFS displays message, that control cannot be created. 
Is this a bug in RC version or web access controls creation proccess has been changed?
Thanks a lot

Build server seems to be up & running, but I keep getting "There are agents that are capable of running the build, but they are not online."

$
0
0

We're assessing TFS 2015 as a tool for future deployment at my office, and currently when we try to run a build we get the following error:

There are agents that are capable of running the build, but they are not online. If the agent is configured to run as a service, ensure that the VSO Agent ({agent name}) service is running.

We've got a single TFS 2015 application tier server, and another build server. The build controller and two agents are running on the build server. I don't see anything in the event logs that indicates there's an issue. Configuration looks as follows:

I don't know if this makes a difference, but there's some seeming mismatches when it comes to names. The web url we use for our TFS application tier server is tfs.externaldomain.com, but it forces us to listen for agent communication on tfsserver2015.internaldomain.int. Meanwhile the build server is pointed to tfs.externaldomain.com. Could that be the problem?

Unit Test Execution Time and Team Build

$
0
0

Can someone please explain to me why Unit Test Execution in TFS (Team Build) takes a much longer time to execute than running locally.

My first thought was the fact that test results get uploaded to TFS.  Maybe there are other reasons for this?  Also, are there ways to speed up Team Build Unit Test execution times.   (Local execution time 4 min vs. 16 min through team build.)

My setup is Team Build 2010 with TFS 2013.  On the Build 2010 server we do have the hotfix KB2608743 installed so attachments should not be uploaded to TFS.

TFS 2013 and Upgrade Template and did not provide 'logs\ActivityLog.xml'

$
0
0

We recently upgraded from TFS 2010 to TFS 2013.  For builds that are using the build upgrade template, we are getting the following error message in Web Access 2013 when viewing the build diagnostic tab.

- Build XXXXXXXX did not provide 'logs\ActivityLog.xml'

Any ideas how to fix this issue.

Help Migrate from TFS 2010 w Custom WITs to TFS 2015

$
0
0

Hello All,

Our old buddy TFS 2010 has finally grown unsupported and we need to move on. We like TFS 2015 and look forward to transfering command to the new environment. We might be the only shop trying to do this, so I have to ask for help in this forum.

We have made some small customizations to our work item templates. We use our own half-way house agile model and we'd like to migrate our system intact from old to new. I was hoping that by this time,there would be an advanced upgrade wizard that would be able to detect what we have done and map it into the new schema for us. We are also moving from old hardware to W2K12R2 VMs with SQL Server 2014 and SharePoint 2013.

Can someone please point me to a nice whitepaper on how to get this done?

Thanks for your help,

Walter

Team Foundation Server 2015 Express - Download URL - incorrect?

$
0
0

Hi, On the page

https://www.visualstudio.com/products/mt238358

the download link for "Team Foundation Server 2015 Express" seams to be incorrect. It's the same for the Express Windows.

Can anyone confirm the correct link?

Download url for Express Windows: https://go.microsoft.com/fwlink/?LinkId=615462&clcid=0x409

Download url for Team founsation Server 2015 Express: https://go.microsoft.com/fwlink/?LinkId=615462&clcid=0x409

Thanks,

Pedro Cunha



TF.exe from a Powershell script in the new build system?

$
0
0

I was able to get the script from the link below to work, but I want to be able to check in the changes I make from the powershell script. 

Use a script to customize your build process
https://msdn.microsoft.com/en-us/Library/vs/alm/Build/scripts/index

I'm used to being able to do this from the old build system, but it doesn't seem possible with the new system. There are no workspaces defined where the build happens as far as I can tell. 

Is this possible? 

If it matters, my code is hosted in VSO, but I have a local agent that I'm using to perform the build.

Thanks!


I'm not a player, I just code a lot.

TF400963 - Supplied paths considered identical by the database

$
0
0

When I open the Source Control Explorer in Visual Studio, or attempt to check in some changes to a project, I get the following error:

"TF400963: The supplied paths are considered identical by the database. Please change one or both of them. The paths are: $/MyTeamProject/Services/Source/MySolution.vssscc and $/MyTeamProject/Services/Source/MySolution.vssscc."

I don't know what action I am supposed to take to correct this. I tried deleted the offending file via the Code browser in the TFS web interface, but it didn't fix the issue.

I can't find any documentation that references this error. Any ideas?

Thanks


TFS 2012/VS 2012 Code reviews diff tool

$
0
0

We've just starting using the built-in code review system with TFS2012/VS2012, and while it's a great tool we'd like to use a different diff tool.  The diff tool works great for everything but code reviews.  No matter what we do it uses the built in diff tool.

Anyone know of a way?


Christopher Cericola

Users are now able to change the priority of items in the backlog by moving them around on the Kanban Board. Is it possible to not let them do this?

$
0
0

Hi all, 

The priority of items in the backlog are not being honored when dragging items across columns on the Kanban Board. 

We used to be able to do this and it was useful to keep track of the order of items. Now users can drag across and they have to remember where it was in the order of the backlog and drag it there. It used to just "snap" into it's place in the order. 

Is there a setting somewhere I can change this? Was this functionality changed? 

Thanks

Visual Studio Tools Version 14 (/tv:14.0) Throws Microsoft.Common.CurrentVersion.targets Error on Build Server

$
0
0

We are trying get our build server to use the Visual Studio 2015 tools because we want to start using C# 6. We are still on TFS 2013.  I have installed Visual Studio 2015 on the build server and changed our MSBuild arguments on our build definition to use the /tv:14.0 parameter. When I look in the logs it is using the version 14 tools. But it always throws this warning.

C:\Program Files (x86)\MSBuild\14.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1819): Found conflicts between different versions of the same dependent assembly. In Visual Studio, double-click this warning (or select it and press Enter) to fix the conflicts; otherwise, add the following binding redirects to the "runtime" node in the application configuration file: <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="WebGrease" culture="neutral" publicKeyToken="31bf3856ad364e35" /><bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" /></dependentAssembly></assemblyBinding><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" /><bindingRedirect oldVersion="0.0.0.0-7.0.0.0" newVersion="7.0.0.0" /></dependentAssembly></assemblyBinding><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="Antlr3.Runtime" culture="neutral" publicKeyToken="eb42632606e9261f" /><bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" /></dependentAssembly></assemblyBinding><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="System.Web.Mvc" culture="neutral" publicKeyToken="31bf3856ad364e35" /><bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" /></dependentAssembly></assemblyBinding>

I don't get the error when I build locally and it works fine if I set it to /tv:12.0

Any ideas?

Need to reference 14.0 assemblies of Team Foundation Client to use custom check in policy within Visual Studio 2015

$
0
0

I am trying to create an install for our custom check in policy that I already have written for VS2010, VS2012, and VS2013.   We want to use Visual Studio 2015 now, and it will require a check-in policy as well.

When creating the dll for the policy to run within Visual Studio, I have always had to change the references to the Team Foundation Client to match the visual studio version.  Presumably, Visual Studio 2015 requires references to the 14.0 assemblies, however when I try to add these references version 14.0 assemblies do not appear.  One of the specific references is Microsoft.TeamFoundation.VersionControl.Client.dll

Am I missing something, or must I set something up to allow Visual Studio 2015 to find these references?

Thanks,

Larry Brooks


Larry

using tfs in a workgroup network

$
0
0

hi all,

is any way to use tfs in a workgroup network?

if the answer is yes, please say how to do it?

Connecting Visual Studio & TFS using Virtualbox

$
0
0

I want to connect Windows 10 (host) & windows server 2012 (guest) using Virtualbox.

Setup:

Windows 10:  Visual Studio
Windows server:  Team foundation server

Laptop is connected to WiFi.

I want Visual Studio & Team Foundation Server to communicate with each other. 

What steps need to be taken to achieve this?

PS Note: I've no background knowledge about networking.


How to get vNext build events in an ISubscriber?

$
0
0

I recently upgraded our TFS server to 2015 RTM. Now that I've started migrating build definitions from XAML to the new way, I  notice that myTfsNotificationRelay plugin isn't generating build notification for vNext builds. My ISubscriber subscribes to BuildCompletionNotificationEvent, but only XAML builds come through there.

I've been digging through the TFS 2015 assemblies and from what I can tell, the event I want is Microsoft.TeamFoundation.Build.WebApi.Events.BuildCompletedEvent in Microsoft.TeamFoundation.Build2.WebApi.dll. The problem is that I just can't catch it. I get other events like BuildUpdatedEvent and BuildDefinitionChangedEvent from the same namespace, but BuildCompletedEvent stays illusive.

Has anyone gotten notifications for completed vNext builds in an ISubscriber to work?



Upgrade TFS 2013.5 to TFS 2015 and What to do with build?

$
0
0

Hi

I want to migrate tfs 2013.5 to tfs 2015.

But I was installed the tfs build 2013 on the another server. and build my projects without any problem.

In tfs 2015 documents read that the build feature are very changes!

What am I do to migrate build 2013 to 2015?

In tfs 2015 , can we install build on the other server separately? 

Fresh TFS 2015 RC install - TF400898: An Internal Error Occurred.

$
0
0

I recently installed TFS 2015 RC on a Windows 7 OS (to try it out). There was no TFS installed previously on that machine. 

When I'm trying to access the web portal at http://localhost:8080/tfs/_home , an error is thrown:

TF400898: An Internal Error Occurred.

No more information available. 

Disk space, as mentioned in another forum post here is not the problem. Permissions maybe? I tried to check the "Group Memberships" and "Administer Security" settings for the default collection, but I get a "CData elements not valid at top level of an XML document" error popup...

How can I resolve or at least debug this error? I don't know where to start...

Edi

ISubscriber on TFS 2015

$
0
0

I try write plugin for TFS 2015. 

I use "ISubscriber" 

public EventNotificationStatus ProcessEvent(TeamFoundationRequestContext requestContext, NotificationType notificationType,
      object notificationEventArgs, out int statusCode, out string statusMessage,
      out ExceptionPropertyCollection properties) {  statusCode = 0;
      statusMessage = string.Empty;
      properties = null;
      try {
        if (notificationType == NotificationType.Notification && notificationEventArgs is WorkItemChangedEvent) {
          var notification = notificationEventArgs as WorkItemChangedEvent;

          string projectName = notification.ChangedFields.StringFields.First(p => p.ReferenceName == "System.TeamProject").NewValue;
          var createdByDisplayName = notification.CoreFields.StringFields.First(p => p.ReferenceName == "System.CreatedBy").NewValue;
          var assignedByDisplayName = notification.CoreFields.StringFields.First(p => p.ReferenceName == "System.AssignedTo").NewValue;
string s = string.Format("{0} | {1}", notification.WorkItemTitle, notification.AreaPath);
  TeamFoundationApplicationCore.Log(string.Format(" WorkItemTitle | AreaPath : {0}", s), 1602, System.Diagnostics.EventLogEntryType.Information);
          TeamFoundationApplicationCore.Log(string.Format(" CreatedBy : {0}", createdByDisplayName), 1603, System.Diagnostics.EventLogEntryType.Information);
          TeamFoundationApplicationCore.Log(string.Format(" AssignedTo : {0}", assignedByDisplayName), 1603, System.Diagnostics.EventLogEntryType.Information);

 TeamFoundationLocationService service = requestContext.GetService<TeamFoundationLocationService>();
          Uri uri = service.GetSelfReferenceUri(requestContext, service.GetDefaultAccessMapping(requestContext));
          TfsTeamProjectCollection tfsTeamProjectCollection = new TfsTeamProjectCollection(uri); } catch (Exception ex) {
        TeamFoundationApplicationCore.Log(ex.Message, 1604, System.Diagnostics.EventLogEntryType.Error);
      }
      return EventNotificationStatus.ActionPermitted;
    }

I copy dll  to folder "C:\Program Files\Microsoft Team Foundation Server 14.0\Application Tier\Web Services\bin\Plugins"

After i create new User Story, i check in windows EventLog

Server install TFS 2015 RC (Server don't join Domain)

- CreatedBy : dongnt

- AssignedTo : Administrator 

Server install TFS Server 2015   (Server join Domain)

-  CreatedBy : |Dong Nguyen%fda0ef76-acd4-452a-93de-da3f79ff0e2f|

-  AssignedTo : |User 01%85c99e85-152f-46eb-a0b5-85b271fbee57|

why does it diffirence?  

TeamFoundationLocationService service = requestContext.GetService<TeamFoundationLocationService>(); <= service always null

Can you help me ? :( I try many time but i ca'nt solve issue :(:(

Thanks you


TFS authentication issue - Need re-input username and password

$
0
0
We use VS2013/TFS2013 for development. During daily work engineers often meet bellow issue when use VS2013.
It always let me to input username and password,I tried input my username and password several times but not work. And I'm sure that my account has not been locked. 

And after try several times to input user name and password, it reports error message  -  TF30063: You are not authorized to access de01tfsapp002\Common_APT_CPS.

After about 30 minutes, this problem disappeared. I did nothing. There must has something wrong with TFS Server or AD.

Can you explain how does TFS manage access right, and its relationship with AD?



Build hang for about 2 hours at "create label" step

$
0
0

We use TFS2013 build system, and we have met bellow issue several times recently.

The build hang at "create label" step for hours, and we have to stop the build.

Can you explain what the build agent is trying contact with, and what it is waiting for during this time? 

Viewing all 6687 articles
Browse latest View live


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