Questions tagged [tfs2018]

1

votes
2

answer
122

Views

Is a build agent required for each project in a collection?

I have a TFS 2018 on-premise server and a separate build server. The build server has an agent that appears 'on-line' on the TFS server in the 'Agents for pool Default' area of the collection. However, if I go to a project in that collection I do not see the agent registered in that projects 'Agents...
BWW
0

votes
0

answer
2

Views

TFS backup job hangs - how do i find the problem?

I have TFS backup job hangs for several hours without any errors. I have tried Restart of SQL server. On the monitoring page of TFS it looks ok without any errors. TFS 2018.1 SQL SERVER 2016 STD Windows Server 2012 R2 Backup was working good as scheduled for almost 1 year . Please Advise
galsi
3

votes
1

answer
114

Views

Team Foundation Server 2018 API Build Definition Error

I am trying to create a new build definition through REST API using Powershell 5.1. My script consist of some files. In my script I have this: File 1: $newDefinitionUrl = 'http://tfs:8080/tfs/collection/project/_apis/build/definitions?api-version={2}' -f $CollectionUrl,$TeamProjectName,$BuildApiVers...
fr0zt
1

votes
2

answer
227

Views

TFS 2018 XAML build migration

I am currently upgrading our XAML build definitions to the new build system. Already squashed a few errors, but now I am at a point where I can no longer tell what could be wrong. We use PowerShell scripts for most of the build process, and although all required data is available on the server, I ge...
1

votes
1

answer
433

Views

TFS Cannot complete Product Backlog Item because there is no transition from “Committed” with the action “Microsoft.VSTS.Action.CheckIn”

We have an on-prem TFS 2018 Update 2 instance and are running into an issue during this workflow: Create a product backlog item Write code Create a pull request and associate the product backlog item with it Complete the code review and mark the pull request as approved Click 'Complete' and the pull...
cvocvo
1

votes
2

answer
685

Views

Search fails after upgrade to TFS 2018 Update 2

After performing an upgrade of a TFS server to 2018 Update 2 the search and indexing seems to be broken on one of our environments. Any search gives 'We encountered an unexpected error when processing your request' and I have work through all the troubleshooting docs to clean and reindex all collect...
Per Salmi
1

votes
2

answer
150

Views

Migrate Project to TFS2018

I have two TFS servers - one running 2008 and the other running 2018. I need to move one project (not all) from the TFS 2008 server to the new one. I only need to migrate the source code but would like also maintain all version and checkin history. Is there an upgrade process or utility that can...
user1365247
1

votes
1

answer
279

Views

WIKI VSTS TFS 2018 - Custom page with code

Colleagues, I tell in detail what I am trying to achieve. I am using TFS in its version 2018, in it I have a project that contains a wiki. From this wiki, I need to create a page that consumes a REST service and shows the information that returns the processed service. Is it possible to insert logic...
Lucas Beltran
1

votes
1

answer
28

Views

How to change the Bug state to Committed when a Pull Request is made in Tfs2018

Using Scrum process in TFS 2018 on-premises, I'd want to change the Bug(s) state to Committed when a developer creates a pull request that references Work Items. Any idea how to accomplish that?
JobaDiniz
1

votes
2

answer
486

Views

Git authentication failing to TFS 2018 only

I recently built a TFS 2018 server and set it up as git. For a few months, things have been working fine until last week when I started seeing the following error: C:\temp\git>git clone https://tfs.mycompany.com/project/team/_git/framework Cloning into 'framework'... fatal: Authentication failed for...
Chris Gessler
1

votes
1

answer
55

Views

REST API Create Group TFS 2018 update 3

As stated in the title, I try to create or even list the Groups of the server. Documentation explains with the example command to list all groups: https://vssps.dev.azure.com/fabrikam/_apis/graph/groups?api-version=4.1-preview.1 I don't know how to get to this preview version, because Version 4.1 q...
k4yaman
1

votes
1

answer
81

Views

