tfs2013

How do I fix a mismatched user SID in TFS 2013?

不想你离开。 提交于 2019-12-11 10:52:34
问题 TFSConfig Identities listed all TFS accounts and all but one matched Windows. How do I fix the lone user account where the Match is False? While this may not be relevant, I add it to the post in case it provides any additional clues. I tried to reapply the user in the Application Tier Console Users list and it failed. The log stated the account is also an orphaned SQL Server Login. I assume that makes sense if the SID is mismatched, though. 回答1: Since you have reapply the user in the

How to get latest version of specific project in TFS using Powershell.

╄→尐↘猪︶ㄣ 提交于 2019-12-11 10:31:09
问题 I've look through many posts but still don't get it. I need a powershell script to download latest version of a specific project. Let's say I just want to download the latest copies of files from ProjectA branch dfe. I saw some PS script that deletes the old files and download all the files again but that takes too long. script that would overwrite existing files would be much better. I tried update-tfsworkspace, it downloads everything but I don't want to download everything. server: http:/

TFS build errors a file not found, while file exists

為{幸葍}努か 提交于 2019-12-11 09:40:45
问题 I am having issue with TFS build server 2013, where during the build process, it fails to copy certain files, while the files exist in the TFS repository. C:\Program Files (x86)\...\v12.0\..\Microsoft.WebApplication.targets (182): Could not copy the file "www\public\modules\xxx.tmpl.html" because it was not found. The files do exist and have been accessed and modified by multiple developers, all using VS 2013 pro. Would anybody have encountered this before? Thanks in advance. 来源: https:/

Issue with TFS VersionControlServer GetWorkspace throwing ItemNotMappedException

邮差的信 提交于 2019-12-11 09:08:06
问题 I have a small chunk of code that constantly fails when I try to get the workspace. var tfs = new TfsTeamProjectCollection(new Uri("https://mytfs.com/projects")); var versionControlServer = tfs.GetService<VersionControlServer>(); var workspace = versionControlServer.GetWorkspace(@"C:\MyProjects\ProjectA\BranchA"); I've verified that it's mapped in TFS (by, ya know, having worked on several branches of ProjectA over a couple years). I also specifically checked the mapping after I received the

NuGet Command-line options for uninstalling/reinstalling packages for TFS/VS2013 and NuGet 3.4.3

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 07:33:16
问题 I modified a solution and deleted one of the .csproj files and instead packaged the .dlls into a NuGet package. Then I added the package to the two other .csproj files that reference the .dlls. All was good - it builds locally, but I can't get it to build on the build server. When I look at the code gotten out of TFS for the build I see that the packages.config for both projects have the correct reference to the NuGet package, but when I open the solution in VS the references have little

TFS 2013 and Visual Studio 2017 Syntax

半腔热情 提交于 2019-12-11 06:15:33
问题 Our company is stuck on TFS 2013 due to Adobe's RoboHelp software only working with that as a maximum version. We are looking to migrate to .NET 4.6 from 4.0 and VS 2017 - As such we can use new framework featuers (such as Async / Await) and language features (Like Tuples). Unfortunately our team build is failing when building a test project with the upgraded stuff and I assume this is because it's pointing at the 4.0 MSBuild. I've installed VS2017 (Compiler and .NET 4.6 targeting pack). I

Programmatically access tfs build output

时光毁灭记忆、已成空白 提交于 2019-12-11 03:57:51
问题 I'm trying to write a powershell script to allow a user to specify a tfs build id (or alternately a changeset id) and download the build output to the current directory. I have the build configured to copy the output to the server, which means only the most recent build output will be accessible in that directory. However from Visual Studio, or from the TFS Web Access, I can download the drop as a .zip file. How can I access this .zip file programmatically (either in powershell, or even if I

TFS Error publishing log files to #/198/logs/msbuild/agent-2

落花浮王杯 提交于 2019-12-11 03:26:00
问题 I installed TFS 2013 and am having a problem with the build system. I don't use a drop folder, one solution being built, pretty simple config. I am getting the following error which fails the build (some names replaced with AppName to protect the app's identity): Exception Message: TF270016: An error occurred publishing log files from 'S:\Builds\2\NCSoftware\AppName\src\Solutions\AppName\AppName.log' to '#/198/logs/msbuild/agent-2'. Details: Internal Server Error (type PublishLogFileException

LabDefaultTemplate-> ExecuteRemoteTestRun2 doesn't take in account the Order field of the test in the MTM

末鹿安然 提交于 2019-12-11 03:17:32
问题 The Scenario: Create 2 codedui tests. First Test will be Test1 and the second Test2. Create 2 test cases in the mtm. Create 2 suites in the MTM. Suite1 and Suite2. Add to Suite1 the tests in the following order, Test1 then Test2. Add to Suite2 the tests in the following order, Test2 then Test1. Now create a build with the template "LabDefaultTemplate" In the Tests add Suite1 and Suite2 Now Use the MTM and change the order of the tests in the suites and run the build again. The Test Agent run

Setting to make TFS force you to resolve conflicts before checking in?

泄露秘密 提交于 2019-12-11 01:26:40
问题 I just started using TFS last week in a new job. My previous experience has primarily been with Subversion and one thing I liked about Subversion is that it forces you to get latest before checking in anything that would be conflicting. Furthermore, you have to resolve conflicts (or explicitly mark them as resolved even if they aren't really). In TFS it seems like people are inadvertently wiping out other people's changes from time to time when 2 people have worked on the same file. I'm sure