Ho do I prevent GitVersion from including the commit hash in the version number?

I've just started using GitVersion in TFS 2018.3 (VSTS, Azure DevOps), and really trying the easy option. I use the GitVersion TFS marketplace task straight out of the box. I tagged the master branch with 1.1.0.0 and ran the build. The build log shows: 2018-10-25T15:39:53.1843138Z INFO [10/25/18 17:...
reckface
1

votes
2

answer
62

Views

TFS Prepare for Shutdown/Restart

I am new to TFS. Is there anyway to notify TFS to not to start new build/test/releases as we are about to restart/shutdown the TFS server? Jenkins has a similar feature, where it puts up a banner saying 'Jenkins is going to shut down' and stop queuing new builds. Does TFS have such a feature?
dushyantp
1

votes
0

answer
7

Views

Plugin for tfs 2018 with ISubscriber - Events are not received

We developed a plugin for TFS that uses ISubscriber for handling the following events BuildCompletedEvent BuildStartedEvent The plugin deployed at \Application Tier\TFSJobAgent\Plugins\ The plugin works excellent in TFS 2015 and TFS 2017. Lastly, we wanted to add support for TFS 2018 and found that...
Radislav
2

votes
0

answer
42

Views

Is it possible to move folders from one set of TFS branches into another and preserve pending changes?

At present, our TFS project contains a folder that hosts the entirety of our product. This folder contains three branches (Dev, Main and Release) each of which in turn contains many different sub projects. We are attempting to restructure so that distinct components are contained within their own br...
pinkfloydx33
0

votes
0

answer
3

Views

TFS Migration to new server with new Name

I am moving my current On-premise TFS 2018.2 & SQL 2016 to TFS 2018.3 on a new Local server with SQL server 2016 . Both will be on the same domain with different name . What should be the correct procedure? Option 1 Restore DB on new SQL instance - Different name (Using SQL restore) Rename DB Renam...
galsi
2

votes
1

answer
540

Views

TFS 2018 Build Console Application doesn't get included in the build artifact

I am setting up Continuous Integration and Continuous Delivery infrastructure, My solution contains web projects, dlls, and a Console Application. My issue is that all of my projects get included in the build artifact except the console application This is the default MSBuild arguments i use /p:Dep...
yo2011
5

votes
1

answer
862

Views

TFS 2018 Update 2 IIS Website Deployment Deprecated or missing

After updating TFS to update 2, in the CI build tasks 'IIS Web App Deployment' is marked as Deprecated. Whats the replacement for this task? Also in the CD in the after adding 'IIS Website Deployment Template' the IIS Web App Manage and IIS Web App Deploy tasks are marked with This task is no longe...
Ramy Zbeidy
2

votes
2

answer
3.8k

Views

Upgrade TFS 2015 to TFS 2018 [closed]

Since TFS 2018 does not support SharePoint integration, which databases should be migrated and what should be done with the SharePoint databases.
Angshuman
4

votes
1

answer
144

Views

Is ISubscriber still supported in TFS2018?

Up to TFS 2017 there was a library in Plugins folder called Microsoft.TeamFoundation.Framework.Server it contained ISubscriber interface which one could override in order to attach hooks and add behavior for events such as build completed or new push to the git repository. The library is missing in...
Paweł Zarzycki
4

votes
1

answer
113

Views

TFS 2018 Update 2 RC. Slow perfomance in Web

we have an on premises TFS 2018 Server with Update 2 RC. The perfomance of the web is very slow. We work with kanban and scrum boards and it take a few seconds to load, furthermore, moving a task to one column to another can take a few seconds The operating system is Windows 2016 Server. 16GB RAM, a...
ssanga
4

votes
2

answer
3.1k

Views

TFS 2012 to TFS 2018 Migration/Upgrade Path

Currently I have lots of projects that are in TFS 2012 and would like to migrate them to TFS 2018, maintaining source code history as well as WIT status if possible. I realize that lots of things under the sheets has changed with versions prior to 2018. I would like to know what the proper upgrade p...
M Mlachak
3

votes
2

answer
428

Views

How to associate a XUnit Fact to a Test Case in TFS

I am trying to figure out how to associate a Test Case in TFS 2018 to a Xunit Fact in a .Net Core project. If i click on the XUnit Fact in the Visual Studio 2017 Test Explorer, the association option is disabled. Does anyone know how to associate a Xunit Fact to a Test Case in TFS?
GrimSmiler
1

votes
2

answer
187

Views

Will Team Foundation Server 2017 Update 2 work with SQL Server 2017?

Microsofts Requirements and compatibility page for TFS found here do not show Update 2 in the SQL section. In our current environment we have TFS2017 Update 2 running on the same machine as SQL Server 2014. I'd like to install SQL Server 2017 and move the TFS database off the same machine to the...
Bill Greer
1

votes
2

answer
770

Views

Use XAML-Builds with TFS 2018 Update 2

We installed the newest TFS Server (TFS 2018 Update 2) which should run xaml builds. After the update, we started our agent, but our xaml-controller is still offline and I don't know how I start this again.. Any ideas what we can do?
D. Nehl
2

votes
2

answer
365

Views

Build agent is unable to download available workspaces

We recently upgraded TFS from TFS 2015 to TFS 2018. We changed build agent in our infrastructure to new agent version 2.122.1 When developers commit their changesets or planed build is executed, sometimes build is processed as expected, but sometimes we receive an strange error upon retrieving sourc...
Rudolf Dvoracek
2

votes
1

answer
207

Views

TFS 2018 Project Folder Permissions

I am having trouble finding a feature that was in TFS2015. In TFS2015 i could set folder and file level securty, but i can't find that option in TFS2018. Has this feature moved, or been removed? TFS2015: TFS2018:
Chandler R Reeves
2

votes
2

answer
55

Views

Issue with TFS user management view

TFS user management has been changed to small purple box(link taking us to visual studio page), how do we maximize and bring back it regular view. Apart from this users tab everything else looks okay. How do we resolve this issue, is it normal behavior of TFS ?
san web
2

votes
1

answer
198

Views

TFS 2018 Code Search

We have a new TFS 2018 installation and would like to use code search. When I install the code search extension I get the following message: Search feature isn’t configured for your TFS instance. Configure Search through the TFS Configuration wizard and try again. When I go to the Administration...
Nick
2

votes
0

answer
175

Views

Run TestComplete UI Tests from TFS 2018

I created some UI tests with both TestLeft and TestComplete from SmartBear, using integration into VS to run them as VS test items. With TFS2015, I did install a VSO agent on a physical server, which started in interactive mode (not as a service) on reboot. My build contained the 'Visual Studio Test...
WorkFlo
2

votes
1

answer
342

Views

TFS2018 running NUnit / Selenium tests

I'm trying to configure TFS2018 to run my c#/selenium/specflow project for the first time. I have the job building fine, but I'm struggling with getting it to recognise my tests. Locally my tests are picked up and pass. I'm using NUnit, so I have NUnit and NUnit3 Test Adapter installed on the projec...
mikey h
1

votes
2

answer
421

Views

My TFS build definition setup cannot get past Get Sources error 'directory already exists'

My TFS 2018 build fails at GET SOURCES with this error: tf vc get /version:192 /recursive /overwrite C:\Users\Administrator\agent_work\2\s /loginType:OAuth /login:., /noprompt C:\Users\Administrator\agent_work\2: Warning s - Unable to get because a directory already exists. Exit code 1 returned from...
anthony_s
2

votes
1

answer
247

Views

TFS Tests do not match framework settings

I am attempting to move a solution from TFS 2012 to TFS 2018 SP2RC2 but I can't get the unit tests to run correctly. All projects have been re-targeted to 4.7.1 and are built as x86 platform. We have a testsettings file that supplies nothing but deployment items. I am using the new VSTest Platfor...
Sam