QuestionId stringlengths 3 8 | QuestionTitle stringlengths 15 149 | QuestionScore int64 1 27.2k | QuestionCreatedUtc stringdate 2008-08-01 18:33:08 2025-06-16 04:59:48 | QuestionBodyHtml stringlengths 40 28.2k | QuestionViewCount int64 78 16.5M | QuestionOwnerUserId float64 4 25.2M ⌀ | QuestionLastActivityUtc stringdate 2008-09-08 19:26:01 2026-01-24 22:40:25 | AcceptedAnswerId int64 266 79.7M | AnswerScore int64 2 30.1k | AnswerCreatedUtc stringdate 2008-08-01 23:40:28 2025-06-16 05:23:39 | AnswerOwnerUserId float64 1 29.5M ⌀ | AnswerLastActivityUtc stringdate 2008-08-01 23:40:28 2026-01-23 17:46:09 | QuestionLink stringlengths 31 36 | AnswerLink stringlengths 31 36 | AnswerBodyHtml stringlengths 35 33k | AnswerBodyPreview stringlengths 35 400 | AllTagIdsCsv stringlengths 2 37 | AllTagNamesCsv stringlengths 2 106 | MergedQuestion stringlengths 74 28.4k | quality_filter stringclasses 10
values | unique_id int64 0 29k | tag_major_lang stringclasses 10
values | MergedQuestion_md stringlengths 60 28.1k | AnswerBodyHtml_md stringlengths 14 29.2k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3736597 | How can I get all my checkins in Visual Studio 2010 TFS? | 18 | 2010-09-17 15:14:03 | <p>On Many occasions, I need to review my checkins. <br/>
Is there a way I can get all my checkins in TFS? I don't mean view history on a particular file, but all my checkins! If I can filter based on start and end date would be great</p>
<p>I am new to TFS!!!</p>
<p>Any suggestions</p>
| 11,985 | 231,465 | 2018-10-09 14:43:59 | 3,738,135 | 17 | 2010-09-17 18:56:26 | 345,708 | 2010-09-17 18:56:26 | https://stackoverflow.com/q/3736597 | https://stackoverflow.com/a/3738135 | <p>You can probably get what you need from the command line TF.EXE program. The command to do this should be something like this (run it from a Visual Studio command prompt):</p>
<p><code>TF.EXE history /server:http://tfs:8080 "$/" /recursive /user:username /noprompt /format:detailed</code></p>
<p>You can manipulate ... | <p>You can probably get what you need from the command line TF.EXE program. The command to do this should be something like this (run it from a Visual Studio command prompt):</p> <p><code>TF.EXE history /server:http://tfs:8080 "$/" /recursive /user:username /noprompt /format:detailed</code></p> <p>You can manipulate ... | 733 | tfs | <h1>How can I get all my checkins in Visual Studio 2010 TFS?</h1>
<p>On Many occasions, I need to review my checkins. <br/>
Is there a way I can get all my checkins in TFS? I don't mean view history on a particular file, but all my checkins! If I can filter based on start and end date would be great</p>
<p>I am new to... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,720 | tvfc | # How can I get all my checkins in Visual Studio 2010 TFS?
On Many occasions, I need to review my checkins.
Is there a way I can get all my checkins in TFS? I don't mean view history on a particular file, but all my checkins! If I can filter based on start and end date would be great
I am new to TFS!!!
Any sugges... | You can probably get what you need from the command line TF.EXE program. The command to do this should be something like this (run it from a Visual Studio command prompt):
`TF.EXE history /server:http://tfs:8080 "$/" /recursive /user:username /noprompt /format:detailed`
You can manipulate the "$/" to go to a more nes... |
6190739 | Force a merge in TFS after conflicts have been resolved | 17 | 2011-05-31 16:39:13 | <p>TFS 2010, VS 2010</p>
<p>We have a situation in TFS where a developer has not been following proper merge procedure. When I run a compare of his developer directory against trunk, I get a number of files marked as either different or not in trunk at all. The last merge/check-in to trunk was by him on 2011-05-26, ... | 17,231 | 329,969 | 2016-03-09 07:51:00 | 6,191,212 | 17 | 2011-05-31 17:27:01 | 568,475 | 2014-12-10 12:58:36 | https://stackoverflow.com/q/6190739 | https://stackoverflow.com/a/6191212 | <p>You need to go to the command line and use <code>tf merge /force</code> e.g. <code>tf merge $/TeamProject/DevBranch $/TeamProject/Trunk /force</code> This should do what you want. </p>
<p>for more info try <code>tf msdn</code> which will open a browser and take you to the online help for the tf command tools.</p>
... | <p>You need to go to the command line and use <code>tf merge /force</code> e.g. <code>tf merge $/TeamProject/DevBranch $/TeamProject/Trunk /force</code> This should do what you want. </p> <p>for more info try <code>tf msdn</code> which will open a browser and take you to the online help for the tf command tools.</p> ... | 733, 14456, 33953 | tfs, visual-studio, visual-studio-2010 | <h1>Force a merge in TFS after conflicts have been resolved</h1>
<p>TFS 2010, VS 2010</p>
<p>We have a situation in TFS where a developer has not been following proper merge procedure. When I run a compare of his developer directory against trunk, I get a number of files marked as either different or not in trunk at ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,721 | tvfc | # Force a merge in TFS after conflicts have been resolved
TFS 2010, VS 2010
We have a situation in TFS where a developer has not been following proper merge procedure. When I run a compare of his developer directory against trunk, I get a number of files marked as either different or not in trunk at all. The last mer... | You need to go to the command line and use `tf merge /force` e.g. `tf merge $/TeamProject/DevBranch $/TeamProject/Trunk /force` This should do what you want.
for more info try `tf msdn` which will open a browser and take you to the online help for the tf command tools.
`/recursive` fixes all and displays the GUI for ... |
14972618 | Using VSTest to run unit test cases instead of MSTest | 13 | 2013-02-20 05:02:35 | <p>I have an x64 platform C# solution(VS2012) on a TFS2010 server. I have attached a unit test project (also x64) to this solution and created a build definition. When I queue the build, it succeeds but the unit test cases will not be executed. This is because MSTest is a 32 bit application. So, I decided to customize... | 28,877 | 1,942,004 | 2013-08-20 05:13:16 | 18,327,407 | 17 | 2013-08-20 05:13:16 | 1,942,004 | 2013-08-20 05:13:16 | https://stackoverflow.com/q/14972618 | https://stackoverflow.com/a/18327407 | <p>Executing unit tests through VSTest and publishing the test results through MSTest gave me a successful outcome. Given below is the Powershell script: </p>
<pre><code># Get the UnitTest Binaries
$files = Get-ChildItem $TestAssembliesDir\*est*.dll
# VSTest.console.exe path
$VSTestPath = 'C:\Program Files (x86)\Mi... | <p>Executing unit tests through VSTest and publishing the test results through MSTest gave me a successful outcome. Given below is the Powershell script: </p> <pre><code># Get the UnitTest Binaries $files = Get-ChildItem $TestAssembliesDir\*est*.dll # VSTest.console.exe path $VSTestPath = 'C:\Program Files (x86)\Mi... | 9, 733, 1117, 1783, 80825 | build-process, c#, tfs, visual-studio-2012, xaml | <h1>Using VSTest to run unit test cases instead of MSTest</h1>
<p>I have an x64 platform C# solution(VS2012) on a TFS2010 server. I have attached a unit test project (also x64) to this solution and created a build definition. When I queue the build, it succeeds but the unit test cases will not be executed. This is bec... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,723 | tvfc | # Using VSTest to run unit test cases instead of MSTest
I have an x64 platform C# solution(VS2012) on a TFS2010 server. I have attached a unit test project (also x64) to this solution and created a build definition. When I queue the build, it succeeds but the unit test cases will not be executed. This is because MSTes... | Executing unit tests through VSTest and publishing the test results through MSTest gave me a successful outcome. Given below is the Powershell script:
```
# Get the UnitTest Binaries
$files = Get-ChildItem $TestAssembliesDir\*est*.dll
# VSTest.console.exe path
$VSTestPath = 'C:\Program Files (x86)\Microsoft Visual ... |
34265473 | How to get PAT from on-premise TFS2015 | 12 | 2015-12-14 11:07:17 | <p>We want to migrate our custom steps from XAML build to new build task in TFS2015 on-premise. I installed NodeJS and tfx-cli but when tfx-cli want to connect to TFS I need to provide pat (personal access token) but I cannot find where I can get it. All samples is for VSO but not for on-premise TFS2015. Is it possible... | 9,166 | 2,702,828 | 2017-07-21 14:56:18 | 35,101,750 | 17 | 2016-01-30 12:25:24 | 736,079 | 2017-07-21 14:56:18 | https://stackoverflow.com/q/34265473 | https://stackoverflow.com/a/35101750 | <p>TFS 2015 doesn't support Personal Access Tokens, this feature was introduced with TFS 2017. In the mean time you'll either need to configure basic auth and use that (only enable basic auth if your TFS server is running over SSL), Or use the trick below to trick the command lien tools to authenticate by lettign an NT... | <p>TFS 2015 doesn't support Personal Access Tokens, this feature was introduced with TFS 2017. In the mean time you'll either need to configure basic auth and use that (only enable basic auth if your TFS server is running over SSL), Or use the trick below to trick the command lien tools to authenticate by lettign an NT... | 733, 16341, 110393 | tfs, tfs-2015, tfsbuild | <h1>How to get PAT from on-premise TFS2015</h1>
<p>We want to migrate our custom steps from XAML build to new build task in TFS2015 on-premise. I installed NodeJS and tfx-cli but when tfx-cli want to connect to TFS I need to provide pat (personal access token) but I cannot find where I can get it. All samples is for VS... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,724 | tvfc | # How to get PAT from on-premise TFS2015
We want to migrate our custom steps from XAML build to new build task in TFS2015 on-premise. I installed NodeJS and tfx-cli but when tfx-cli want to connect to TFS I need to provide pat (personal access token) but I cannot find where I can get it. All samples is for VSO but not... | TFS 2015 doesn't support Personal Access Tokens, this feature was introduced with TFS 2017. In the mean time you'll either need to configure basic auth and use that (only enable basic auth if your TFS server is running over SSL), Or use the trick below to trick the command lien tools to authenticate by lettign an NTLM ... |
15410110 | Is there a way to find out the source changeset from which a particular branch was created in TFS? | 12 | 2013-03-14 13:05:12 | <p>My case is the following. My team uses TFS 2012 for source control. My teammate has created a branch from a particular changeset (not the last for that moment) of another branch. What I need is to figure out from which exact changeset the branch was created, and which branch was used.</p>
<p>I tried to find it in "... | 5,053 | 2,169,892 | 2013-03-19 14:10:07 | 15,501,813 | 17 | 2013-03-19 14:10:07 | 1,183,633 | 2013-03-19 14:10:07 | https://stackoverflow.com/q/15410110 | https://stackoverflow.com/a/15501813 | <p>Yes, there is. <strong>discens</strong> is right, you might use <code>Track Changeset</code> functionality. By the way, a similar question has already been answered on SO, <a href="https://stackoverflow.com/questions/12835798/find-changeset-id-parent-of-a-branch-in-tfs">here it is</a>. The answer contains a link to ... | <p>Yes, there is. <strong>discens</strong> is right, you might use <code>Track Changeset</code> functionality. By the way, a similar question has already been answered on SO, <a href="https://stackoverflow.com/questions/12835798/find-changeset-id-parent-of-a-branch-in-tfs">here it is</a>. The answer contains a link to ... | 733, 20848 | changeset, tfs | <h1>Is there a way to find out the source changeset from which a particular branch was created in TFS?</h1>
<p>My case is the following. My team uses TFS 2012 for source control. My teammate has created a branch from a particular changeset (not the last for that moment) of another branch. What I need is to figure out f... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,725 | tvfc | # Is there a way to find out the source changeset from which a particular branch was created in TFS?
My case is the following. My team uses TFS 2012 for source control. My teammate has created a branch from a particular changeset (not the last for that moment) of another branch. What I need is to figure out from which... | Yes, there is. **discens** is right, you might use `Track Changeset` functionality. By the way, a similar question has already been answered on SO, [here it is](https://stackoverflow.com/questions/12835798/find-changeset-id-parent-of-a-branch-in-tfs). The answer contains a link to a [blogpost](http://netexp.blogspot.co... |
1073646 | Getting the cluster size of a hard drive (through code) | 12 | 2009-07-02 10:31:13 | <p>I need to find the cluster size of the users hard drive, through C or C++. The hard drive uses NTFS (though I'd appreciate knowing how it's done on other file systems as well).</p>
<p>I guess what I need is some combination of win32 API calls, but I don't know which.</p>
<p>For instance, typing "fsutil fsinfo ntfs... | 8,073 | 67,839 | 2012-08-09 09:44:47 | 1,073,668 | 17 | 2009-07-02 10:39:06 | 108,130 | 2009-07-02 10:39:06 | https://stackoverflow.com/q/1073646 | https://stackoverflow.com/a/1073668 | <p>Use the <a href="http://msdn.microsoft.com/en-us/library/aa364935(VS.85).aspx" rel="noreferrer">GetDiskFreeSpace</a></p>
<pre><code>BOOL WINAPI GetDiskFreeSpace(
__in LPCTSTR lpRootPathName,
__out LPDWORD lpSectorsPerCluster, // <--
__out LPDWORD lpBytesPerSector, // <--
__out LPDWORD lpNumberOfF... | <p>Use the <a href="http://msdn.microsoft.com/en-us/library/aa364935(VS.85).aspx" rel="noreferrer">GetDiskFreeSpace</a></p> <pre><code>BOOL WINAPI GetDiskFreeSpace( __in LPCTSTR lpRootPathName, __out LPDWORD lpSectorsPerCluster, // <-- __out LPDWORD lpBytesPerSector, // <-- __out LPDWORD lpNumberOfF... | 8, 724, 889, 3176 | c, file-io, ntfs, winapi | <h1>Getting the cluster size of a hard drive (through code)</h1>
<p>I need to find the cluster size of the users hard drive, through C or C++. The hard drive uses NTFS (though I'd appreciate knowing how it's done on other file systems as well).</p>
<p>I guess what I need is some combination of win32 API calls, but I d... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,726 | tvfc | # Getting the cluster size of a hard drive (through code)
I need to find the cluster size of the users hard drive, through C or C++. The hard drive uses NTFS (though I'd appreciate knowing how it's done on other file systems as well).
I guess what I need is some combination of win32 API calls, but I don't know which.... | Use the [GetDiskFreeSpace](http://msdn.microsoft.com/en-us/library/aa364935(VS.85).aspx)
```
BOOL WINAPI GetDiskFreeSpace(
__in LPCTSTR lpRootPathName,
__out LPDWORD lpSectorsPerCluster, // <--
__out LPDWORD lpBytesPerSector, // <--
__out LPDWORD lpNumberOfFreeClusters,
__out LPDWORD lpTotalNumberOfClu... |
14226451 | MSBuild fails with two packages | 10 | 2013-01-09 00:28:35 | <p>Okay this is a fantastic bug. I have a 2012 solution that executes MSBuild on a 2012 TFS server. The parameters passed to the "MSBuild Arguments" field in build process template are as follows:</p>
<blockquote>
/p:DeployOnBuild=true /p:PublishProfile=ProfileForProjectA /p:PublishProfile=ProfileForProjectB ... | 7,469 | 301,046 | 2013-01-09 09:14:04 | 14,231,729 | 17 | 2013-01-09 09:14:04 | 105,999 | 2013-01-09 09:14:04 | https://stackoverflow.com/q/14226451 | https://stackoverflow.com/a/14231729 | <p>When you pass properties via the command line they are global MSBuild properties. Because of that they are passed to each project within a .sln file. Web projects are the only ones which respond to those specific properties.</p>
<p>In your scenario if you have two projects that you want to build+publish in a .sln f... | <p>When you pass properties via the command line they are global MSBuild properties. Because of that they are passed to each project within a .sln file. Web projects are the only ones which respond to those specific properties.</p> <p>In your scenario if you have two projects that you want to build+publish in a .sln f... | 265, 733, 25779, 84568 | msbuild, msdeploy, publish-profiles, tfs | <h1>MSBuild fails with two packages</h1>
<p>Okay this is a fantastic bug. I have a 2012 solution that executes MSBuild on a 2012 TFS server. The parameters passed to the "MSBuild Arguments" field in build process template are as follows:</p>
<blockquote>
/p:DeployOnBuild=true /p:PublishProfile=ProfileForProje... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,727 | tvfc | # MSBuild fails with two packages
Okay this is a fantastic bug. I have a 2012 solution that executes MSBuild on a 2012 TFS server. The parameters passed to the "MSBuild Arguments" field in build process template are as follows:
> /p:DeployOnBuild=true /p:PublishProfile=ProfileForProjectA /p:PublishProfile=ProfileForP... | When you pass properties via the command line they are global MSBuild properties. Because of that they are passed to each project within a .sln file. Web projects are the only ones which respond to those specific properties.
In your scenario if you have two projects that you want to build+publish in a .sln file you wo... |
56375786 | Confused about install -m and install -d using Yocto | 9 | 2019-05-30 09:51:28 | <p>I have taken over a Yocto project, and inside a .bb recipe file, I see the following lines to install new directories in the image:</p>
<pre class="lang-bash prettyprint-override"><code> do_install() {
install -m 0755 -d ${DEPLOY_DIR_IMAGE}/app
install -m 0755 -d ${DEPLOY_DIR_IMAGE}/app/apiary
install... | 23,846 | 4,768,946 | 2023-03-06 12:18:53 | 56,382,311 | 17 | 2019-05-30 16:43:42 | 2,402,272 | 2020-05-17 05:05:13 | https://stackoverflow.com/q/56375786 | https://stackoverflow.com/a/56382311 | <p>The task in question is defined as a shell function. The <code>install</code> command used within is a shell command, not anything Yocto- or BitBake-specific, so you should be looking at <a href="http://man7.org/linux/man-pages/man1/install.1.html" rel="noreferrer">its docs</a> for enlightenment, not relying on Bit... | <p>The task in question is defined as a shell function. The <code>install</code> command used within is a shell command, not anything Yocto- or BitBake-specific, so you should be looking at <a href="http://man7.org/linux/man-pages/man1/install.1.html" rel="noreferrer">its docs</a> for enlightenment, not relying on Bit... | 58, 4301, 15898, 86061, 104267 | bitbake, linux, makefile, rootfs, yocto | <h1>Confused about install -m and install -d using Yocto</h1>
<p>I have taken over a Yocto project, and inside a .bb recipe file, I see the following lines to install new directories in the image:</p>
<pre class="lang-bash prettyprint-override"><code> do_install() {
install -m 0755 -d ${DEPLOY_DIR_IMAGE}/app
... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,728 | tvfc | # Confused about install -m and install -d using Yocto
I have taken over a Yocto project, and inside a .bb recipe file, I see the following lines to install new directories in the image:
```
do_install() {
install -m 0755 -d ${DEPLOY_DIR_IMAGE}/app
install -m 0755 -d ${DEPLOY_DIR_IMAGE}/app/apiary
ins... | The task in question is defined as a shell function. The `install` command used within is a shell command, not anything Yocto- or BitBake-specific, so you should be looking at [its docs](http://man7.org/linux/man-pages/man1/install.1.html) for enlightenment, not relying on BitBake documentation or examples. In the cont... |
56984966 | Team Foundation Server 2018 Build agent Capabilities VS 2019 | 8 | 2019-07-11 08:37:20 | <p>We use Team Foundation Server 2018. Since our upgrade to Visual studio 2019 I have been trying to add this capability to TFS 2018, without any success.</p>
<p>TFS version: 2018 (16.122.27102.1)</p>
<p>I have already tried to reconfigure the Agent, or even add a new one.
Visual studio 2019 is installed on the TFS s... | 5,220 | 728,966 | 2021-10-19 13:46:47 | 57,000,931 | 17 | 2019-07-12 05:56:55 | 7,460,777 | 2019-07-12 05:56:55 | https://stackoverflow.com/q/56984966 | https://stackoverflow.com/a/57000931 | <blockquote>
<p>Team Foundation Server 2018 Build agent Capabilities VS 2019</p>
</blockquote>
<p>The Visual Studio is generally compatible with newer versions of Team Foundation Server.</p>
<p>You can see the details specified by Microsoft here: <a href="https://www.visualstudio.com/en-us/docs/setup-admin/requirements... | <blockquote> <p>Team Foundation Server 2018 Build agent Capabilities VS 2019</p> </blockquote> <p>The Visual Studio is generally compatible with newer versions of Team Foundation Server.</p> <p>You can see the details specified by Microsoft here: <a href="https://www.visualstudio.com/en-us/docs/setup-admin/requirements... | 265, 733, 135964 | msbuild, tfs, visual-studio-2019 | <h1>Team Foundation Server 2018 Build agent Capabilities VS 2019</h1>
<p>We use Team Foundation Server 2018. Since our upgrade to Visual studio 2019 I have been trying to add this capability to TFS 2018, without any success.</p>
<p>TFS version: 2018 (16.122.27102.1)</p>
<p>I have already tried to reconfigure the Agen... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,731 | tvfc | # Team Foundation Server 2018 Build agent Capabilities VS 2019
We use Team Foundation Server 2018. Since our upgrade to Visual studio 2019 I have been trying to add this capability to TFS 2018, without any success.
TFS version: 2018 (16.122.27102.1)
I have already tried to reconfigure the Agent, or even add a new on... | > Team Foundation Server 2018 Build agent Capabilities VS 2019
The Visual Studio is generally compatible with newer versions of Team Foundation Server.
You can see the details specified by Microsoft here: [Requirements and compatibility](https://www.visualstudio.com/en-us/docs/setup-admin/requirements).
> **Only the... |
34203112 | Internal error in Changeset Comments Policy after updating VS2015 to Update 1 | 8 | 2015-12-10 13:25:31 | <p>Everything was fine about an hour ago, when i tried to checkin something, the policy friendly reminded me to "provide a comment for the check-in". Then I installed VS2015 Update 1, like some of my colleagues did, and after that, i receive the following error message when trying to check something in:</p>
<blockquot... | 7,408 | 1,662,314 | 2019-04-11 08:42:16 | 34,204,325 | 17 | 2015-12-10 14:25:13 | 1,662,314 | 2016-03-17 07:34:36 | https://stackoverflow.com/q/34203112 | https://stackoverflow.com/a/34204325 | <p>Okay, i got it. Somehow the installation messed something up. On my machine the folder</p>
<blockquote>
<p>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation</p>
</blockquote>
<p>was pretty empty, where my colleagues had a junction there, leading to this fol... | <p>Okay, i got it. Somehow the installation messed something up. On my machine the folder</p> <blockquote> <p>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation</p> </blockquote> <p>was pretty empty, where my colleagues had a junction there, leading to this fol... | 719, 733, 27128, 108143 | checkin, policy, tfs, visual-studio-2015 | <h1>Internal error in Changeset Comments Policy after updating VS2015 to Update 1</h1>
<p>Everything was fine about an hour ago, when i tried to checkin something, the policy friendly reminded me to "provide a comment for the check-in". Then I installed VS2015 Update 1, like some of my colleagues did, and after that, i... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,732 | tvfc | # Internal error in Changeset Comments Policy after updating VS2015 to Update 1
Everything was fine about an hour ago, when i tried to checkin something, the policy friendly reminded me to "provide a comment for the check-in". Then I installed VS2015 Update 1, like some of my colleagues did, and after that, i receive ... | Okay, i got it. Somehow the installation messed something up. On my machine the folder
> C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation
was pretty empty, where my colleagues had a junction there, leading to this folder
> C:\Program Files (x86)\Microsoft Visu... |
7245840 | Pathfinding (routing, trip planning, ...) algorithms on graphs with time restrictions | 27 | 2011-08-30 15:37:59 | <p>I have a database of bus/train/... stops and the arrival/departure times on each date and so on. I'm looking for a way to do a search for the fastest(shortest/cheapest/least transitions) trip between two locations. I would like to have arbitrary locations in the future, using OpenStreetMap data to do walking between... | 18,937 | 894 | 2013-04-05 22:58:41 | 7,245,904 | 16 | 2011-08-30 15:43:34 | 572,670 | 2013-04-05 22:58:41 | https://stackoverflow.com/q/7245840 | https://stackoverflow.com/a/7245904 | <ol>
<li>Model your problem as a <a href="http://en.wikipedia.org/wiki/Graph_%28data_structure%29" rel="noreferrer">graph</a>. Each station will be a Vertex, and
each bus/train will be an Edge.</li>
<li>create a function <code>w:Edges->R</code>,that indicates the time/money/... for each edge. </li>
<li>now, you have... | <ol> <li>Model your problem as a <a href="http://en.wikipedia.org/wiki/Graph_%28data_structure%29" rel="noreferrer">graph</a>. Each station will be a Vertex, and each bus/train will be an Edge.</li> <li>create a function <code>w:Edges->R</code>,that indicates the time/money/... for each edge. </li> <li>now, you have... | 248, 5382, 7723, 13283, 77189 | algorithm, graph, gtfs, path-finding, pseudocode | <h1>Pathfinding (routing, trip planning, ...) algorithms on graphs with time restrictions</h1>
<p>I have a database of bus/train/... stops and the arrival/departure times on each date and so on. I'm looking for a way to do a search for the fastest(shortest/cheapest/least transitions) trip between two locations. I would... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,733 | tvfc | # Pathfinding (routing, trip planning, ...) algorithms on graphs with time restrictions
I have a database of bus/train/... stops and the arrival/departure times on each date and so on. I'm looking for a way to do a search for the fastest(shortest/cheapest/least transitions) trip between two locations. I would like to ... | 1. Model your problem as a [graph](http://en.wikipedia.org/wiki/Graph_%28data_structure%29). Each station will be a Vertex, and
each bus/train will be an Edge.
2. create a function `w:Edges->R`,that indicates the time/money/... for each edge.
3. now, you have a typical minimum path problem, which can be solved by
... |
20784627 | How to remove a specific ChangeSet in TFS 2010? | 16 | 2013-12-26 12:12:50 | <p>How to remove a specific changeset in tfs2010?</p>
<p>I have changeset version numbers with 545, 544, 543,542.</p>
<p>Now, I am looking to delete the particular changeset 543 only in tfs? </p>
| 31,660 | 2,880,701 | 2017-08-28 17:17:45 | 20,784,753 | 16 | 2013-12-26 12:20:26 | 2,111,727 | 2013-12-26 12:20:26 | https://stackoverflow.com/q/20784627 | https://stackoverflow.com/a/20784753 | <p>You have to <strong>Rollback</strong> the changeset, you can't delete a changeset. (<a href="http://msdn.microsoft.com/en-us/library/dd380776%28v=vs.100%29.aspx">Rollback Command</a>)</p>
<p>In your case a simple Rollback command would be like this:</p>
<pre><code>TF rollback /changeset:C543
</code></pre>
| <p>You have to <strong>Rollback</strong> the changeset, you can't delete a changeset. (<a href="http://msdn.microsoft.com/en-us/library/dd380776%28v=vs.100%29.aspx">Rollback Command</a>)</p> <p>In your case a simple Rollback command would be like this:</p> <pre><code>TF rollback /changeset:C543 </code></pre> | 9, 733, 16341 | c#, tfs, tfsbuild | <h1>How to remove a specific ChangeSet in TFS 2010?</h1>
<p>How to remove a specific changeset in tfs2010?</p>
<p>I have changeset version numbers with 545, 544, 543,542.</p>
<p>Now, I am looking to delete the particular changeset 543 only in tfs? </p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,735 | tvfc | # How to remove a specific ChangeSet in TFS 2010?
How to remove a specific changeset in tfs2010?
I have changeset version numbers with 545, 544, 543,542.
Now, I am looking to delete the particular changeset 543 only in tfs? | You have to **Rollback** the changeset, you can't delete a changeset. ([Rollback Command](http://msdn.microsoft.com/en-us/library/dd380776%28v=vs.100%29.aspx))
In your case a simple Rollback command would be like this:
```
TF rollback /changeset:C543
``` |
10106023 | how to prevent an Gated Check-In to put the Keyword ***NO_CI*** in the Comment | 15 | 2012-04-11 12:36:01 | <p>This Question is related to my Question
<a href="https://stackoverflow.com/questions/10101144/combining-gated-checkin-and-continuious-integration-builds-in-team-foundatio">Combining “Gated Checkin” and “Continuous Integration” Builds in Team Foundation Server</a> I Posted this Morning</p>
<p>Thanks to @pantelif I k... | 4,864 | 1,307,426 | 2020-02-10 00:55:56 | 10,106,821 | 16 | 2012-04-11 13:24:19 | 274,933 | 2017-01-10 16:46:03 | https://stackoverflow.com/q/10106023 | https://stackoverflow.com/a/10106821 | <p>You can disable <code>***NO_CI***</code> comment by setting the <a href="http://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.build.workflow.activities.syncworkspace.nocioption.aspx" rel="nofollow noreferrer">NoCIOption</a> property of the SyncWorkspace workflow activity to false. A similar question and ... | <p>You can disable <code>***NO_CI***</code> comment by setting the <a href="http://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.build.workflow.activities.syncworkspace.nocioption.aspx" rel="nofollow noreferrer">NoCIOption</a> property of the SyncWorkspace workflow activity to false. A similar question and ... | 733, 1066, 16341 | continuous-integration, tfs, tfsbuild | <h1>how to prevent an Gated Check-In to put the Keyword ***NO_CI*** in the Comment</h1>
<p>This Question is related to my Question
<a href="https://stackoverflow.com/questions/10101144/combining-gated-checkin-and-continuious-integration-builds-in-team-foundatio">Combining “Gated Checkin” and “Continuous Integration” Bu... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,736 | tvfc | # how to prevent an Gated Check-In to put the Keyword ***NO_CI*** in the Comment
This Question is related to my Question
[Combining “Gated Checkin” and “Continuous Integration” Builds in Team Foundation Server](https://stackoverflow.com/questions/10101144/combining-gated-checkin-and-continuious-integration-builds-in-t... | You can disable `***NO_CI***` comment by setting the [NoCIOption](http://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.build.workflow.activities.syncworkspace.nocioption.aspx) property of the SyncWorkspace workflow activity to false. A similar question and answer can be found [here](https://stackoverflow.co... |
624125 | Compress a folder using NTFS compression in .NET | 15 | 2009-03-08 19:20:30 | <p>I want to compress a folder using NTFS compression in .NET. I found <a href="http://bytes.com/groups/net-c/262874-making-folder-compressed" rel="noreferrer">this post</a>, but it does not work. It throws an exception ("Invalid Parameter").</p>
<pre><code>DirectoryInfo directoryInfo = new DirectoryInfo( destinatio... | 8,027 | 12,082 | 2024-04-11 11:08:54 | 624,446 | 16 | 2009-03-08 22:28:49 | 2,461 | 2015-11-26 08:50:48 | https://stackoverflow.com/q/624125 | https://stackoverflow.com/a/624446 | <p>Using P/Invoke is, in my experience, usually easier than WMI. I believe the following should work:</p>
<pre><code>private const int FSCTL_SET_COMPRESSION = 0x9C040;
private const short COMPRESSION_FORMAT_DEFAULT = 1;
[DllImport("kernel32.dll", SetLastError = true)]
private static extern int DeviceIoControl(
Sa... | <p>Using P/Invoke is, in my experience, usually easier than WMI. I believe the following should work:</p> <pre><code>private const int FSCTL_SET_COMPRESSION = 0x9C040; private const short COMPRESSION_FORMAT_DEFAULT = 1; [DllImport("kernel32.dll", SetLastError = true)] private static extern int DeviceIoControl( Sa... | 1, 9, 64, 3176 | .net, c#, ntfs, windows | <h1>Compress a folder using NTFS compression in .NET</h1>
<p>I want to compress a folder using NTFS compression in .NET. I found <a href="http://bytes.com/groups/net-c/262874-making-folder-compressed" rel="noreferrer">this post</a>, but it does not work. It throws an exception ("Invalid Parameter").</p>
<pre><code>D... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,737 | tvfc | # Compress a folder using NTFS compression in .NET
I want to compress a folder using NTFS compression in .NET. I found [this post](http://bytes.com/groups/net-c/262874-making-folder-compressed), but it does not work. It throws an exception ("Invalid Parameter").
```
DirectoryInfo directoryInfo = new DirectoryInfo( de... | Using P/Invoke is, in my experience, usually easier than WMI. I believe the following should work:
```
private const int FSCTL_SET_COMPRESSION = 0x9C040;
private const short COMPRESSION_FORMAT_DEFAULT = 1;
[DllImport("kernel32.dll", SetLastError = true)]
private static extern int DeviceIoControl(
SafeFileHandle h... |
10432634 | How to get specific version of folder from tfs without creating a workspace? | 11 | 2012-05-03 13:41:20 | <p>I would like to get the source code of a project at specific time (changeset). So I need do download whole folder. I would like to do it for different times and handling a different workspace is not very convenient.</p>
<p>I know about <a href="https://stackoverflow.com/questions/1597476/tfs-get-specific-version-int... | 17,364 | 669,527 | 2023-08-22 11:42:27 | 10,524,175 | 16 | 2012-05-09 21:14:11 | 88,556 | 2012-05-09 21:14:11 | https://stackoverflow.com/q/10432634 | https://stackoverflow.com/a/10524175 | <p>I use this syntax for temporary workspaces:</p>
<pre><code>tf workspace -new %JOB_NAME%;%user% -noprompt -server:http://%host%:8080/tfs/%project% -login:%user%,%password%
tf workfold -map $/Release/MilestoneX.X . -workspace:%JOB_NAME% -server:http://%host%:8080/tfs/%project% -login:%user%,%password%
tf get . -versi... | <p>I use this syntax for temporary workspaces:</p> <pre><code>tf workspace -new %JOB_NAME%;%user% -noprompt -server:http://%host%:8080/tfs/%project% -login:%user%,%password% tf workfold -map $/Release/MilestoneX.X . -workspace:%JOB_NAME% -server:http://%host%:8080/tfs/%project% -login:%user%,%password% tf get . -versi... | 733, 1231, 32354, 71551 | command-line, tfs, tfs-sdk, visual-studio-macros | <h1>How to get specific version of folder from tfs without creating a workspace?</h1>
<p>I would like to get the source code of a project at specific time (changeset). So I need do download whole folder. I would like to do it for different times and handling a different workspace is not very convenient.</p>
<p>I know a... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,739 | tvfc | # How to get specific version of folder from tfs without creating a workspace?
I would like to get the source code of a project at specific time (changeset). So I need do download whole folder. I would like to do it for different times and handling a different workspace is not very convenient.
I know about [TFS Get S... | I use this syntax for temporary workspaces:
```
tf workspace -new %JOB_NAME%;%user% -noprompt -server:http://%host%:8080/tfs/%project% -login:%user%,%password%
tf workfold -map $/Release/MilestoneX.X . -workspace:%JOB_NAME% -server:http://%host%:8080/tfs/%project% -login:%user%,%password%
tf get . -version:L%TFS_LABEL... |
56288864 | How to restrict merge from specific branches | 10 | 2019-05-24 08:40:07 | <p>I would like only specific branches merge to specific branches.</p>
<p>Some example: I want to do <code>master</code> branch accept pull requests only from <code>test</code> branch, and <code>test</code> branch accept only from <code>development</code> branch.</p>
<p>How can I do this restriction on TFS/Git?</p>
... | 7,872 | 7,463,495 | 2023-04-19 10:16:14 | 56,311,213 | 16 | 2019-05-26 06:31:27 | 7,409,220 | 2019-05-27 12:23:10 | https://stackoverflow.com/q/56288864 | https://stackoverflow.com/a/56311213 | <p>If you have branch policies you can do a workaround to achieve the goal:</p>
<p>In the build definition (that you specified in the build validation) add a PowerShell task that check the source branch of the pull request. When the source branch is not what you want the build will fail.</p>
<p>For example, in the fo... | <p>If you have branch policies you can do a workaround to achieve the goal:</p> <p>In the build definition (that you specified in the build validation) add a PowerShell task that check the source branch of the pull request. When the source branch is not what you want the build will fail.</p> <p>For example, in the fo... | 119, 733, 116537 | azure-devops, git, tfs | <h1>How to restrict merge from specific branches</h1>
<p>I would like only specific branches merge to specific branches.</p>
<p>Some example: I want to do <code>master</code> branch accept pull requests only from <code>test</code> branch, and <code>test</code> branch accept only from <code>development</code> branch.</... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,740 | tvfc | # How to restrict merge from specific branches
I would like only specific branches merge to specific branches.
Some example: I want to do `master` branch accept pull requests only from `test` branch, and `test` branch accept only from `development` branch.
How can I do this restriction on TFS/Git?
We have some poli... | If you have branch policies you can do a workaround to achieve the goal:
In the build definition (that you specified in the build validation) add a PowerShell task that check the source branch of the pull request. When the source branch is not what you want the build will fail.
For example, in the following script, i... |
37954459 | Connect to TFS error TF31001 object reference not set to an instance of an object | 10 | 2016-06-21 20:58:48 | <p>I have a user running VS 2015 trying to connect to our on premise TFS 2015 U2 environment. Other users are able to connect but this user is receiving the following:
<a href="https://i.sstatic.net/gk25x.png" rel="noreferrer"><img src="https://i.sstatic.net/gk25x.png" alt="enter image description here"></a></p>
<p>O... | 11,387 | 268,809 | 2018-03-09 15:00:15 | 37,960,004 | 16 | 2016-06-22 06:18:33 | 5,425,825 | 2016-06-22 06:18:33 | https://stackoverflow.com/q/37954459 | https://stackoverflow.com/a/37960004 | <ol>
<li><p>Try to clear the cache on this client computer:</p>
<ul>
<li>Close any open instances of Visual Studio.</li>
<li>Browse to the following folder: <code>C:\Users\username\AppData\Local\Microsoft\Team Foundation\6.0\Cache.</code></li>
<li>Delete the contents of the Cache directory, including all subfolders.</... | <ol> <li><p>Try to clear the cache on this client computer:</p> <ul> <li>Close any open instances of Visual Studio.</li> <li>Browse to the following folder: <code>C:\Users\username\AppData\Local\Microsoft\Team Foundation\6.0\Cache.</code></li> <li>Delete the contents of the Cache directory, including all subfolders.</... | 108143, 110393 | tfs-2015, visual-studio-2015 | <h1>Connect to TFS error TF31001 object reference not set to an instance of an object</h1>
<p>I have a user running VS 2015 trying to connect to our on premise TFS 2015 U2 environment. Other users are able to connect but this user is receiving the following:
<a href="https://i.sstatic.net/gk25x.png" rel="noreferrer"><... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,741 | tvfc | # Connect to TFS error TF31001 object reference not set to an instance of an object
I have a user running VS 2015 trying to connect to our on premise TFS 2015 U2 environment. Other users are able to connect but this user is receiving the following:
[](htt... | 1. Try to clear the cache on this client computer:
- Close any open instances of Visual Studio.
- Browse to the following folder: `C:\Users\username\AppData\Local\Microsoft\Team Foundation\6.0\Cache.`
- Delete the contents of the Cache directory, including all subfolders.
2. Disable the antivirus software or ... |
5563537 | How can I debug an MSBuild file? | 10 | 2011-04-06 08:34:25 | <p>I've got a large solution that I'm using TFS (and MSBuild) to... well... build. However, it takes a long time to build everything, and I was wondering if it was possible to just debug the build XML file rather than doing the build itself. </p>
<p>I'm using VS2008 and TFS 2008.</p>
| 14,397 | 190,701 | 2020-11-24 16:39:11 | 5,564,064 | 16 | 2011-04-06 09:18:23 | 26,396 | 2020-11-24 16:39:11 | https://stackoverflow.com/q/5563537 | https://stackoverflow.com/a/5564064 | <p>Unfortunately the possibility to debug MSBuild scripts with Visual Studio has been <a href="https://devblogs.microsoft.com/visualstudio/debugging-msbuild-script-with-visual-studio/" rel="nofollow noreferrer">unofficially introduced in .NET 4.0</a>.</p>
<p>For earlier versions all you are left with is "<em>debug... | <p>Unfortunately the possibility to debug MSBuild scripts with Visual Studio has been <a href="https://devblogs.microsoft.com/visualstudio/debugging-msbuild-script-with-visual-studio/" rel="nofollow noreferrer">unofficially introduced in .NET 4.0</a>.</p> <p>For earlier versions all you are left with is "<em>debug... | 265, 733, 32472, 33953 | msbuild, tfs, visual-studio, visual-studio-2008 | <h1>How can I debug an MSBuild file?</h1>
<p>I've got a large solution that I'm using TFS (and MSBuild) to... well... build. However, it takes a long time to build everything, and I was wondering if it was possible to just debug the build XML file rather than doing the build itself. </p>
<p>I'm using VS2008 and TFS 20... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,742 | tvfc | # How can I debug an MSBuild file?
I've got a large solution that I'm using TFS (and MSBuild) to... well... build. However, it takes a long time to build everything, and I was wondering if it was possible to just debug the build XML file rather than doing the build itself.
I'm using VS2008 and TFS 2008. | Unfortunately the possibility to debug MSBuild scripts with Visual Studio has been [unofficially introduced in .NET 4.0](https://devblogs.microsoft.com/visualstudio/debugging-msbuild-script-with-visual-studio/).
For earlier versions all you are left with is "*debugging by tracing*", that is inserting log statements at... |
4757883 | Get a file list from TFS | 10 | 2011-01-21 10:48:37 | <p>I'm trying to figure out how to get a list of files from a specific folder ("$/theproject/trunk/setup/") in TFS without putting them in the local folder.</p>
<p>So far I've managed to connect, create a workspace and a working folder:</p>
<pre><code> var server = RegisteredTfsConnections.GetProjectCollection... | 15,540 | 70,386 | 2011-01-21 11:16:56 | 4,758,111 | 16 | 2011-01-21 11:12:59 | 70,386 | 2011-01-21 11:12:59 | https://stackoverflow.com/q/4757883 | https://stackoverflow.com/a/4758111 | <p>It's done like this:</p>
<pre><code> var server = RegisteredTfsConnections.GetProjectCollection(new Uri("http://hostname:8080/"));
var projects = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(server);
var versionControl = (VersionControlServer)projects.GetService(typeof(VersionCont... | <p>It's done like this:</p> <pre><code> var server = RegisteredTfsConnections.GetProjectCollection(new Uri("http://hostname:8080/")); var projects = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(server); var versionControl = (VersionControlServer)projects.GetService(typeof(VersionCont... | 9, 733 | c#, tfs | <h1>Get a file list from TFS</h1>
<p>I'm trying to figure out how to get a list of files from a specific folder ("$/theproject/trunk/setup/") in TFS without putting them in the local folder.</p>
<p>So far I've managed to connect, create a workspace and a working folder:</p>
<pre><code> var server = RegisteredT... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,743 | tvfc | # Get a file list from TFS
I'm trying to figure out how to get a list of files from a specific folder ("$/theproject/trunk/setup/") in TFS without putting them in the local folder.
So far I've managed to connect, create a workspace and a working folder:
```
var server = RegisteredTfsConnections.GetProjectCol... | It's done like this:
```
var server = RegisteredTfsConnections.GetProjectCollection(new Uri("http://hostname:8080/"));
var projects = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(server);
var versionControl = (VersionControlServer)projects.GetService(typeof(VersionControlServer));
... |
50003072 | OpenSSL SSL_connect: SSL_ERROR_SYSCALL VS2017 Community / TFS | 9 | 2018-04-24 13:35:04 | <p>I can't sync my local git with visual studio online. This is the error I get</p>
<blockquote>
<p>Git failed with a fatal error. unable to access
'<a href="https://mysite.visualstudio.com/DefaultCollection/_git/MajorMaintScopeChallenge/" rel="noreferrer">https://mysite.visualstudio.com/DefaultCollection/_git/Maj... | 30,205 | 6,313,911 | 2024-04-09 21:28:26 | 67,472,790 | 16 | 2021-05-10 14:57:27 | 4,291,566 | 2021-05-10 14:57:27 | https://stackoverflow.com/q/50003072 | https://stackoverflow.com/a/67472790 | <p>I fixed it with resetting the proxy;</p>
<p>Running these commands in cmd;</p>
<pre><code>git config --global --unset https.proxy
git config --global --unset http.proxy
</code></pre>
| <p>I fixed it with resetting the proxy;</p> <p>Running these commands in cmd;</p> <pre><code>git config --global --unset https.proxy git config --global --unset http.proxy </code></pre> | 733, 33953 | tfs, visual-studio | <h1>OpenSSL SSL_connect: SSL_ERROR_SYSCALL VS2017 Community / TFS</h1>
<p>I can't sync my local git with visual studio online. This is the error I get</p>
<blockquote>
<p>Git failed with a fatal error. unable to access
'<a href="https://mysite.visualstudio.com/DefaultCollection/_git/MajorMaintScopeChallenge/" rel=... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,744 | tvfc | # OpenSSL SSL_connect: SSL_ERROR_SYSCALL VS2017 Community / TFS
I can't sync my local git with visual studio online. This is the error I get
> Git failed with a fatal error. unable to access
> '<https://mysite.visualstudio.com/DefaultCollection/_git/MajorMaintScopeChallenge/>':
> OpenSSL SSL_connect: SSL_ERROR_SYSCAL... | I fixed it with resetting the proxy;
Running these commands in cmd;
```
git config --global --unset https.proxy
git config --global --unset http.proxy
``` |
6096276 | What decides the target framework version of a satellite assembly? | 9 | 2011-05-23 10:58:11 | <p>What decides the target framework version of a satellite assembly?</p>
<p>Looking at the log file I can see the satellite assembly is build by running ResGen.exe and Al.exe but I can't find out what decides the target framework of the resulting assembly.</p>
<p><strong>Background</strong></p>
<p>I'm trying to res... | 3,702 | 966 | 2013-08-12 07:13:38 | 6,300,281 | 16 | 2011-06-09 23:02:20 | 791,838 | 2011-06-09 23:02:20 | https://stackoverflow.com/q/6096276 | https://stackoverflow.com/a/6300281 | <p>I just spent the whole day tracking this down, but I think I have it solved. Yes, I am a martyr. Benefit from the findings of misfortunate adventure!</p>
<p>My best guess is that the Windows 7.1 SDK installation seems to have a bug in it regarding the registry keys it adds. Some of the registry values point to <str... | <p>I just spent the whole day tracking this down, but I think I have it solved. Yes, I am a martyr. Benefit from the findings of misfortunate adventure!</p> <p>My best guess is that the Windows 7.1 SDK installation seems to have a bug in it regarding the registry keys it adds. Some of the registry values point to <str... | 265, 16341, 20389, 55665 | msbuild, satellite-assembly, target-framework, tfsbuild | <h1>What decides the target framework version of a satellite assembly?</h1>
<p>What decides the target framework version of a satellite assembly?</p>
<p>Looking at the log file I can see the satellite assembly is build by running ResGen.exe and Al.exe but I can't find out what decides the target framework of the resul... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,745 | tvfc | # What decides the target framework version of a satellite assembly?
What decides the target framework version of a satellite assembly?
Looking at the log file I can see the satellite assembly is build by running ResGen.exe and Al.exe but I can't find out what decides the target framework of the resulting assembly.
... | I just spent the whole day tracking this down, but I think I have it solved. Yes, I am a martyr. Benefit from the findings of misfortunate adventure!
My best guess is that the Windows 7.1 SDK installation seems to have a bug in it regarding the registry keys it adds. Some of the registry values point to **7.0a** when ... |
4792676 | How to iterate over long path names with any form of the Windows API | 9 | 2011-01-25 11:02:06 | <p>I have some files on a server that exceed the <code>MAX_PATH</code> limit.
I've repeatedly heard that you can list those files by pre-pending \\?\ to the path. However, that doesn't solve the problem with <code>FindFirstFile[Ex]</code> and its partners as they use a data structure that limits file name length to <c... | 2,721 | 490,784 | 2016-03-22 06:31:24 | 4,792,729 | 16 | 2011-01-25 11:06:44 | 505,088 | 2011-01-25 11:15:13 | https://stackoverflow.com/q/4792676 | https://stackoverflow.com/a/4792729 | <p>I don't think there's a problem here. You are referring to the <a href="http://msdn.microsoft.com/en-us/library/aa365740%28VS.85%29.aspx" rel="noreferrer"><code>WIN32_FIND_DATA</code></a> which does indeed return filenames limited in length to <code>MAX_PATH</code>. But since this is only the filename part, and the ... | <p>I don't think there's a problem here. You are referring to the <a href="http://msdn.microsoft.com/en-us/library/aa365740%28VS.85%29.aspx" rel="noreferrer"><code>WIN32_FIND_DATA</code></a> which does indeed return filenames limited in length to <code>MAX_PATH</code>. But since this is only the filename part, and the ... | 8, 64, 889, 3176 | c, ntfs, winapi, windows | <h1>How to iterate over long path names with any form of the Windows API</h1>
<p>I have some files on a server that exceed the <code>MAX_PATH</code> limit.
I've repeatedly heard that you can list those files by pre-pending \\?\ to the path. However, that doesn't solve the problem with <code>FindFirstFile[Ex]</code> an... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,746 | tvfc | # How to iterate over long path names with any form of the Windows API
I have some files on a server that exceed the `MAX_PATH` limit.
I've repeatedly heard that you can list those files by pre-pending \\?\ to the path. However, that doesn't solve the problem with `FindFirstFile[Ex]` and its partners as they use a dat... | I don't think there's a problem here. You are referring to the [`WIN32_FIND_DATA`](http://msdn.microsoft.com/en-us/library/aa365740%28VS.85%29.aspx) which does indeed return filenames limited in length to `MAX_PATH`. But since this is only the filename part, and the path is omitted, there is no limitation.
Within a di... |
25895435 | How to add a comment to a work item using Visual Studio Team Services REST API | 7 | 2014-09-17 16:09:08 | <p>Is it possible to add a comment to a work item in Visual Studio Team Services using the REST API?</p>
<p>I've checked the <a href="http://www.visualstudio.com/integrate/reference/reference-vso-work-item-overview-vsi" rel="nofollow noreferrer">work item doc</a> and <a href="http://www.visualstudio.com/integrate/refe... | 8,629 | 1,288,481 | 2018-02-07 20:23:14 | 26,043,571 | 16 | 2014-09-25 16:27:01 | 1,288,481 | 2018-02-07 20:23:14 | https://stackoverflow.com/q/25895435 | https://stackoverflow.com/a/26043571 | <p>Following @tzachs tip, this is the API call to add a comment (or history entry in VSO jargon):</p>
<pre><code>PATCH https://{account}.visualstudio.com/defaultcollection/_apis/wit/workitems/{id}?api-version=1.0-preview.2
</code></pre>
<p>JSON payload:</p>
<pre><code>[
{
"op": "add",
"path": "/fields/Sy... | <p>Following @tzachs tip, this is the API call to add a comment (or history entry in VSO jargon):</p> <pre><code>PATCH https://{account}.visualstudio.com/defaultcollection/_apis/wit/workitems/{id}?api-version=1.0-preview.2 </code></pre> <p>JSON payload:</p> <pre><code>[ { "op": "add", "path": "/fields/Sy... | 56585, 116537, 134617 | azure-devops, azure-devops-rest-api, tfs-workitem | <h1>How to add a comment to a work item using Visual Studio Team Services REST API</h1>
<p>Is it possible to add a comment to a work item in Visual Studio Team Services using the REST API?</p>
<p>I've checked the <a href="http://www.visualstudio.com/integrate/reference/reference-vso-work-item-overview-vsi" rel="nofoll... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,747 | tvfc | # How to add a comment to a work item using Visual Studio Team Services REST API
Is it possible to add a comment to a work item in Visual Studio Team Services using the REST API?
I've checked the [work item doc](http://www.visualstudio.com/integrate/reference/reference-vso-work-item-overview-vsi) and [fields doc](htt... | Following @tzachs tip, this is the API call to add a comment (or history entry in VSO jargon):
```
PATCH https://{account}.visualstudio.com/defaultcollection/_apis/wit/workitems/{id}?api-version=1.0-preview.2
```
JSON payload:
```
[
{
"op": "add",
"path": "/fields/System.History",
"value": "Comment f... |
97349 | TFSBuild.proj and Importing External Targets | 7 | 2008-09-18 21:48:17 | <p>We want to store our overridden build targets in an external file and include that targets file in the TFSBuild.proj. We have a core set steps that happens and would like to get those additional steps by simply adding the import line to the TFSBuild.proj created by the wizard. </p>
<pre><code><Import Project="$(... | 4,556 | 18,264 | 2010-12-13 19:09:31 | 100,493 | 16 | 2008-09-19 08:29:34 | 6,438 | 2008-09-19 08:29:34 | https://stackoverflow.com/q/97349 | https://stackoverflow.com/a/100493 | <p>The Team Build has a "bootstrap" phase where everything in the Team Build Configuration folder (the folder with TFSBuild.proj) is downloaded from version control. This is performed by the build agent before the build agent calls MSBuild.exe telling it to run TFSBuild.proj.</p>
<p>If you move your targets file from... | <p>The Team Build has a "bootstrap" phase where everything in the Team Build Configuration folder (the folder with TFSBuild.proj) is downloaded from version control. This is performed by the build agent before the build agent calls MSBuild.exe telling it to run TFSBuild.proj.</p> <p>If you move your targets file from... | 265, 733, 16341 | msbuild, tfs, tfsbuild | <h1>TFSBuild.proj and Importing External Targets</h1>
<p>We want to store our overridden build targets in an external file and include that targets file in the TFSBuild.proj. We have a core set steps that happens and would like to get those additional steps by simply adding the import line to the TFSBuild.proj created ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,748 | tvfc | # TFSBuild.proj and Importing External Targets
We want to store our overridden build targets in an external file and include that targets file in the TFSBuild.proj. We have a core set steps that happens and would like to get those additional steps by simply adding the import line to the TFSBuild.proj created by the wi... | The Team Build has a "bootstrap" phase where everything in the Team Build Configuration folder (the folder with TFSBuild.proj) is downloaded from version control. This is performed by the build agent before the build agent calls MSBuild.exe telling it to run TFSBuild.proj.
If you move your targets file from under Solu... |
9297710 | How do you force the deletion of a TFS 2010 workspace on a client when the TFS Server no longer exists? | 6 | 2012-02-15 16:59:14 | <p>I currently have a TFS 2010 Server running on SERVER-1. On my client (MY-CLIENT) I have VS2010 running and have a workspace associating SERVER-1 with \MY-CLIENT\Development. All is good.</p>
<p>I was playing around with setting up a different instance of TFS on SERVER-2. On my client, I deleted the original SERV... | 6,127 | 134,430 | 2013-04-29 20:26:23 | 9,300,443 | 16 | 2012-02-15 20:01:35 | 729,881 | 2012-02-15 20:01:35 | https://stackoverflow.com/q/9297710 | https://stackoverflow.com/a/9300443 | <p>The working folder mappings for all the local workspaces is stored in the version control cache file. This allows you to bootstrap TFS clients, allowing them to locate the server information for a given local folder. In addition, it will provide the information for this test you're seeing, that prevents a local fo... | <p>The working folder mappings for all the local workspaces is stored in the version control cache file. This allows you to bootstrap TFS clients, allowing them to locate the server information for a given local folder. In addition, it will provide the information for this test you're seeing, that prevents a local fo... | 422, 733, 33953 | tfs, visual-studio, workspace | <h1>How do you force the deletion of a TFS 2010 workspace on a client when the TFS Server no longer exists?</h1>
<p>I currently have a TFS 2010 Server running on SERVER-1. On my client (MY-CLIENT) I have VS2010 running and have a workspace associating SERVER-1 with \MY-CLIENT\Development. All is good.</p>
<p>I was p... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,749 | tvfc | # How do you force the deletion of a TFS 2010 workspace on a client when the TFS Server no longer exists?
I currently have a TFS 2010 Server running on SERVER-1. On my client (MY-CLIENT) I have VS2010 running and have a workspace associating SERVER-1 with \MY-CLIENT\Development. All is good.
I was playing around with... | The working folder mappings for all the local workspaces is stored in the version control cache file. This allows you to bootstrap TFS clients, allowing them to locate the server information for a given local folder. In addition, it will provide the information for this test you're seeing, that prevents a local folder ... |
31654804 | Update Build Controller/Agents to build C# 6 /.NET 4.6 application | 17 | 2015-07-27 13:44:24 | <p>here's the scene:</p>
<p>We use Visual Studio Online and an on-premise build server in our company network with TFS 2013 to build our solution after gated check-ins and releases.</p>
<p>Now we upgraded from Visual Studio 2013 to Visual Studio 2015 Enterprise and upgraded to the new .NET version. We are were really... | 14,236 | 4,919,063 | 2016-03-28 15:47:56 | 32,080,335 | 15 | 2015-08-18 18:43:51 | 736,079 | 2015-08-18 18:51:26 | https://stackoverflow.com/q/31654804 | https://stackoverflow.com/a/32080335 | <p>I suspect that you're running the 2013 Build agent still? In that case, open your build process template and look up the "Run Msbuild for project" task. Set the <a href="https://msdn.microsoft.com/en-us/library/gg265783(v=vs.100).aspx" rel="nofollow noreferrer">ToolPath</a> property to the location where your v14 Ms... | <p>I suspect that you're running the 2013 Build agent still? In that case, open your build process template and look up the "Run Msbuild for project" task. Set the <a href="https://msdn.microsoft.com/en-us/library/gg265783(v=vs.100).aspx" rel="nofollow noreferrer">ToolPath</a> property to the location where your v14 Ms... | 9, 16341, 108143 | c#, tfsbuild, visual-studio-2015 | <h1>Update Build Controller/Agents to build C# 6 /.NET 4.6 application</h1>
<p>here's the scene:</p>
<p>We use Visual Studio Online and an on-premise build server in our company network with TFS 2013 to build our solution after gated check-ins and releases.</p>
<p>Now we upgraded from Visual Studio 2013 to Visual Stu... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,750 | tvfc | # Update Build Controller/Agents to build C# 6 /.NET 4.6 application
here's the scene:
We use Visual Studio Online and an on-premise build server in our company network with TFS 2013 to build our solution after gated check-ins and releases.
Now we upgraded from Visual Studio 2013 to Visual Studio 2015 Enterprise and... | I suspect that you're running the 2013 Build agent still? In that case, open your build process template and look up the "Run Msbuild for project" task. Set the [ToolPath](https://msdn.microsoft.com/en-us/library/gg265783(v=vs.100).aspx) property to the location where your v14 MsBuild is installed. Default:
```
C:\Pro... |
35351695 | Build and Deploy a Web Application with TFS 2015 Build | 16 | 2016-02-11 22:52:39 | <p>We have just installed TFS 2015 (Update 1) on-premise and are trying to create a Continuous Integration/Build system using the new TFS Build system. The build works fine, and gives me a green light, but when I look at the default build it has only built the binaries from the bin directory, and there seems to be no ... | 13,880 | 61,164 | 2017-09-19 00:24:48 | 36,575,686 | 15 | 2016-04-12 14:05:24 | 2,028,741 | 2016-04-12 14:05:24 | https://stackoverflow.com/q/35351695 | https://stackoverflow.com/a/36575686 | <p>We use "Visual Studio Build" step and as Arguments for MSBuild we use following line:</p>
<pre><code>/p:DeployOnBuild=True /p:PublishProfile=$(DeploymentConfiguration)
</code></pre>
<p>On Variables tab page DeploymentConfiguration has to be configured. It must be the Name of the publish Profile (filename of the pu... | <p>We use "Visual Studio Build" step and as Arguments for MSBuild we use following line:</p> <pre><code>/p:DeployOnBuild=True /p:PublishProfile=$(DeploymentConfiguration) </code></pre> <p>On Variables tab page DeploymentConfiguration has to be configured. It must be the Name of the publish Profile (filename of the pu... | 190, 470, 16341, 110393 | asp.net-mvc, deployment, tfs-2015, tfsbuild | <h1>Build and Deploy a Web Application with TFS 2015 Build</h1>
<p>We have just installed TFS 2015 (Update 1) on-premise and are trying to create a Continuous Integration/Build system using the new TFS Build system. The build works fine, and gives me a green light, but when I look at the default build it has only buil... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,751 | tvfc | # Build and Deploy a Web Application with TFS 2015 Build
We have just installed TFS 2015 (Update 1) on-premise and are trying to create a Continuous Integration/Build system using the new TFS Build system. The build works fine, and gives me a green light, but when I look at the default build it has only built the bina... | We use "Visual Studio Build" step and as Arguments for MSBuild we use following line:
```
/p:DeployOnBuild=True /p:PublishProfile=$(DeploymentConfiguration)
```
On Variables tab page DeploymentConfiguration has to be configured. It must be the Name of the publish Profile (filename of the pubxml file). If the file Nam... |
8594569 | TFS Shortcut to do a diff on all modified files with latest version | 16 | 2011-12-21 18:29:04 | <p>I'm looking for a way to kick off a diff on multiple files very easily. </p>
<p>I find it very tedious to have to:</p>
<ul>
<li>Right click on every file </li>
<li>Click compare</li>
<li>Click with work space version.</li>
<li>Rinse and repeat for every file in my change set</li>
</ul>
<p>Ideally, I'd like to be... | 7,138 | 993,603 | 2018-09-18 06:14:27 | 8,882,928 | 15 | 2012-01-16 16:20:41 | 3,619 | 2012-01-16 16:20:41 | https://stackoverflow.com/q/8594569 | https://stackoverflow.com/a/8882928 | <p>Use the <a href="http://msdn.microsoft.com/en-us/library/cc31bk2e%28v=vs.80%29.aspx" rel="noreferrer">Tf Command Line Utility</a>. It comes with Visual Studio. You'll have a special command prompt with the tools loaded called "Visual Studio Command Prompt (2010)" in the Start Menu. You should <code>cd</code> to the ... | <p>Use the <a href="http://msdn.microsoft.com/en-us/library/cc31bk2e%28v=vs.80%29.aspx" rel="noreferrer">Tf Command Line Utility</a>. It comes with Visual Studio. You'll have a special command prompt with the tools loaded called "Visual Studio Command Prompt (2010)" in the Start Menu. You should <code>cd</code> to the ... | 733 | tfs | <h1>TFS Shortcut to do a diff on all modified files with latest version</h1>
<p>I'm looking for a way to kick off a diff on multiple files very easily. </p>
<p>I find it very tedious to have to:</p>
<ul>
<li>Right click on every file </li>
<li>Click compare</li>
<li>Click with work space version.</li>
<li>Rinse and ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,752 | tvfc | # TFS Shortcut to do a diff on all modified files with latest version
I'm looking for a way to kick off a diff on multiple files very easily.
I find it very tedious to have to:
- Right click on every file
- Click compare
- Click with work space version.
- Rinse and repeat for every file in my change set
Ideally, I'... | Use the [Tf Command Line Utility](http://msdn.microsoft.com/en-us/library/cc31bk2e%28v=vs.80%29.aspx). It comes with Visual Studio. You'll have a special command prompt with the tools loaded called "Visual Studio Command Prompt (2010)" in the Start Menu. You should `cd` to the root directory for the solution. This way ... |
6505812 | How to create a test run and result using the Team Foundation Server API? | 16 | 2011-06-28 11:37:47 | <p>I have found several samples about retrieving test results using the TFS API, but no documentation on creating results programmatically. My aim is to create a lightweight alternative to using Microsoft Test Manager for running manual tests. Does anyone have experience with this? Are there any examples out there that... | 25,307 | 1,042 | 2015-10-13 19:34:09 | 8,187,802 | 15 | 2011-11-18 19:11:25 | 1,042 | 2012-08-16 03:05:25 | https://stackoverflow.com/q/6505812 | https://stackoverflow.com/a/8187802 | <p><em>Update 15 Aug 2012:</em></p>
<p>The sample below has now been integrated into my open source TFS Test Steps Editor tool. In the latest version it gained the ability to publish test results to TFS. See the source on <a href="http://ajryan.github.com/TFSTestStepsEditor/">GitHub</a>.</p>
<hr>
<p>I now have worki... | <p><em>Update 15 Aug 2012:</em></p> <p>The sample below has now been integrated into my open source TFS Test Steps Editor tool. In the latest version it gained the ability to publish test results to TFS. See the source on <a href="http://ajryan.github.com/TFSTestStepsEditor/">GitHub</a>.</p> <hr> <p>I now have worki... | 9, 14456, 32354, 61862 | c#, microsoft-test-manager, tfs-sdk, visual-studio-2010 | <h1>How to create a test run and result using the Team Foundation Server API?</h1>
<p>I have found several samples about retrieving test results using the TFS API, but no documentation on creating results programmatically. My aim is to create a lightweight alternative to using Microsoft Test Manager for running manual ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,753 | tvfc | # How to create a test run and result using the Team Foundation Server API?
I have found several samples about retrieving test results using the TFS API, but no documentation on creating results programmatically. My aim is to create a lightweight alternative to using Microsoft Test Manager for running manual tests. Do... | *Update 15 Aug 2012:*
The sample below has now been integrated into my open source TFS Test Steps Editor tool. In the latest version it gained the ability to publish test results to TFS. See the source on [GitHub](http://ajryan.github.com/TFSTestStepsEditor/).
---
I now have working code for publishing test results.... |
25297764 | Unshelve changes in TFS Visual Studio 2013 | 12 | 2014-08-13 23:20:22 | <p>I read some articles but my English isn't too sharp and I am still confused.</p>
<p>I have shelved changes. Is it possible to restore these changes in local repository?</p>
<p>I found my shelve changes and opened. Than I have two checkboxes:
a) Restore work items and check-in notes;
b) Preserve shelveset on the se... | 8,845 | 3,380,837 | 2016-03-14 11:08:37 | 25,302,714 | 15 | 2014-08-14 07:50:15 | 3,738,637 | 2014-08-14 07:50:15 | https://stackoverflow.com/q/25297764 | https://stackoverflow.com/a/25302714 | <pre><code>a) Restore work items and check-in notes;
</code></pre>
<p>When you shelve the changes it is similar to doing a Check in, by that you can shelve your files and tag workitems and add the check-in notes that you would use if you were doing a check-in. so the shelveset will be created and any comments you have... | <pre><code>a) Restore work items and check-in notes; </code></pre> <p>When you shelve the changes it is similar to doing a Check in, by that you can shelve your files and tag workitems and add the check-in notes that you would use if you were doing a check-in. so the shelveset will be created and any comments you have... | 733, 93364 | tfs, visual-studio-2013 | <h1>Unshelve changes in TFS Visual Studio 2013</h1>
<p>I read some articles but my English isn't too sharp and I am still confused.</p>
<p>I have shelved changes. Is it possible to restore these changes in local repository?</p>
<p>I found my shelve changes and opened. Than I have two checkboxes:
a) Restore work items... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,754 | tvfc | # Unshelve changes in TFS Visual Studio 2013
I read some articles but my English isn't too sharp and I am still confused.
I have shelved changes. Is it possible to restore these changes in local repository?
I found my shelve changes and opened. Than I have two checkboxes:
a) Restore work items and check-in notes;
b)... | ```
a) Restore work items and check-in notes;
```
When you shelve the changes it is similar to doing a Check in, by that you can shelve your files and tag workitems and add the check-in notes that you would use if you were doing a check-in. so the shelveset will be created and any comments you have added and any work ... |
20998649 | Visual Studio Source Control Explorer access denied | 12 | 2014-01-08 14:39:52 | <p>Recently I have been working on a project and have been waiting to publish it to Azure. Before I was able to do this my local user account on my machine was changed. Now when I try to add the project solution to the solution control explorer I get "access to path [old username]/my documents/projects is denied." I ha... | 17,811 | 3,157,948 | 2022-05-26 19:04:05 | 20,999,157 | 15 | 2014-01-08 15:01:51 | 736,079 | 2014-01-08 15:39:54 | https://stackoverflow.com/q/20998649 | https://stackoverflow.com/a/20999157 | <p>You will have to change your workspace mapping. If the Source Control Explorer allows you, you can open the Workspace dropdown (in the toolbar) and edit the current mapping.</p>
<p>If the Source Control Explorer doesn't allow you due to Access Denied errors, you can also use the commandline utility <code>tf.exe</co... | <p>You will have to change your workspace mapping. If the Source Control Explorer allows you, you can open the Workspace dropdown (in the toolbar) and edit the current mapping.</p> <p>If the Source Control Explorer doesn't allow you due to Access Denied errors, you can also use the commandline utility <code>tf.exe</co... | 733, 33953, 93364 | tfs, visual-studio, visual-studio-2013 | <h1>Visual Studio Source Control Explorer access denied</h1>
<p>Recently I have been working on a project and have been waiting to publish it to Azure. Before I was able to do this my local user account on my machine was changed. Now when I try to add the project solution to the solution control explorer I get "access ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,755 | tvfc | # Visual Studio Source Control Explorer access denied
Recently I have been working on a project and have been waiting to publish it to Azure. Before I was able to do this my local user account on my machine was changed. Now when I try to add the project solution to the solution control explorer I get "access to path [... | You will have to change your workspace mapping. If the Source Control Explorer allows you, you can open the Workspace dropdown (in the toolbar) and edit the current mapping.
If the Source Control Explorer doesn't allow you due to Access Denied errors, you can also use the commandline utility `tf.exe` to remove them.
... |
59369619 | How to use Output Variables in Release pipeline | 11 | 2019-12-17 07:42:36 | <p>I searched all the docs about Output Variables are for build pipeline and only told me how to set in .yaml. But how to use it in release pipeline? </p>
<p>Supposed I have 2 variables $abc="123" $def="456" in step Login. How to set them in below text box? and How to use them in step Deploy?
<a href="https://i.sstati... | 18,212 | 6,306,933 | 2019-12-17 08:41:32 | 59,370,404 | 15 | 2019-12-17 08:41:32 | 11,439,664 | 2019-12-17 08:41:32 | https://stackoverflow.com/q/59369619 | https://stackoverflow.com/a/59370404 | <blockquote>
<p>Some tasks define output variables</p>
</blockquote>
<p>For brief text, it represents the follow scripts:</p>
<pre><code>echo "##vso[task.setvariable variable=abc;isOutput=true]123"
</code></pre>
<p>Just specify the reference name in the blank of task, and then, you can call this output variable <c... | <blockquote> <p>Some tasks define output variables</p> </blockquote> <p>For brief text, it represents the follow scripts:</p> <pre><code>echo "##vso[task.setvariable variable=abc;isOutput=true]123" </code></pre> <p>Just specify the reference name in the blank of task, and then, you can call this output variable <c... | 14158, 16341, 111433, 116537, 119596 | azure, azure-devops, azure-pipelines, devops, tfsbuild | <h1>How to use Output Variables in Release pipeline</h1>
<p>I searched all the docs about Output Variables are for build pipeline and only told me how to set in .yaml. But how to use it in release pipeline? </p>
<p>Supposed I have 2 variables $abc="123" $def="456" in step Login. How to set them in below text box? and ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,756 | tvfc | # How to use Output Variables in Release pipeline
I searched all the docs about Output Variables are for build pipeline and only told me how to set in .yaml. But how to use it in release pipeline?
Supposed I have 2 variables $abc="123" $def="456" in step Login. How to set them in below text box? and How to use them i... | > Some tasks define output variables
For brief text, it represents the follow scripts:
```
echo "##vso[task.setvariable variable=abc;isOutput=true]123"
```
Just specify the reference name in the blank of task, and then, you can call this output variable `abc` by using the format: `<reference name>.<variable name>`.
... |
2832825 | How/can do you connect VS2010 to Codeplex's TFS? | 11 | 2010-05-14 08:41:15 | <p>I've gone to Team-->Connect and tried to enter the details for the TFS on the CddePlex site:</p>
<p><a href="https://tfs05.codeplex.com" rel="noreferrer">https://tfs05.codeplex.com</a></p>
<p>Then it asks for the user name and password - which I assume is something like </p>
<p>mycodeplexusername@codeplex.com + m... | 5,978 | 15,710 | 2015-06-04 21:58:07 | 2,832,844 | 15 | 2010-05-14 08:45:29 | 310,733 | 2010-05-14 08:45:29 | https://stackoverflow.com/q/2832825 | https://stackoverflow.com/a/2832844 | <p>Your username is probably</p>
<pre><code>snd\username_cp
</code></pre>
<p>Replace username with your username</p>
| <p>Your username is probably</p> <pre><code>snd\username_cp </code></pre> <p>Replace username with your username</p> | 733, 3429, 14456 | codeplex, tfs, visual-studio-2010 | <h1>How/can do you connect VS2010 to Codeplex's TFS?</h1>
<p>I've gone to Team-->Connect and tried to enter the details for the TFS on the CddePlex site:</p>
<p><a href="https://tfs05.codeplex.com" rel="noreferrer">https://tfs05.codeplex.com</a></p>
<p>Then it asks for the user name and password - which I assume is s... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,757 | tvfc | # How/can do you connect VS2010 to Codeplex's TFS?
I've gone to Team-->Connect and tried to enter the details for the TFS on the CddePlex site:
<https://tfs05.codeplex.com>
Then it asks for the user name and password - which I assume is something like
mycodeplexusername@codeplex.com + my codeplex password.
But is ... | Your username is probably
```
snd\username_cp
```
Replace username with your username |
80486 | How do you turn on Code Coverage in Builds within TFS? | 10 | 2008-09-17 06:17:09 | <p>I need to know how to turn on Code Coverage when running TFS builds on a solution with a .testrunconfig file. </p>
<p>There is an option in the testrunconfig file that is for code coverage, but when running a TFS build there is no code coverage results.</p>
<p>I am running my tests using the *Tests.dll mask and N... | 9,467 | 5,132 | 2009-01-09 20:18:51 | 80,600 | 15 | 2008-09-17 06:47:15 | 6,438 | 2008-09-17 06:47:15 | https://stackoverflow.com/q/80486 | https://stackoverflow.com/a/80600 | <p>How are you running the tests? Are you using a .vsmdi file or just specifying that you run all tests in *Tests.dll assemblies?</p>
<p>If it is the latter and you are using TFS 2008, then you need to add the following to the and of the first PropertyGroup in your TFSBuild.proj file for the build.</p>
<pre><code>&l... | <p>How are you running the tests? Are you using a .vsmdi file or just specifying that you run all tests in *Tests.dll assemblies?</p> <p>If it is the latter and you are using TFS 2008, then you need to add the following to the and of the first PropertyGroup in your TFSBuild.proj file for the build.</p> <pre><code>&l... | 733, 1783, 3315 | build-process, code-coverage, tfs | <h1>How do you turn on Code Coverage in Builds within TFS?</h1>
<p>I need to know how to turn on Code Coverage when running TFS builds on a solution with a .testrunconfig file. </p>
<p>There is an option in the testrunconfig file that is for code coverage, but when running a TFS build there is no code coverage result... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,758 | tvfc | # How do you turn on Code Coverage in Builds within TFS?
I need to know how to turn on Code Coverage when running TFS builds on a solution with a .testrunconfig file.
There is an option in the testrunconfig file that is for code coverage, but when running a TFS build there is no code coverage results.
I am running m... | How are you running the tests? Are you using a .vsmdi file or just specifying that you run all tests in *Tests.dll assemblies?
If it is the latter and you are using TFS 2008, then you need to add the following to the and of the first PropertyGroup in your TFSBuild.proj file for the build.
```
<RunConfigFile>$(Solutio... |
22879774 | Exception discovering xUnit.net tests with Visual Studio Online build server | 9 | 2014-04-05 10:40:45 | <p>I am using Xunit.net with Visual Studio Online hosted build. My tests are being discovered and run fine both locally and on the build server. But on the build server I get this exception (causing the build to reach a "Partially Succeeded" state). This is odd, since all my tests are in fact being discovered and run.<... | 5,789 | 268,091 | 2014-05-12 19:21:32 | 23,599,144 | 15 | 2014-05-11 23:47:35 | 1,677,285 | 2014-05-12 19:21:32 | https://stackoverflow.com/q/22879774 | https://stackoverflow.com/a/23599144 | <p>The testrunner tries to discover the unit tests in <code>xunit.runner.visualstudio.testadapter.dll</code>. Why? Because it matches the default test sources spec of <code>*.test*.dll</code>.</p>
<p>When changing the default test source spec to <code>*.tests.dll</code> or something else more specific, it will work.</... | <p>The testrunner tries to discover the unit tests in <code>xunit.runner.visualstudio.testadapter.dll</code>. Why? Because it matches the default test sources spec of <code>*.test*.dll</code>.</p> <p>When changing the default test source spec to <code>*.tests.dll</code> or something else more specific, it will work.</... | 1931, 8293, 16341, 116537 | azure-devops, tfsbuild, unit-testing, xunit.net | <h1>Exception discovering xUnit.net tests with Visual Studio Online build server</h1>
<p>I am using Xunit.net with Visual Studio Online hosted build. My tests are being discovered and run fine both locally and on the build server. But on the build server I get this exception (causing the build to reach a "Partially Suc... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,759 | tvfc | # Exception discovering xUnit.net tests with Visual Studio Online build server
I am using Xunit.net with Visual Studio Online hosted build. My tests are being discovered and run fine both locally and on the build server. But on the build server I get this exception (causing the build to reach a "Partially Succeeded" s... | The testrunner tries to discover the unit tests in `xunit.runner.visualstudio.testadapter.dll`. Why? Because it matches the default test sources spec of `*.test*.dll`.
When changing the default test source spec to `*.tests.dll` or something else more specific, it will work.
Source: <http://erictummers.wordpress.com/2... |
21741880 | How do you create new windows workspace with TFS command line client that is running on unix | 9 | 2014-02-12 23:08:02 | <p>How would I work with the TFS command line client that is running on a aix/unix box to run the tf commands. For example I'm unable to create local windows workspaces that connect to the tfs version control folders that are on a windows server. The version of command line client that is running on the unix box is (/T... | 9,779 | 3,303,866 | 2014-02-14 17:20:16 | 21,785,438 | 15 | 2014-02-14 17:11:51 | 729,881 | 2014-02-14 17:20:16 | https://stackoverflow.com/q/21741880 | https://stackoverflow.com/a/21785438 | <p>Getting source files down from the server requires three steps on any platform:</p>
<ol>
<li><p>Create a <strong>workspace</strong> on your server. A workspace is what contains the metadata about the files you want on the server and the files you have locally.</p>
<p>(Technically, you don't create a workspace on ... | <p>Getting source files down from the server requires three steps on any platform:</p> <ol> <li><p>Create a <strong>workspace</strong> on your server. A workspace is what contains the metadata about the files you want on the server and the files you have locally.</p> <p>(Technically, you don't create a workspace on ... | 34, 733, 14377, 78428 | command-line-tool, team-explorer-everywhere, tfs, unix | <h1>How do you create new windows workspace with TFS command line client that is running on unix</h1>
<p>How would I work with the TFS command line client that is running on a aix/unix box to run the tf commands. For example I'm unable to create local windows workspaces that connect to the tfs version control folders t... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,760 | tvfc | # How do you create new windows workspace with TFS command line client that is running on unix
How would I work with the TFS command line client that is running on a aix/unix box to run the tf commands. For example I'm unable to create local windows workspaces that connect to the tfs version control folders that are o... | Getting source files down from the server requires three steps on any platform:
1. Create a **workspace** on your server. A workspace is what contains the metadata about the files you want on the server and the files you have locally.
(Technically, you don't create a workspace on the *server*, you do it on a *Team... |
3824647 | Return newly created TFS work item ID using TFS API? | 9 | 2010-09-29 18:20:49 | <p>Using the TFS API, I am able to create a TFS item, no problem.</p>
<p>What would be the best way for me to know what the Item ID is for the newly created Item?</p>
<p>Thank you,</p>
<p>George</p>
<pre><code> try
{
// Authenticate User Account
NetworkCredential account = new... | 5,144 | 335,058 | 2016-10-21 11:35:26 | 3,826,916 | 15 | 2010-09-30 00:37:40 | 345,708 | 2010-09-30 00:37:40 | https://stackoverflow.com/q/3824647 | https://stackoverflow.com/a/3826916 | <p>As soon as you save userStory, the ID field will be populated. You should be able to just return <code>userStory.Id</code>.</p>
| <p>As soon as you save userStory, the ID field will be populated. You should be able to just return <code>userStory.Id</code>.</p> | 32354, 64139 | c#-4.0, tfs-sdk | <h1>Return newly created TFS work item ID using TFS API?</h1>
<p>Using the TFS API, I am able to create a TFS item, no problem.</p>
<p>What would be the best way for me to know what the Item ID is for the newly created Item?</p>
<p>Thank you,</p>
<p>George</p>
<pre><code> try
{
// Authent... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,761 | tvfc | # Return newly created TFS work item ID using TFS API?
Using the TFS API, I am able to create a TFS item, no problem.
What would be the best way for me to know what the Item ID is for the newly created Item?
Thank you,
George
```
try
{
// Authenticate User Account
NetworkCre... | As soon as you save userStory, the ID field will be populated. You should be able to just return `userStory.Id`. |
24491196 | How to get history of checkins/changsets for specific Team Project? | 8 | 2014-06-30 13:25:23 | <p>I'm using the TFS Client API to try and query a TFS 2010 instance.
I need to be able to do the following</p>
<ul>
<li>For a specified team project, say 'Project A'</li>
<li>Get a list of the history of recent check-ins made to this project (say the last 50, or the list for the last day)</li>
</ul>
<p>Then be able ... | 5,826 | 1,020,132 | 2021-06-08 06:36:20 | 24,492,279 | 15 | 2014-06-30 14:20:09 | 781,754 | 2014-06-30 14:20:09 | https://stackoverflow.com/q/24491196 | https://stackoverflow.com/a/24492279 | <p>This is pretty straightforward:</p>
<pre><code>var tfsUrl = "http://myTfsServer:8080/tfs/defaultcollection";
var sourceControlRootPath = "$/MyTeamProject";
var tfsConnection = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(new Uri(tfsUrl));
var vcs = tfsConnection.GetService<VersionControlServer>();... | <p>This is pretty straightforward:</p> <pre><code>var tfsUrl = "http://myTfsServer:8080/tfs/defaultcollection"; var sourceControlRootPath = "$/MyTeamProject"; var tfsConnection = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(new Uri(tfsUrl)); var vcs = tfsConnection.GetService<VersionControlServer>();... | 9, 733, 32354 | c#, tfs, tfs-sdk | <h1>How to get history of checkins/changsets for specific Team Project?</h1>
<p>I'm using the TFS Client API to try and query a TFS 2010 instance.
I need to be able to do the following</p>
<ul>
<li>For a specified team project, say 'Project A'</li>
<li>Get a list of the history of recent check-ins made to this project... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,762 | tvfc | # How to get history of checkins/changsets for specific Team Project?
I'm using the TFS Client API to try and query a TFS 2010 instance.
I need to be able to do the following
- For a specified team project, say 'Project A'
- Get a list of the history of recent check-ins made to this project (say the last 50, or the l... | This is pretty straightforward:
```
var tfsUrl = "http://myTfsServer:8080/tfs/defaultcollection";
var sourceControlRootPath = "$/MyTeamProject";
var tfsConnection = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(new Uri(tfsUrl));
var vcs = tfsConnection.GetService<VersionControlServer>();
var changeSets = v... |
9132885 | How i can use BuildMessage in a custom BuildActivity? | 8 | 2012-02-03 17:32:30 | <p>How Can I add BuildMessage(s) in custom BuildActivity?</p>
<pre><code>[BuildActivity(HostEnvironmentOption.Agent)]
public sealed class InvokeDotNetReactor : CodeActivity
{
[RequiredArgument]
public InArgument<string> SourcesDirectory { get; set; }
protected override void Execute(CodeActivityConte... | 2,719 | 948,407 | 2015-08-03 08:48:26 | 9,133,323 | 15 | 2012-02-03 18:06:01 | 750,796 | 2015-08-03 08:48:26 | https://stackoverflow.com/q/9132885 | https://stackoverflow.com/a/9133323 | <p>Logging in a CodeActivity can be done using the CodeActivityContext. </p>
<p>Example:</p>
<pre><code>protected override void Execute(CodeActivityContext context)
{
context.TrackBuildMessage("Hello from Custom TFS Build Activity", BuildMessageImportance.High);
}
</code></pre>
<p><code>TrackBuildMessage</code>... | <p>Logging in a CodeActivity can be done using the CodeActivityContext. </p> <p>Example:</p> <pre><code>protected override void Execute(CodeActivityContext context) { context.TrackBuildMessage("Hello from Custom TFS Build Activity", BuildMessageImportance.High); } </code></pre> <p><code>TrackBuildMessage</code>... | 733, 1783, 9016 | build-process, tfs, workflow-activity | <h1>How i can use BuildMessage in a custom BuildActivity?</h1>
<p>How Can I add BuildMessage(s) in custom BuildActivity?</p>
<pre><code>[BuildActivity(HostEnvironmentOption.Agent)]
public sealed class InvokeDotNetReactor : CodeActivity
{
[RequiredArgument]
public InArgument<string> SourcesDirectory { get... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,763 | tvfc | # How i can use BuildMessage in a custom BuildActivity?
How Can I add BuildMessage(s) in custom BuildActivity?
```
[BuildActivity(HostEnvironmentOption.Agent)]
public sealed class InvokeDotNetReactor : CodeActivity
{
[RequiredArgument]
public InArgument<string> SourcesDirectory { get; set; }
protected ov... | Logging in a CodeActivity can be done using the CodeActivityContext.
Example:
```
protected override void Execute(CodeActivityContext context)
{
context.TrackBuildMessage("Hello from Custom TFS Build Activity", BuildMessageImportance.High);
}
```
`TrackBuildMessage` is an Extension method which can be found in n... |
8006806 | View TFS changeset details in console | 8 | 2011-11-04 08:51:24 | <p>I am using TFS and want to view all changes on a changeset that contains changes in several files. Viewing this in the GUI is not efficient as I have to open every single file. What I want to do is to tell TFS on the console to show me all the changes to all files in changeset number 777. Is there a command to do th... | 1,944 | 100,894 | 2011-11-04 09:00:52 | 8,006,888 | 15 | 2011-11-04 09:00:52 | 102,371 | 2011-11-04 09:00:52 | https://stackoverflow.com/q/8006806 | https://stackoverflow.com/a/8006888 | <pre><code>tf diff <folder> /version:C776~C777 /recursive /format:unified
</code></pre>
<p>Will give you a diff formatted summary </p>
| <pre><code>tf diff <folder> /version:C776~C777 /recursive /format:unified </code></pre> <p>Will give you a diff formatted summary </p> | 488, 606, 733, 20848 | changeset, console, diff, tfs | <h1>View TFS changeset details in console</h1>
<p>I am using TFS and want to view all changes on a changeset that contains changes in several files. Viewing this in the GUI is not efficient as I have to open every single file. What I want to do is to tell TFS on the console to show me all the changes to all files in ch... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,764 | tvfc | # View TFS changeset details in console
I am using TFS and want to view all changes on a changeset that contains changes in several files. Viewing this in the GUI is not efficient as I have to open every single file. What I want to do is to tell TFS on the console to show me all the changes to all files in changeset n... | ```
tf diff <folder> /version:C776~C777 /recursive /format:unified
```
Will give you a diff formatted summary |
52288779 | Pull request policies - Build expired - How can I run the build again? | 7 | 2018-09-12 06:29:38 | <p>I have made a pull request which has some policies.
The pull request has been approved and is ready to complete, but since the build has been expired, I cannot Complete it. Here is the status of policies:</p>
<p><em>Required</em></p>
<ul>
<li>✔️ 2 reviewer approved</li>
<li>✔️ Work items linked</li>
<li>❌ Build e... | 5,420 | 10,351,366 | 2018-09-13 01:18:03 | 52,293,821 | 15 | 2018-09-12 11:13:43 | 7,466,674 | 2018-09-13 01:18:03 | https://stackoverflow.com/q/52288779 | https://stackoverflow.com/a/52293821 | <p>Generally you can rebuild from Pull Request overview page:</p>
<p>For example the build faild, the I can click the "<code>...</code>" behind the Build Validation policy item --> <code>Queue Build</code> to rebuild it.</p>
<p>Please refer to <a href="https://blogs.msdn.microsoft.com/devops/2016/04/21/pull-request-b... | <p>Generally you can rebuild from Pull Request overview page:</p> <p>For example the build faild, the I can click the "<code>...</code>" behind the Build Validation policy item --> <code>Queue Build</code> to rebuild it.</p> <p>Please refer to <a href="https://blogs.msdn.microsoft.com/devops/2016/04/21/pull-request-b... | 733, 5647, 33953 | build, tfs, visual-studio | <h1>Pull request policies - Build expired - How can I run the build again?</h1>
<p>I have made a pull request which has some policies.
The pull request has been approved and is ready to complete, but since the build has been expired, I cannot Complete it. Here is the status of policies:</p>
<p><em>Required</em></p>
... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,765 | tvfc | # Pull request policies - Build expired - How can I run the build again?
I have made a pull request which has some policies.
The pull request has been approved and is ready to complete, but since the build has been expired, I cannot Complete it. Here is the status of policies:
*Required*
- ✔️ 2 reviewer approved
- ✔... | Generally you can rebuild from Pull Request overview page:
For example the build faild, the I can click the "`...`" behind the Build Validation policy item --> `Queue Build` to rebuild it.
Please refer to [Pull request build policies for high quality code](https://blogs.msdn.microsoft.com/devops/2016/04/21/pull-reque... |
51644674 | Branch Policy: Require atleast 1 Approval from specified approvers | 6 | 2018-08-02 02:29:50 | <p>We have 6 people on the project team: 1 Tech-lead and 1 Assistant Tech-lead.</p>
<p>In our branch policy we want to require that only the Tech-lead or Assistant Tech-lead can approve the pull request. We only need approval from one of them to avoid a bottleneck if the other one is on leave.</p>
<p>The problem is the... | 11,080 | 2,450,092 | 2023-08-01 08:19:53 | 51,645,052 | 15 | 2018-08-02 03:27:51 | 781,754 | 2018-08-02 16:39:53 | https://stackoverflow.com/q/51644674 | https://stackoverflow.com/a/51645052 | <p>You can provide required reviewers that are automatically added to each PR. These reviewers can also be groups.</p>
<p>Do this:</p>
<ol>
<li>Create a group that contains your tech lead and assistant tech lead and.</li>
<li>Make that group a required approver under <code>Automatically include code reviewers</code><... | <p>You can provide required reviewers that are automatically added to each PR. These reviewers can also be groups.</p> <p>Do this:</p> <ol> <li>Create a group that contains your tech lead and assistant tech lead and.</li> <li>Make that group a required approver under <code>Automatically include code reviewers</code><... | 733, 110393 | tfs, tfs-2015 | <h1>Branch Policy: Require atleast 1 Approval from specified approvers</h1>
<p>We have 6 people on the project team: 1 Tech-lead and 1 Assistant Tech-lead.</p>
<p>In our branch policy we want to require that only the Tech-lead or Assistant Tech-lead can approve the pull request. We only need approval from one of them t... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,766 | tvfc | # Branch Policy: Require atleast 1 Approval from specified approvers
We have 6 people on the project team: 1 Tech-lead and 1 Assistant Tech-lead.
In our branch policy we want to require that only the Tech-lead or Assistant Tech-lead can approve the pull request. We only need approval from one of them to avoid a bottl... | You can provide required reviewers that are automatically added to each PR. These reviewers can also be groups.
Do this:
1. Create a group that contains your tech lead and assistant tech lead and.
2. Make that group a required approver under `Automatically include code reviewers`
You should get something like this:
... |
2552955 | How can I easily diff/compare 2 shelvesets in TFS? | 39 | 2010-03-31 12:48:46 | <p>Is there a way to compare 2 shelves in TFS without having to resort to unshelving both in separate workspaces and diffing the files?</p>
| 19,650 | 5,752 | 2018-05-21 16:07:57 | 2,552,991 | 14 | 2010-03-31 12:53:56 | 30,225 | 2017-01-08 22:23:28 | https://stackoverflow.com/q/2552955 | https://stackoverflow.com/a/2552991 | <p>I don't have access to TFS currently, but if the file in the shelveset has a unique idenitifer (like say $/x/y/z/a.b.c;SH='ShelvesetName') you should be able to issue a command line <a href="https://www.visualstudio.com/en-us/docs/tfvc/difference-command" rel="noreferrer">tf dff command</a> to compare each one.</p>
... | <p>I don't have access to TFS currently, but if the file in the shelveset has a unique idenitifer (like say $/x/y/z/a.b.c;SH='ShelvesetName') you should be able to issue a command line <a href="https://www.visualstudio.com/en-us/docs/tfvc/difference-command" rel="noreferrer">tf dff command</a> to compare each one.</p> ... | 733, 31422 | shelving, tfs | <h1>How can I easily diff/compare 2 shelvesets in TFS?</h1>
<p>Is there a way to compare 2 shelves in TFS without having to resort to unshelving both in separate workspaces and diffing the files?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,767 | tvfc | # How can I easily diff/compare 2 shelvesets in TFS?
Is there a way to compare 2 shelves in TFS without having to resort to unshelving both in separate workspaces and diffing the files? | I don't have access to TFS currently, but if the file in the shelveset has a unique idenitifer (like say $/x/y/z/a.b.c;SH='ShelvesetName') you should be able to issue a command line [tf dff command](https://www.visualstudio.com/en-us/docs/tfvc/difference-command) to compare each one.
**Or**
If you unshelve one and th... |
638154 | How to delete Work Item from Team Foundation Server | 33 | 2009-03-12 11:08:02 | <p>Is there a chance to delete Work Item from TFS, or all I can do is just to rename it.</p>
<p><strong>Update:
This question was for TFS 2008.
New version (2010) have out of the box solution as Rob Cannon suggested</strong></p>
| 60,860 | 75,825 | 2016-09-29 09:04:01 | 1,357,266 | 14 | 2009-08-31 12:38:25 | 132,845 | 2016-09-29 09:04:01 | https://stackoverflow.com/q/638154 | https://stackoverflow.com/a/1357266 | <p>See this tool: <a href="http://devmatter.blogspot.com/2009/04/deleting-work-items-in-tfs-ui.html" rel="nofollow noreferrer">http://devmatter.blogspot.com/2009/04/deleting-work-items-in-tfs-ui.html</a></p>
<blockquote>
<p>the Team Foundation Client does not include any functionality for deleting work items from TF... | <p>See this tool: <a href="http://devmatter.blogspot.com/2009/04/deleting-work-items-in-tfs-ui.html" rel="nofollow noreferrer">http://devmatter.blogspot.com/2009/04/deleting-work-items-in-tfs-ui.html</a></p> <blockquote> <p>the Team Foundation Client does not include any functionality for deleting work items from TF... | 733 | tfs | <h1>How to delete Work Item from Team Foundation Server</h1>
<p>Is there a chance to delete Work Item from TFS, or all I can do is just to rename it.</p>
<p><strong>Update:
This question was for TFS 2008.
New version (2010) have out of the box solution as Rob Cannon suggested</strong></p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,768 | tvfc | # How to delete Work Item from Team Foundation Server
Is there a chance to delete Work Item from TFS, or all I can do is just to rename it.
**Update:
This question was for TFS 2008.
New version (2010) have out of the box solution as Rob Cannon suggested** | See this tool: <http://devmatter.blogspot.com/2009/04/deleting-work-items-in-tfs-ui.html>
> the Team Foundation Client does not include any functionality for deleting work items from TFS.
>
> Although it’s a tad inconvenient, you can delete work items from TFS by installing the [Team Foundation Server Power Tools](htt... |
3057164 | How to add new users to TFS 2010 | 24 | 2010-06-16 21:04:33 | <p>I have installed Visual Studio Team Foundation Server 2010 on Windows 7 Professional edition.</p>
<p>How can I manage (add) new users which can use the TFS 2010?</p>
| 58,177 | 363,886 | 2020-07-08 13:51:06 | 8,378,710 | 14 | 2011-12-04 21:24:12 | 366,064 | 2012-01-27 21:21:58 | https://stackoverflow.com/q/3057164 | https://stackoverflow.com/a/8378710 | <p>Since you don't have a <strong>server version of windows</strong>, you can't have a domain, so you can't add domain users to your project.</p>
<p>You should either <strong>install a server</strong> (which most people might recommend) or you can save your time and effort and just simply <strong>create local users</s... | <p>Since you don't have a <strong>server version of windows</strong>, you can't have a domain, so you can't add domain users to your project.</p> <p>You should either <strong>install a server</strong> (which most people might recommend) or you can save your time and effort and just simply <strong>create local users</s... | 733 | tfs | <h1>How to add new users to TFS 2010</h1>
<p>I have installed Visual Studio Team Foundation Server 2010 on Windows 7 Professional edition.</p>
<p>How can I manage (add) new users which can use the TFS 2010?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,769 | tvfc | # How to add new users to TFS 2010
I have installed Visual Studio Team Foundation Server 2010 on Windows 7 Professional edition.
How can I manage (add) new users which can use the TFS 2010? | Since you don't have a **server version of windows**, you can't have a domain, so you can't add domain users to your project.
You should either **install a server** (which most people might recommend) or you can save your time and effort and just simply **create local users** on your TFS server (which can have any ver... |
2784335 | How can I get TFS 2010 to build each project to a separate directory? | 22 | 2010-05-06 20:41:25 | <p>In our project, we'd like to have our TFS build put each project into its own folder under the drop folder, instead of dropping all of the files into one flat structure. To illustrate, we'd like to see something like this:</p>
<pre><code>DropFolder/
Foo/
foo.exe
Bar/
bar.dll
Baz
baz.dll
</code></p... | 19,223 | 21,957 | 2023-04-06 11:13:27 | 2,784,981 | 14 | 2010-05-06 22:35:18 | 21,957 | 2010-05-06 22:35:18 | https://stackoverflow.com/q/2784335 | https://stackoverflow.com/a/2784981 | <p>I figured out a nice way to do it. It turns out that since you can set the OutDir to whatever you want within the workflow, if you set it to the empty string, MSBuild will instead use the project-specific OutputPath. That lets us be a lot more flexible. Here's my entire solution (based on the default build workflow)... | <p>I figured out a nice way to do it. It turns out that since you can set the OutDir to whatever you want within the workflow, if you set it to the empty string, MSBuild will instead use the project-specific OutputPath. That lets us be a lot more flexible. Here's my entire solution (based on the default build workflow)... | 265, 733, 16341 | msbuild, tfs, tfsbuild | <h1>How can I get TFS 2010 to build each project to a separate directory?</h1>
<p>In our project, we'd like to have our TFS build put each project into its own folder under the drop folder, instead of dropping all of the files into one flat structure. To illustrate, we'd like to see something like this:</p>
<pre><code... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,770 | tvfc | # How can I get TFS 2010 to build each project to a separate directory?
In our project, we'd like to have our TFS build put each project into its own folder under the drop folder, instead of dropping all of the files into one flat structure. To illustrate, we'd like to see something like this:
```
DropFolder/
Foo/
... | I figured out a nice way to do it. It turns out that since you can set the OutDir to whatever you want within the workflow, if you set it to the empty string, MSBuild will instead use the project-specific OutputPath. That lets us be a lot more flexible. Here's my entire solution (based on the default build workflow):
... |
21876887 | Assembly reference cannot be resolved - dependentAssembly issue? | 20 | 2014-02-19 09:55:12 | <p>I have the following errors occurring on my build server (TFS/Visual Studio Online):</p>
<pre><code>CA0055 : Could not load C:\a\Binaries\Api.dll. The following error was encountered while reading module 'System.Net.Http.Formatting': Assembly reference cannot be resolved: Newtonsoft.Json, Version=4.5.0.0, Culture=n... | 19,094 | 589,558 | 2020-04-17 08:33:23 | 21,909,014 | 14 | 2014-02-20 13:18:03 | 589,558 | 2014-02-20 13:18:03 | https://stackoverflow.com/q/21876887 | https://stackoverflow.com/a/21909014 | <p>The issue was something unexpected. </p>
<p>The fix was to include the following line in the project file under each relevant <code><PropertyGroup></code> section:</p>
<pre><code><CodeAnalysisAdditionalOptions>/assemblyCompareMode:StrongNameIgnoringVersion</CodeAnalysisAdditionalOptions>
</code>... | <p>The issue was something unexpected. </p> <p>The fix was to include the following line in the project file under each relevant <code><PropertyGroup></code> section:</p> <pre><code><CodeAnalysisAdditionalOptions>/assemblyCompareMode:StrongNameIgnoringVersion</CodeAnalysisAdditionalOptions> </code>... | 1, 9, 733, 4528, 62770 | .net, c#, nuget, tfs, web-config | <h1>Assembly reference cannot be resolved - dependentAssembly issue?</h1>
<p>I have the following errors occurring on my build server (TFS/Visual Studio Online):</p>
<pre><code>CA0055 : Could not load C:\a\Binaries\Api.dll. The following error was encountered while reading module 'System.Net.Http.Formatting': Assembly... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,771 | tvfc | # Assembly reference cannot be resolved - dependentAssembly issue?
I have the following errors occurring on my build server (TFS/Visual Studio Online):
```
CA0055 : Could not load C:\a\Binaries\Api.dll. The following error was encountered while reading module 'System.Net.Http.Formatting': Assembly reference cannot be... | The issue was something unexpected.
The fix was to include the following line in the project file under each relevant `<PropertyGroup>` section:
```
<CodeAnalysisAdditionalOptions>/assemblyCompareMode:StrongNameIgnoringVersion</CodeAnalysisAdditionalOptions>
```
To edit the project file, right click on the project a... |
3677958 | How do I "Take Source Branch Version" for all conflicts in TFS 2008 on Visual Studio 2010? | 18 | 2010-09-09 15:18:41 | <p>The closest thing I see to what I want is "AutoResolve All". I don't want to AutoMerge though. </p>
<p>In Visual Studio 2008 I could say I wanted to have the source override on all or the target on all. </p>
<p>Where is this option in 2010? Did they take it away? It looks like my only option is to click "Take... | 10,486 | 285,371 | 2019-02-20 19:16:03 | 3,678,816 | 14 | 2010-09-09 17:03:52 | 345,708 | 2013-12-12 18:18:18 | https://stackoverflow.com/q/3677958 | https://stackoverflow.com/a/3678816 | <p>Check out the TF.EXE command <a href="http://msdn.microsoft.com/en-us/library/6yw3tcdy%28VS.100%29.aspx" rel="noreferrer">here</a>.</p>
<p><code>tf.exe resolve ..... /auto:TakeTheirs</code> will "Take Source Branch Version." My suggestion is to do the resolve, then check your branch and make sure that you have wha... | <p>Check out the TF.EXE command <a href="http://msdn.microsoft.com/en-us/library/6yw3tcdy%28VS.100%29.aspx" rel="noreferrer">here</a>.</p> <p><code>tf.exe resolve ..... /auto:TakeTheirs</code> will "Take Source Branch Version." My suggestion is to do the resolve, then check your branch and make sure that you have wha... | 733, 14456, 33953 | tfs, visual-studio, visual-studio-2010 | <h1>How do I "Take Source Branch Version" for all conflicts in TFS 2008 on Visual Studio 2010?</h1>
<p>The closest thing I see to what I want is "AutoResolve All". I don't want to AutoMerge though. </p>
<p>In Visual Studio 2008 I could say I wanted to have the source override on all or the target on all. </p>
<p>W... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,772 | tvfc | # How do I "Take Source Branch Version" for all conflicts in TFS 2008 on Visual Studio 2010?
The closest thing I see to what I want is "AutoResolve All". I don't want to AutoMerge though.
In Visual Studio 2008 I could say I wanted to have the source override on all or the target on all.
Where is this option in 2010?... | Check out the TF.EXE command [here](http://msdn.microsoft.com/en-us/library/6yw3tcdy%28VS.100%29.aspx).
`tf.exe resolve ..... /auto:TakeTheirs` will "Take Source Branch Version." My suggestion is to do the resolve, then check your branch and make sure that you have what you expect before you check in.
`tf.exe resolve... |
30841277 | Configuring a TFS2015 build agent fails because agent pool not found. Why? | 16 | 2015-06-15 09:06:57 | <p>When configuring a build agent with the use of a PowerShell script, provided by an on-site TFS2015, the script errors out because it cannot find the agent pool on the server.</p>
<p>However, the agent pool 'default' definitely exists. On another server the same script works as expected, and builds run. See the scri... | 18,364 | 120,480 | 2019-01-04 23:03:27 | 30,868,296 | 14 | 2015-06-16 12:58:57 | 120,480 | 2019-01-04 23:02:27 | https://stackoverflow.com/q/30841277 | https://stackoverflow.com/a/30868296 | <p>The user account running the build process script, needs to be part of the <code>Agent Pool Administrator Accounts</code>. </p>
<p>The error message from the script is misleading.</p>
| <p>The user account running the build process script, needs to be part of the <code>Agent Pool Administrator Accounts</code>. </p> <p>The error message from the script is misleading.</p> | 733, 16422, 110393 | build-server, tfs, tfs-2015 | <h1>Configuring a TFS2015 build agent fails because agent pool not found. Why?</h1>
<p>When configuring a build agent with the use of a PowerShell script, provided by an on-site TFS2015, the script errors out because it cannot find the agent pool on the server.</p>
<p>However, the agent pool 'default' definitely exist... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,773 | tvfc | # Configuring a TFS2015 build agent fails because agent pool not found. Why?
When configuring a build agent with the use of a PowerShell script, provided by an on-site TFS2015, the script errors out because it cannot find the agent pool on the server.
However, the agent pool 'default' definitely exists. On another se... | The user account running the build process script, needs to be part of the `Agent Pool Administrator Accounts`.
The error message from the script is misleading. |
36072327 | TFS 2015 REST API Authentication | 13 | 2016-03-17 21:49:45 | <p>We are trying to invoke the TFS 2015 REST API's from a web-page using Javascript and have a challenge in establishing valid authentication with the TFS server. </p>
<p>We do not know how to generate a personal access tokens or an OAuth access tokens. The instruction below seem to apply more toward VSO than on-premi... | 16,335 | 1,185,842 | 2017-09-28 16:25:45 | 36,076,642 | 14 | 2016-03-18 05:14:55 | 1,238,693 | 2016-03-20 09:33:31 | https://stackoverflow.com/q/36072327 | https://stackoverflow.com/a/36076642 | <p>The OAuth mechanism is used against the VSO api at the time of writing this as you've seemingly identified. <a href="https://www.visualstudio.com/en-us/integrate/get-started/auth/oauth" rel="noreferrer">official docs for VSO OAuth tokens here</a>. </p>
<p>For on-prem however, the following is required:</p>
<p><str... | <p>The OAuth mechanism is used against the VSO api at the time of writing this as you've seemingly identified. <a href="https://www.visualstudio.com/en-us/integrate/get-started/auth/oauth" rel="noreferrer">official docs for VSO OAuth tokens here</a>. </p> <p>For on-prem however, the following is required:</p> <p><str... | 3, 364, 733, 110393 | javascript, rest, tfs, tfs-2015 | <h1>TFS 2015 REST API Authentication</h1>
<p>We are trying to invoke the TFS 2015 REST API's from a web-page using Javascript and have a challenge in establishing valid authentication with the TFS server. </p>
<p>We do not know how to generate a personal access tokens or an OAuth access tokens. The instruction below s... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,775 | tvfc | # TFS 2015 REST API Authentication
We are trying to invoke the TFS 2015 REST API's from a web-page using Javascript and have a challenge in establishing valid authentication with the TFS server.
We do not know how to generate a personal access tokens or an OAuth access tokens. The instruction below seem to apply more... | The OAuth mechanism is used against the VSO api at the time of writing this as you've seemingly identified. [official docs for VSO OAuth tokens here](https://www.visualstudio.com/en-us/integrate/get-started/auth/oauth).
For on-prem however, the following is required:
**Via a javascript client (note I'm using jquery f... |
34689987 | Building specific branches on Visual Studio Team Services | 13 | 2016-01-09 05:20:55 | <p>I have a repository in VS Team Services which is setup as :</p>
<pre><code>-root
|
| -Dev (.sln)
|
| -Releases
|
| - Test (.sln)
| - Live (.sln)
</code></pre>
<p>Each build is working fine, however its pulling the entire repo and I just want it to pull a specific branch (Dev, Test or Live)</p>
<p>... | 8,842 | 436,725 | 2016-06-22 20:51:25 | 34,691,753 | 14 | 2016-01-09 09:22:30 | 736,079 | 2016-01-09 09:29:33 | https://stackoverflow.com/q/34689987 | https://stackoverflow.com/a/34691753 | <p>On the Repository tab you can specify your workspace mappings, the default mapping grabs your whole repository excluding the <code>$/project/drops</code> folder.</p>
<p>By changing the first mapping to not take <code>$/Project</code>, but <code>$/project/dev</code> you'll limit the scope of the get operation. If yo... | <p>On the Repository tab you can specify your workspace mappings, the default mapping grabs your whole repository excluding the <code>$/project/drops</code> folder.</p> <p>By changing the first mapping to not take <code>$/Project</code>, but <code>$/project/dev</code> you'll limit the scope of the get operation. If yo... | 733, 16341, 104161, 108143, 116537 | azure-devops, tfs, tfsbuild, tfvc, visual-studio-2015 | <h1>Building specific branches on Visual Studio Team Services</h1>
<p>I have a repository in VS Team Services which is setup as :</p>
<pre><code>-root
|
| -Dev (.sln)
|
| -Releases
|
| - Test (.sln)
| - Live (.sln)
</code></pre>
<p>Each build is working fine, however its pulling the entire repo and I... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,776 | tvfc | # Building specific branches on Visual Studio Team Services
I have a repository in VS Team Services which is setup as :
```
-root
|
| -Dev (.sln)
|
| -Releases
|
| - Test (.sln)
| - Live (.sln)
```
Each build is working fine, however its pulling the entire repo and I just want it to pull a specifi... | On the Repository tab you can specify your workspace mappings, the default mapping grabs your whole repository excluding the `$/project/drops` folder.
By changing the first mapping to not take `$/Project`, but `$/project/dev` you'll limit the scope of the get operation. If you no longer get the root of your team proje... |
9030328 | How to pass TFS variable to a MSBuild task of the project | 13 | 2012-01-27 07:47:45 | <p>I have a solution which is built on TFS server. This solution includes several projects which have custom MSBuild tasks. Theses tasks actually create some zip archives. </p>
<p>I need to extract somehow the $(Rev) macros from the TFS build and pass it to the tasks. I tried to use MSBuildArguments in the process tab... | 9,612 | 62,664 | 2015-01-13 16:36:20 | 9,033,248 | 14 | 2012-01-27 12:27:11 | 728,929 | 2012-01-27 12:27:11 | https://stackoverflow.com/q/9030328 | https://stackoverflow.com/a/9033248 | <p>You can slightly change your build process template to achieve that.<br>By default the section that relates to MSBuild looks like this:<br><img src="https://i.sstatic.net/bE1D3.png" alt="enter image description here"><br>This could be expanded into something like this:<br><img src="https://i.sstatic.net/YpLOm.png" a... | <p>You can slightly change your build process template to achieve that.<br>By default the section that relates to MSBuild looks like this:<br><img src="https://i.sstatic.net/bE1D3.png" alt="enter image description here"><br>This could be expanded into something like this:<br><img src="https://i.sstatic.net/YpLOm.png" a... | 265, 733, 13243 | msbuild, msbuild-task, tfs | <h1>How to pass TFS variable to a MSBuild task of the project</h1>
<p>I have a solution which is built on TFS server. This solution includes several projects which have custom MSBuild tasks. Theses tasks actually create some zip archives. </p>
<p>I need to extract somehow the $(Rev) macros from the TFS build and pass ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,777 | tvfc | # How to pass TFS variable to a MSBuild task of the project
I have a solution which is built on TFS server. This solution includes several projects which have custom MSBuild tasks. Theses tasks actually create some zip archives.
I need to extract somehow the $(Rev) macros from the TFS build and pass it to the tasks. ... | You can slightly change your build process template to achieve that.
By default the section that relates to MSBuild looks like this:

This could be expanded into something like this:
 ... |
5179044 | Find WorkItems that were assigned to X in the last 30 days | 13 | 2011-03-03 09:49:39 | <p>I'm trying to find all WorkItems that were assigned to a person X in the last 30 days.<br>
The big problem I have is the "in the last 30 days"-part.</p>
<p>I thought about using the "ever" or "asof" keywords, but couldn't find a good answer yet.. something like <code>WHERE [Assigned To] = 'X' AND (([Assigned To] !=... | 9,411 | 604,526 | 2011-03-10 18:35:46 | 5,183,911 | 14 | 2011-03-03 16:58:55 | 55,596 | 2011-03-10 18:35:46 | https://stackoverflow.com/q/5179044 | https://stackoverflow.com/a/5183911 | <p>It appears that this is not possible using just WIQL, but you can get close.</p>
<p>The keyword <code>@Today</code> will give you today's date, then just subtract your range from it. The <code>EVER</code> keyword applied to <code>[Status]='AssignedTo'</code> and a comparison against a date 30 days in the past to [... | <p>It appears that this is not possible using just WIQL, but you can get close.</p> <p>The keyword <code>@Today</code> will give you today's date, then just subtract your range from it. The <code>EVER</code> keyword applied to <code>[Status]='AssignedTo'</code> and a comparison against a date 30 days in the past to [... | 733, 56585, 66016 | tfs, tfs-workitem, wiql | <h1>Find WorkItems that were assigned to X in the last 30 days</h1>
<p>I'm trying to find all WorkItems that were assigned to a person X in the last 30 days.<br>
The big problem I have is the "in the last 30 days"-part.</p>
<p>I thought about using the "ever" or "asof" keywords, but couldn't find a good answer yet.. s... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,778 | tvfc | # Find WorkItems that were assigned to X in the last 30 days
I'm trying to find all WorkItems that were assigned to a person X in the last 30 days.
The big problem I have is the "in the last 30 days"-part.
I thought about using the "ever" or "asof" keywords, but couldn't find a good answer yet.. something like `WHE... | It appears that this is not possible using just WIQL, but you can get close.
The keyword `@Today` will give you today's date, then just subtract your range from it. The `EVER` keyword applied to `[Status]='AssignedTo'` and a comparison against a date 30 days in the past to [StateChangeDate] is what you'll need to acco... |
38036943 | GetFullPathNameW and long Windows file paths | 10 | 2016-06-26 09:14:42 | <p>In the Windows version of my current personal project, I'm looking to support <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx#maxpath" rel="noreferrer" title="extended length filepaths">extended length filepaths</a>. As a result, I'm a little confused with how to use the ... | 5,673 | 1,017,636 | 2019-08-23 11:33:25 | 38,038,887 | 14 | 2016-06-26 13:20:51 | 6,401,656 | 2017-10-25 05:08:35 | https://stackoverflow.com/q/38036943 | https://stackoverflow.com/a/38038887 | <ol>
<li><p><code>GetFullPathNameA</code> is limited to <code>MAX_PATH</code> characters, because it converts the ANSI name to a <code>UNICODE</code> name beforehand using a hardcoded <code>MAX_PATH</code>-sized (in chars) <code>UNICODE</code> buffer. If the conversion doesn't fail due to the length restrictions, then ... | <ol> <li><p><code>GetFullPathNameA</code> is limited to <code>MAX_PATH</code> characters, because it converts the ANSI name to a <code>UNICODE</code> name beforehand using a hardcoded <code>MAX_PATH</code>-sized (in chars) <code>UNICODE</code> buffer. If the conversion doesn't fail due to the length restrictions, then ... | 10, 64, 889, 3176 | c++, ntfs, winapi, windows | <h1>GetFullPathNameW and long Windows file paths</h1>
<p>In the Windows version of my current personal project, I'm looking to support <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx#maxpath" rel="noreferrer" title="extended length filepaths">extended length filepaths</a>. A... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,779 | tvfc | # GetFullPathNameW and long Windows file paths
In the Windows version of my current personal project, I'm looking to support [extended length filepaths](https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx#maxpath "extended length filepaths"). As a result, I'm a little confused with how ... | 1. `GetFullPathNameA` is limited to `MAX_PATH` characters, because it converts the ANSI name to a `UNICODE` name beforehand using a hardcoded `MAX_PATH`-sized (in chars) `UNICODE` buffer. If the conversion doesn't fail due to the length restrictions, then `GetFullPathNameW` (or direct `GetFullPathName_U[Ex]`) is called... |
26183872 | Including Generated XML Documentation in an Azure Cloud Service Package | 10 | 2014-10-03 17:34:03 | <p>EDIT: Updated to specify that the issue only occurs when packaging an Azure cloud service CSPKG file.</p>
<p>I have an ASP.NET Web API 2 application that acts as a web role in an Azure cloud service solution. I'd like to use the Web API Help Pages and leverage the XML generated docs to populate them. I'm having tro... | 3,339 | 181,410 | 2015-04-10 00:03:48 | 26,319,219 | 14 | 2014-10-11 20:57:42 | 1,570,028 | 2014-10-11 20:57:42 | https://stackoverflow.com/q/26183872 | https://stackoverflow.com/a/26319219 | <p>You can set ExcludeXmlAssemblyFiles to false in your Project's PropertyGroup to force all xml files to be included in the Azure package:</p>
<p><<code>ExcludeXmlAssemblyFiles>false</ExcludeXmlAssemblyFiles></code></p>
| <p>You can set ExcludeXmlAssemblyFiles to false in your Project's PropertyGroup to force all xml files to be included in the Azure package:</p> <p><<code>ExcludeXmlAssemblyFiles>false</ExcludeXmlAssemblyFiles></code></p> | 265, 733, 14158, 15492, 77497 | asp.net-web-api, azure, msbuild, tfs, xml-documentation | <h1>Including Generated XML Documentation in an Azure Cloud Service Package</h1>
<p>EDIT: Updated to specify that the issue only occurs when packaging an Azure cloud service CSPKG file.</p>
<p>I have an ASP.NET Web API 2 application that acts as a web role in an Azure cloud service solution. I'd like to use the Web AP... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,780 | tvfc | # Including Generated XML Documentation in an Azure Cloud Service Package
EDIT: Updated to specify that the issue only occurs when packaging an Azure cloud service CSPKG file.
I have an ASP.NET Web API 2 application that acts as a web role in an Azure cloud service solution. I'd like to use the Web API Help Pages and... | You can set ExcludeXmlAssemblyFiles to false in your Project's PropertyGroup to force all xml files to be included in the Azure package:
<`ExcludeXmlAssemblyFiles>false</ExcludeXmlAssemblyFiles>` |
8891089 | How can I open the TFS changeset details dialog view using a Visual Studio add-in? | 10 | 2012-01-17 07:36:08 | <p>I have a specific artifact in TFS, say changeset "123", which has the URI <strong>"vstfs:///VersionControl/Changeset/123"</strong>. I realized that the link <strong>"<a href="http://tfs:8080/tfs/web/UI/Pages/Scc/ViewChangeset.aspx?changeset=123" rel="nofollow noreferrer">http://tfs:8080/tfs/web/UI/Pages/Scc/ViewChan... | 4,613 | 490,230 | 2017-05-23 06:27:59 | 8,893,824 | 14 | 2012-01-17 11:26:27 | 11,210 | 2012-01-17 11:26:27 | https://stackoverflow.com/q/8891089 | https://stackoverflow.com/a/8893824 | <p>Take a look at the following blog posts:</p>
<ul>
<li><a href="http://blogs.msdn.com/b/edhintz/archive/2006/02/03/524312.aspx">Ed Hintz: How to write a Team Foundation Version Control Add-In for Visual Studio</a></li>
<li><a href="http://blogs.msdn.com/b/bharry/archive/2008/07/09/working-on-tfs-sdk-improvements.asp... | <p>Take a look at the following blog posts:</p> <ul> <li><a href="http://blogs.msdn.com/b/edhintz/archive/2006/02/03/524312.aspx">Ed Hintz: How to write a Team Foundation Version Control Add-In for Visual Studio</a></li> <li><a href="http://blogs.msdn.com/b/bharry/archive/2008/07/09/working-on-tfs-sdk-improvements.asp... | 733, 14456, 56585 | tfs, tfs-workitem, visual-studio-2010 | <h1>How can I open the TFS changeset details dialog view using a Visual Studio add-in?</h1>
<p>I have a specific artifact in TFS, say changeset "123", which has the URI <strong>"vstfs:///VersionControl/Changeset/123"</strong>. I realized that the link <strong>"<a href="http://tfs:8080/tfs/web/UI/Pages/Scc/ViewChangeset... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,781 | tvfc | # How can I open the TFS changeset details dialog view using a Visual Studio add-in?
I have a specific artifact in TFS, say changeset "123", which has the URI **"vstfs:///VersionControl/Changeset/123"**. I realized that the link **"<http://tfs:8080/tfs/web/UI/Pages/Scc/ViewChangeset.aspx?changeset=123>"** will open th... | Take a look at the following blog posts:
- [Ed Hintz: How to write a Team Foundation Version Control Add-In for Visual Studio](http://blogs.msdn.com/b/edhintz/archive/2006/02/03/524312.aspx)
- [Brian Harry: Working on TFS SDK improvements](http://blogs.msdn.com/b/bharry/archive/2008/07/09/working-on-tfs-sdk-improvemen... |
4712655 | Can you do a TFS get without needing a workspace? | 10 | 2011-01-17 11:31:56 | <p>I'm trying to change our build scripts from using SourceSafe to TFS without using MsBuild (yet).</p>
<p>One hiccup is that the workspace directory is renamed and archived by the scripts, which makes TFS think it doesn't need to get any files. Even with the <strong>/force</strong> flag it just gets the directories w... | 12,528 | 17,520 | 2014-03-11 04:40:16 | 4,715,317 | 14 | 2011-01-17 16:17:00 | 11,210 | 2011-01-17 16:17:00 | https://stackoverflow.com/q/4712655 | https://stackoverflow.com/a/4715317 | <p>It's not possible to run a <code>tf get</code> without a workspace. The reason is that the server needs to know the mapping between the server paths and the local paths.</p>
<p>If you are working with a large number of files, it is not a good idea to:</p>
<ol>
<li>Create & Delete a new workspace every time</li... | <p>It's not possible to run a <code>tf get</code> without a workspace. The reason is that the server needs to know the mapping between the server paths and the local paths.</p> <p>If you are working with a large number of files, it is not a good idea to:</p> <ol> <li>Create & Delete a new workspace every time</li... | 733 | tfs | <h1>Can you do a TFS get without needing a workspace?</h1>
<p>I'm trying to change our build scripts from using SourceSafe to TFS without using MsBuild (yet).</p>
<p>One hiccup is that the workspace directory is renamed and archived by the scripts, which makes TFS think it doesn't need to get any files. Even with the ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,782 | tvfc | # Can you do a TFS get without needing a workspace?
I'm trying to change our build scripts from using SourceSafe to TFS without using MsBuild (yet).
One hiccup is that the workspace directory is renamed and archived by the scripts, which makes TFS think it doesn't need to get any files. Even with the **/force** flag ... | It's not possible to run a `tf get` without a workspace. The reason is that the server needs to know the mapping between the server paths and the local paths.
If you are working with a large number of files, it is not a good idea to:
1. Create & Delete a new workspace every time
2. Or, Create a new workspace (and the... |
22063201 | How to generate coordinates in between two known points | 9 | 2014-02-27 08:42:38 | <p><strong>Background:</strong></p>
<p>I'm working with transport routes and Google provides Route points far apart enough to create 'shapes'. These are the bus/train routes you see in Google Maps.</p>
<p><strong>My Requirement:</strong></p>
<p>Google's points are far enough to create straight lines. However I want ... | 9,424 | 62,653 | 2014-02-27 13:57:55 | 22,067,942 | 14 | 2014-02-27 12:02:16 | 477,037 | 2014-02-27 12:43:37 | https://stackoverflow.com/q/22063201 | https://stackoverflow.com/a/22067942 | <p><strong><a href="http://www.movable-type.co.uk/scripts/latlong.html#destPoint" rel="noreferrer">Destination point given distance and bearing from start point</a></strong> applied to your problem:</p>
<pre><code>class Numeric
def to_rad
self * Math::PI / 180
end
def to_deg
self * 180 / Math::PI
end
e... | <p><strong><a href="http://www.movable-type.co.uk/scripts/latlong.html#destPoint" rel="noreferrer">Destination point given distance and bearing from start point</a></strong> applied to your problem:</p> <pre><code>class Numeric def to_rad self * Math::PI / 180 end def to_deg self * 180 / Math::PI end e... | 12, 1819, 24852, 64108, 77189 | coordinates, google-maps, gtfs, ruby, ruby-on-rails-3 | <h1>How to generate coordinates in between two known points</h1>
<p><strong>Background:</strong></p>
<p>I'm working with transport routes and Google provides Route points far apart enough to create 'shapes'. These are the bus/train routes you see in Google Maps.</p>
<p><strong>My Requirement:</strong></p>
<p>Google'... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,785 | tvfc | # How to generate coordinates in between two known points
**Background:**
I'm working with transport routes and Google provides Route points far apart enough to create 'shapes'. These are the bus/train routes you see in Google Maps.
**My Requirement:**
Google's points are far enough to create straight lines. Howeve... | **[Destination point given distance and bearing from start point](http://www.movable-type.co.uk/scripts/latlong.html#destPoint)** applied to your problem:
```
class Numeric
def to_rad
self * Math::PI / 180
end
def to_deg
self * 180 / Math::PI
end
end
include Math
R = 6371.0
def waypoint(φ1, λ1, θ, d... |
43224302 | What files are ignored in TFS by default? | 8 | 2017-04-05 07:14:16 | <p>Where can I find the complete list of files ignored by TFS by default (like *.dll, *.log, etc)? I saw it for GIT, but not for a "native" version control. I also saw a lot of links describing how to create your local .tfignore and write there</p>
<p><code># Do not ignore .dll files in this folder nor in any of its s... | 2,361 | 80,562 | 2018-03-24 03:05:52 | 43,227,500 | 14 | 2017-04-05 09:43:19 | 6,782,188 | 2017-04-05 09:43:19 | https://stackoverflow.com/q/43224302 | https://stackoverflow.com/a/43227500 | <p>You could refer to the "LocalItemExclusions.config" file under the path <code>"C:\Users\youraccount\AppData\Local\Microsoft\Team Foundation\x.0\Configuration\VersionControl" folder and open"</code>.
(There may several folders named like 1.0, 2.0, 3.0, you need to make sure open the folder that match your TFS versio... | <p>You could refer to the "LocalItemExclusions.config" file under the path <code>"C:\Users\youraccount\AppData\Local\Microsoft\Team Foundation\x.0\Configuration\VersionControl" folder and open"</code>. (There may several folders named like 1.0, 2.0, 3.0, you need to make sure open the folder that match your TFS versio... | 733 | tfs | <h1>What files are ignored in TFS by default?</h1>
<p>Where can I find the complete list of files ignored by TFS by default (like *.dll, *.log, etc)? I saw it for GIT, but not for a "native" version control. I also saw a lot of links describing how to create your local .tfignore and write there</p>
<p><code># Do not i... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,786 | tvfc | # What files are ignored in TFS by default?
Where can I find the complete list of files ignored by TFS by default (like *.dll, *.log, etc)? I saw it for GIT, but not for a "native" version control. I also saw a lot of links describing how to create your local .tfignore and write there
`# Do not ignore .dll files in t... | You could refer to the "LocalItemExclusions.config" file under the path `"C:\Users\youraccount\AppData\Local\Microsoft\Team Foundation\x.0\Configuration\VersionControl" folder and open"`.
(There may several folders named like 1.0, 2.0, 3.0, you need to make sure open the folder that match your TFS version.)
You could ... |
13245776 | How to authenticate to Visual Studio Team Services with the new basic authentication from a .Net Windows Service? | 8 | 2012-11-06 06:44:06 | <p>I am trying to access <a href="https://visualstudio.com" rel="nofollow noreferrer">https://visualstudio.com</a> (formerly known as <a href="https://tfs.visualstudio.com" rel="nofollow noreferrer">https://tfs.visualstudio.com</a>, <a href="http://www.tfspreview.com" rel="nofollow noreferrer">http://www.tfspreview.com... | 10,919 | 1,800,081 | 2017-08-15 00:12:59 | 14,644,381 | 14 | 2013-02-01 10:35:09 | 11,210 | 2013-02-01 10:35:09 | https://stackoverflow.com/q/13245776 | https://stackoverflow.com/a/14644381 | <p>First of all, you need to have at least <a href="http://www.microsoft.com/en-us/download/details.aspx?id=35774">Visual Studio 2012 Update 1</a> installed on your machine. It includes an updated <code>Microsoft.TeamFoundation.Client.dll</code> assembly with the <code>BasicAuthCredential</code> class.</p>
<p>Here's t... | <p>First of all, you need to have at least <a href="http://www.microsoft.com/en-us/download/details.aspx?id=35774">Visual Studio 2012 Update 1</a> installed on your machine. It includes an updated <code>Microsoft.TeamFoundation.Client.dll</code> assembly with the <code>BasicAuthCredential</code> class.</p> <p>Here's t... | 1, 9, 733, 16376, 116537 | .net, azure-devops, basic-authentication, c#, tfs | <h1>How to authenticate to Visual Studio Team Services with the new basic authentication from a .Net Windows Service?</h1>
<p>I am trying to access <a href="https://visualstudio.com" rel="nofollow noreferrer">https://visualstudio.com</a> (formerly known as <a href="https://tfs.visualstudio.com" rel="nofollow noreferrer... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,787 | tvfc | # How to authenticate to Visual Studio Team Services with the new basic authentication from a .Net Windows Service?
I am trying to access <https://visualstudio.com> (formerly known as <https://tfs.visualstudio.com>, <http://www.tfspreview.com>) from my Windows Service written on .NET.
I want to use the new basic auth... | First of all, you need to have at least [Visual Studio 2012 Update 1](http://www.microsoft.com/en-us/download/details.aspx?id=35774) installed on your machine. It includes an updated `Microsoft.TeamFoundation.Client.dll` assembly with the `BasicAuthCredential` class.
Here's the code to do it, from [Buck's blog post Ho... |
5156090 | TFS Execute Custom Code on a Work Item Transition | 8 | 2011-03-01 14:52:05 | <p>I'd like TFS 2010 to run a bit of custom code whenever a particular workflow transition happens. Is that possible?</p>
<p>I've found documentation about Custom Actions, which seem to be actions that can <em>automatically trigger</em> work item transitions (am I getting that right?) I also found Custom Activities,... | 7,491 | 41,457 | 2012-04-25 00:37:14 | 5,161,946 | 14 | 2011-03-02 00:06:27 | 16,241 | 2011-03-02 00:06:27 | https://stackoverflow.com/q/5156090 | https://stackoverflow.com/a/5161946 | <p>This is very doable.</p>
<p>It is so doable, that there are many ways to do it. One of my favorites is to make a server side plugin. (Note, this only works on TFS 2010)</p>
<p>These blog posts show the basics:</p>
<ul>
<li><a href="http://geekswithblogs.net/jakob/archive/2010/10/27/devleoping-and-debugging-serve... | <p>This is very doable.</p> <p>It is so doable, that there are many ways to do it. One of my favorites is to make a server side plugin. (Note, this only works on TFS 2010)</p> <p>These blog posts show the basics:</p> <ul> <li><a href="http://geekswithblogs.net/jakob/archive/2010/10/27/devleoping-and-debugging-serve... | 733, 4361 | tfs, workitem | <h1>TFS Execute Custom Code on a Work Item Transition</h1>
<p>I'd like TFS 2010 to run a bit of custom code whenever a particular workflow transition happens. Is that possible?</p>
<p>I've found documentation about Custom Actions, which seem to be actions that can <em>automatically trigger</em> work item transitions ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,788 | tvfc | # TFS Execute Custom Code on a Work Item Transition
I'd like TFS 2010 to run a bit of custom code whenever a particular workflow transition happens. Is that possible?
I've found documentation about Custom Actions, which seem to be actions that can *automatically trigger* work item transitions (am I getting that right... | This is very doable.
It is so doable, that there are many ways to do it. One of my favorites is to make a server side plugin. (Note, this only works on TFS 2010)
These blog posts show the basics:
- [In C#](http://geekswithblogs.net/jakob/archive/2010/10/27/devleoping-and-debugging-server-side-event-handlers-in-tfs-2... |
28157538 | How do I resolve the root and relative paths of TFS folders on the server? | 7 | 2015-01-26 19:43:26 | <p>I have created a <a href="https://msdn.microsoft.com/en-us/library/system.workflow.activities.codeactivity(v=vs.110).aspx" rel="noreferrer">CodeActivity</a> for use in (custom) build definitions. This activity needs to copy files located on the server to/from places like the 'source directory', 'custom folders' to ... | 8,137 | 312,317 | 2015-02-03 13:02:44 | 28,157,866 | 14 | 2015-01-26 20:07:05 | 729,881 | 2015-02-03 13:02:44 | https://stackoverflow.com/q/28157538 | https://stackoverflow.com/a/28157866 | <p>Let me preface this answer by saying that there's a lot of terminology overload going on, so I want to define a few things:</p>
<ul>
<li><strong>Server path</strong>: the path to the file or folder in the version control system. For example, <code>$/Test/BuildResources</code> is a <em>server path</em>. This is an... | <p>Let me preface this answer by saying that there's a lot of terminology overload going on, so I want to define a few things:</p> <ul> <li><strong>Server path</strong>: the path to the file or folder in the version control system. For example, <code>$/Test/BuildResources</code> is a <em>server path</em>. This is an... | 9, 733, 9016, 16341 | c#, tfs, tfsbuild, workflow-activity | <h1>How do I resolve the root and relative paths of TFS folders on the server?</h1>
<p>I have created a <a href="https://msdn.microsoft.com/en-us/library/system.workflow.activities.codeactivity(v=vs.110).aspx" rel="noreferrer">CodeActivity</a> for use in (custom) build definitions. This activity needs to copy files lo... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,789 | tvfc | # How do I resolve the root and relative paths of TFS folders on the server?
I have created a [CodeActivity](https://msdn.microsoft.com/en-us/library/system.workflow.activities.codeactivity(v=vs.110).aspx) for use in (custom) build definitions. This activity needs to copy files located on the server to/from places lik... | Let me preface this answer by saying that there's a lot of terminology overload going on, so I want to define a few things:
- **Server path**: the path to the file or folder in the version control system. For example, `$/Test/BuildResources` is a *server path*. This is an absolute server path, it is not relative.
- **... |
4473483 | Automated Builds in Team Foundation Server | 7 | 2010-12-17 18:08:44 | <p>I am setting up an automated build for my solution. However, I get errors regarding failures in copying certain information to certain folders. This pertains to build events that each project in my solution has. </p>
<p>What I was wondering is if there was a way to "turn off" the individual build events in the p... | 4,788 | 344,301 | 2011-06-10 14:50:36 | 4,558,210 | 14 | 2010-12-29 21:56:14 | 344,301 | 2010-12-29 21:56:14 | https://stackoverflow.com/q/4473483 | https://stackoverflow.com/a/4558210 | <p>After loads of research on the "BuildingInsideVisualStudio" property, and lots of tweaking to get the syntax right, my team and I found what we were looking for.</p>
<p>We inserted the statement</p>
<p><code>if '$(BuildingInsideVisualStudio)' == 'true' <executed code></code> </p>
<p>format in the "Post-Buil... | <p>After loads of research on the "BuildingInsideVisualStudio" property, and lots of tweaking to get the syntax right, my team and I found what we were looking for.</p> <p>We inserted the statement</p> <p><code>if '$(BuildingInsideVisualStudio)' == 'true' <executed code></code> </p> <p>format in the "Post-Buil... | 487, 733, 5647, 14456 | build, build-automation, tfs, visual-studio-2010 | <h1>Automated Builds in Team Foundation Server</h1>
<p>I am setting up an automated build for my solution. However, I get errors regarding failures in copying certain information to certain folders. This pertains to build events that each project in my solution has. </p>
<p>What I was wondering is if there was a wa... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,790 | tvfc | # Automated Builds in Team Foundation Server
I am setting up an automated build for my solution. However, I get errors regarding failures in copying certain information to certain folders. This pertains to build events that each project in my solution has.
What I was wondering is if there was a way to "turn off" the ... | After loads of research on the "BuildingInsideVisualStudio" property, and lots of tweaking to get the syntax right, my team and I found what we were looking for.
We inserted the statement
`if '$(BuildingInsideVisualStudio)' == 'true' <executed code>`
format in the "Post-Build event Command Line" section under the pr... |
26479030 | Access TFS Team Query from Client Object API | 6 | 2014-10-21 04:41:47 | <p>Is there a way to run a shared team query, by name, through the TFS 2013 client object API</p>
<p>I'm working on a C# script that will do some work based off of the results of a shared team query. I don't want to have to maintain the query in the TFS UI as well as in my script; I'd prefer to just run the registered... | 6,444 | 3,809,746 | 2016-04-18 23:16:04 | 26,480,272 | 14 | 2014-10-21 06:30:44 | 63,179 | 2014-10-21 06:30:44 | https://stackoverflow.com/q/26479030 | https://stackoverflow.com/a/26480272 | <p>Sample code that should do what you need</p>
<pre><code>///Handles nested query folders
private static Guid FindQuery(QueryFolder folder, string queryName)
{
foreach (var item in folder)
{
if (item.Name.Equals(queryName, StringComparison.InvariantCultureIgnoreCase))
{
return ... | <p>Sample code that should do what you need</p> <pre><code>///Handles nested query folders private static Guid FindQuery(QueryFolder folder, string queryName) { foreach (var item in folder) { if (item.Name.Equals(queryName, StringComparison.InvariantCultureIgnoreCase)) { return ... | 9, 733 | c#, tfs | <h1>Access TFS Team Query from Client Object API</h1>
<p>Is there a way to run a shared team query, by name, through the TFS 2013 client object API</p>
<p>I'm working on a C# script that will do some work based off of the results of a shared team query. I don't want to have to maintain the query in the TFS UI as well ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,791 | tvfc | # Access TFS Team Query from Client Object API
Is there a way to run a shared team query, by name, through the TFS 2013 client object API
I'm working on a C# script that will do some work based off of the results of a shared team query. I don't want to have to maintain the query in the TFS UI as well as in my script;... | Sample code that should do what you need
```
///Handles nested query folders
private static Guid FindQuery(QueryFolder folder, string queryName)
{
foreach (var item in folder)
{
if (item.Name.Equals(queryName, StringComparison.InvariantCultureIgnoreCase))
{
return item.Id;
... |
4922872 | How to update a custom TFS field programmatically | 6 | 2011-02-07 15:13:19 | <p>We have a custom build process (not using MS Build) and during that process I am adding a "fake" build to the global builds list. The reason I am doing that is so that you can select the build for a given work item (found in build). We have a custom field, build included, which is intended to show which build that w... | 7,751 | 606,642 | 2015-03-16 11:29:48 | 5,160,769 | 14 | 2011-03-01 21:46:17 | 16,241 | 2011-03-01 21:59:35 | https://stackoverflow.com/q/4922872 | https://stackoverflow.com/a/5160769 | <p>Something like this should work for you:</p>
<pre><code>public void UpdateTFSValue(string tfsServerUrl, string fieldToUpdate,
string valueToUpdateTo, int workItemID)
{
// Connect to the TFS Server
TfsTeamProjectCollection tfs = new TfsTeamProjectCollection(new Uri(tfsUri));
// Connect to the stor... | <p>Something like this should work for you:</p> <pre><code>public void UpdateTFSValue(string tfsServerUrl, string fieldToUpdate, string valueToUpdateTo, int workItemID) { // Connect to the TFS Server TfsTeamProjectCollection tfs = new TfsTeamProjectCollection(new Uri(tfsUri)); // Connect to the stor... | 733, 32354 | tfs, tfs-sdk | <h1>How to update a custom TFS field programmatically</h1>
<p>We have a custom build process (not using MS Build) and during that process I am adding a "fake" build to the global builds list. The reason I am doing that is so that you can select the build for a given work item (found in build). We have a custom field, b... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,792 | tvfc | # How to update a custom TFS field programmatically
We have a custom build process (not using MS Build) and during that process I am adding a "fake" build to the global builds list. The reason I am doing that is so that you can select the build for a given work item (found in build). We have a custom field, build incl... | Something like this should work for you:
```
public void UpdateTFSValue(string tfsServerUrl, string fieldToUpdate,
string valueToUpdateTo, int workItemID)
{
// Connect to the TFS Server
TfsTeamProjectCollection tfs = new TfsTeamProjectCollection(new Uri(tfsUri));
// Connect to the store of work item... |
3299660 | VS corrupted .sln file? | 6 | 2010-07-21 13:23:00 | <p>When I try to open my .sln file, Visual Studio quits on me. I can open it by opening up TFS, getting a specific version, choosing the latest version, forcing an overrwrite, opening up the .sln file, and then ignoring an 'incompatible doc message".</p>
<p>However, I would like to know what's wrong and how it can be ... | 15,456 | 118,860 | 2023-02-08 14:21:24 | 3,299,829 | 14 | 2010-07-21 13:39:54 | 67,392 | 2023-02-08 14:21:24 | https://stackoverflow.com/q/3299660 | https://stackoverflow.com/a/3299829 | <p>I would think this is more likely to be the <code>.suo</code> (which is a hidden file). These are know to corrupt (and this has been true since at least VC++ V6). Deleting it will clear all sorts of odd/erroneous behaviour in VS.</p>
<p>(The <code>.suo</code> holds local settings: which files are open and layout, br... | <p>I would think this is more likely to be the <code>.suo</code> (which is a hidden file). These are know to corrupt (and this has been true since at least VC++ V6). Deleting it will clear all sorts of odd/erroneous behaviour in VS.</p> <p>(The <code>.suo</code> holds local settings: which files are open and layout, br... | 733, 7208, 10816, 33953 | corruption, solution, tfs, visual-studio | <h1>VS corrupted .sln file?</h1>
<p>When I try to open my .sln file, Visual Studio quits on me. I can open it by opening up TFS, getting a specific version, choosing the latest version, forcing an overrwrite, opening up the .sln file, and then ignoring an 'incompatible doc message".</p>
<p>However, I would like to kno... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,793 | tvfc | # VS corrupted .sln file?
When I try to open my .sln file, Visual Studio quits on me. I can open it by opening up TFS, getting a specific version, choosing the latest version, forcing an overrwrite, opening up the .sln file, and then ignoring an 'incompatible doc message".
However, I would like to know what's wrong a... | I would think this is more likely to be the `.suo` (which is a hidden file). These are know to corrupt (and this has been true since at least VC++ V6). Deleting it will clear all sorts of odd/erroneous behaviour in VS.
(The `.suo` holds local settings: which files are open and layout, breakpoints, bookmarks, ... only:... |
2684685 | Project structure in TFS 2010 | 19 | 2010-04-21 16:20:04 | <p>We have just gotten TFS 2010 up and running. We will be migrating our source into TFS but I have a question on how to organize the code.</p>
<p>TFS 2010 has a new concept of project collections so I have decided that different groups within our organization will get their own group. My team develops many differen... | 9,424 | 35,165 | 2020-07-09 10:33:08 | 2,782,463 | 13 | 2010-05-06 15:53:29 | 11,799 | 2011-08-03 14:39:14 | https://stackoverflow.com/q/2684685 | https://stackoverflow.com/a/2782463 | <p>The best practice for this is to have everything that you need to build a solution under your Main/Trunk folder. We use the following format:</p>
<pre><code> "Project 1"
"DEV" (Folder)
"Feature 1" (Branch)
"Main" (Root branch)
"Release" (Folder)
"Release 1" (Branch)
"RTM" (Folder)
"... | <p>The best practice for this is to have everything that you need to build a solution under your Main/Trunk folder. We use the following format:</p> <pre><code> "Project 1" "DEV" (Folder) "Feature 1" (Branch) "Main" (Root branch) "Release" (Folder) "Release 1" (Branch) "RTM" (Folder) "... | 733, 145871 | tfs, tfs-2010 | <h1>Project structure in TFS 2010</h1>
<p>We have just gotten TFS 2010 up and running. We will be migrating our source into TFS but I have a question on how to organize the code.</p>
<p>TFS 2010 has a new concept of project collections so I have decided that different groups within our organization will get their own... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,795 | tvfc | # Project structure in TFS 2010
We have just gotten TFS 2010 up and running. We will be migrating our source into TFS but I have a question on how to organize the code.
TFS 2010 has a new concept of project collections so I have decided that different groups within our organization will get their own group. My team d... | The best practice for this is to have everything that you need to build a solution under your Main/Trunk folder. We use the following format:
```
"Project 1"
"DEV" (Folder)
"Feature 1" (Branch)
"Main" (Root branch)
"Release" (Folder)
"Release 1" (Branch)
"RTM" (Folder)
"Release 1.0" (... |
25923734 | How can I retrieve a list of workitems from TFS in C#? | 17 | 2014-09-18 22:55:15 | <p>I'm trying to write a project reporting tool in WPF / C#. I want to access all the project names on our TFS (Team Foundation Server), and then display statistics for each work item in a given project.</p>
<p>I've got the project names, but getting the actual work items is what's giving me a hard time. Here's what... | 24,208 | 3,534,103 | 2021-11-09 17:29:48 | 25,924,136 | 13 | 2014-09-18 23:39:36 | 1,956,172 | 2018-08-13 11:30:20 | https://stackoverflow.com/q/25923734 | https://stackoverflow.com/a/25924136 | <p>You need to use WIQL queries to get actual work items you are interested in, e.g. to get all work items for a particular project:</p>
<pre><code>using Microsoft.TeamFoundation.WorkItemTracking.Client;
Query query = new Query(
workItemStore,
"select * from issue where System.TeamProject = @project",
... | <p>You need to use WIQL queries to get actual work items you are interested in, e.g. to get all work items for a particular project:</p> <pre><code>using Microsoft.TeamFoundation.WorkItemTracking.Client; Query query = new Query( workItemStore, "select * from issue where System.TeamProject = @project", ... | 9, 733, 56585 | c#, tfs, tfs-workitem | <h1>How can I retrieve a list of workitems from TFS in C#?</h1>
<p>I'm trying to write a project reporting tool in WPF / C#. I want to access all the project names on our TFS (Team Foundation Server), and then display statistics for each work item in a given project.</p>
<p>I've got the project names, but getting the... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,796 | tvfc | # How can I retrieve a list of workitems from TFS in C#?
I'm trying to write a project reporting tool in WPF / C#. I want to access all the project names on our TFS (Team Foundation Server), and then display statistics for each work item in a given project.
I've got the project names, but getting the actual work item... | You need to use WIQL queries to get actual work items you are interested in, e.g. to get all work items for a particular project:
```
using Microsoft.TeamFoundation.WorkItemTracking.Client;
Query query = new Query(
workItemStore,
"select * from issue where System.TeamProject = @project",
new Dictionar... |
51790735 | No package found with specified pattern: D:\a\r1\a\**\*.zip | 14 | 2018-08-10 16:38:34 | <p>I created a build definition in vsts with npm build and then I copy the build folder to the drop location.</p>
<p>The build pipeline is working fine</p>
<p>Then I created the release definition and it downloads the files correctly also:</p>
<pre><code>2018-08-10T16:29:18.5241580Z Downloading artifact drop from: h... | 37,189 | 1,014,217 | 2021-02-10 01:08:21 | 51,833,033 | 13 | 2018-08-14 02:48:44 | 5,475,003 | 2018-08-14 02:48:44 | https://stackoverflow.com/q/51790735 | https://stackoverflow.com/a/51833033 | <p>If you are using "Azure App Service Deploy" task, set the "Package or folder" path to: <code>$(System.DefaultWorkingDirectory)\InnovationInABox-CI\drop\s\build</code>.
<a href="https://i.sstatic.net/2yVAt.png" rel="noreferrer"><img src="https://i.sstatic.net/2yVAt.png" alt="enter image description here"></a></p>
| <p>If you are using "Azure App Service Deploy" task, set the "Package or folder" path to: <code>$(System.DefaultWorkingDirectory)\InnovationInABox-CI\drop\s\build</code>. <a href="https://i.sstatic.net/2yVAt.png" rel="noreferrer"><img src="https://i.sstatic.net/2yVAt.png" alt="enter image description here"></a></p> | 733, 61387, 92497, 116537, 122493 | azure-devops, npm, reactjs, tfs, yarnpkg | <h1>No package found with specified pattern: D:\a\r1\a\**\*.zip</h1>
<p>I created a build definition in vsts with npm build and then I copy the build folder to the drop location.</p>
<p>The build pipeline is working fine</p>
<p>Then I created the release definition and it downloads the files correctly also:</p>
<pre... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,797 | tvfc | # No package found with specified pattern: D:\a\r1\a\**\*.zip
I created a build definition in vsts with npm build and then I copy the build folder to the drop location.
The build pipeline is working fine
Then I created the release definition and it downloads the files correctly also:
```
2018-08-10T16:29:18.5241580... | If you are using "Azure App Service Deploy" task, set the "Package or folder" path to: `$(System.DefaultWorkingDirectory)\InnovationInABox-CI\drop\s\build`.
[](https://i.sstatic.net/2yVAt.png) |
36704371 | Visual Studio 2015 - Check in to a different branch in TFS | 12 | 2016-04-18 21:12:06 | <p>I checked out some files from the main branch of our code set in TFS. Later, a separate branch was created. I would like to check in my code to the new branch, even though I originally checked it out of the original one. Is this possible?</p>
<p>EDIT: I know I can check in to the main branch and do a merge, but... | 10,229 | 1,780,971 | 2017-08-31 17:20:57 | 36,711,345 | 13 | 2016-04-19 07:24:56 | 5,391,065 | 2016-04-19 07:24:56 | https://stackoverflow.com/q/36704371 | https://stackoverflow.com/a/36711345 | <p>Well, it's based on which version control you are using.</p>
<p>If you are using <strong>GIT,</strong> it's simple. After you created the new branch in the UI, you just need to do a 'check out' of the new branch. Any uncommitted changes will be automatically point to the new branch. You can then commit them there.<... | <p>Well, it's based on which version control you are using.</p> <p>If you are using <strong>GIT,</strong> it's simple. After you created the new branch in the UI, you just need to do a 'check out' of the new branch. Any uncommitted changes will be automatically point to the new branch. You can then commit them there.<... | 733, 108143 | tfs, visual-studio-2015 | <h1>Visual Studio 2015 - Check in to a different branch in TFS</h1>
<p>I checked out some files from the main branch of our code set in TFS. Later, a separate branch was created. I would like to check in my code to the new branch, even though I originally checked it out of the original one. Is this possible?</p>
<p... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,799 | tvfc | # Visual Studio 2015 - Check in to a different branch in TFS
I checked out some files from the main branch of our code set in TFS. Later, a separate branch was created. I would like to check in my code to the new branch, even though I originally checked it out of the original one. Is this possible?
EDIT: I know I can... | Well, it's based on which version control you are using.
If you are using **GIT,** it's simple. After you created the new branch in the UI, you just need to do a 'check out' of the new branch. Any uncommitted changes will be automatically point to the new branch. You can then commit them there.
If you are using **TFV... |
4657249 | Is there a 'Get Latest Version' preview in TFS? (Like VSS 'Get' command) | 11 | 2011-01-11 11:44:05 | <p>My question relates to Team Foundation Server (TFS) and specifically, is there any way to know which files have changed on the server before doing a 'Get Latest Version (Recursive)?</p>
<p>In Visual Source Safe (VSS), you could do a 'Get' (I think) which showed you all the files which were being considered for the ... | 2,530 | 187,100 | 2014-06-02 18:01:33 | 24,000,586 | 13 | 2014-06-02 18:01:33 | 253,586 | 2014-06-02 18:01:33 | https://stackoverflow.com/q/4657249 | https://stackoverflow.com/a/24000586 | <p>Thanks to this question/answer, I have happily been using <code>tf get /recursive /preview</code> for about a year now.</p>
<p>But it turns out that <strong>there <em>is</em> something like this integrated into Visual Studio</strong>, at least 2010 and later.</p>
<p>Go to:</p>
<ul>
<li>View menu, Other Windows, S... | <p>Thanks to this question/answer, I have happily been using <code>tf get /recursive /preview</code> for about a year now.</p> <p>But it turns out that <strong>there <em>is</em> something like this integrated into Visual Studio</strong>, at least 2010 and later.</p> <p>Go to:</p> <ul> <li>View menu, Other Windows, S... | 81, 733, 3678, 7060, 33953 | progress, tfs, versioning, visual-sourcesafe, visual-studio | <h1>Is there a 'Get Latest Version' preview in TFS? (Like VSS 'Get' command)</h1>
<p>My question relates to Team Foundation Server (TFS) and specifically, is there any way to know which files have changed on the server before doing a 'Get Latest Version (Recursive)?</p>
<p>In Visual Source Safe (VSS), you could do a '... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,801 | tvfc | # Is there a 'Get Latest Version' preview in TFS? (Like VSS 'Get' command)
My question relates to Team Foundation Server (TFS) and specifically, is there any way to know which files have changed on the server before doing a 'Get Latest Version (Recursive)?
In Visual Source Safe (VSS), you could do a 'Get' (I think) w... | Thanks to this question/answer, I have happily been using `tf get /recursive /preview` for about a year now.
But it turns out that **there *is* something like this integrated into Visual Studio**, at least 2010 and later.
Go to:
- View menu, Other Windows, Source Control Explorer
- navigate to the path you're intere... |
5068834 | How to Move TFS 2010 Build Definition between Projects? | 11 | 2011-02-21 16:59:11 | <p>I have some TFS 2010 build definitions that were created under ProjectX. Now the source code has moved to a folder subordinate to ProjectY. How can I move the build definitions to ProjectY so they display under the Builds node of the Team Explorer for ProjectY?</p>
| 7,204 | 12,260 | 2014-01-17 17:11:45 | 5,071,689 | 13 | 2011-02-21 21:51:46 | 4,043 | 2011-02-21 22:22:03 | https://stackoverflow.com/q/5068834 | https://stackoverflow.com/a/5071689 | <p>I don't think there is something out of the box to copy the build definitions from one project to another. However you should be able to do it using the TFS API. You will want to move the build process templates, which is what Pete is referring to, into the Build Process Template folder for the new project. After th... | <p>I don't think there is something out of the box to copy the build definitions from one project to another. However you should be able to do it using the TFS API. You will want to move the build process templates, which is what Pete is referring to, into the Build Process Template folder for the new project. After th... | 733, 16341, 47853 | build-definition, tfs, tfsbuild | <h1>How to Move TFS 2010 Build Definition between Projects?</h1>
<p>I have some TFS 2010 build definitions that were created under ProjectX. Now the source code has moved to a folder subordinate to ProjectY. How can I move the build definitions to ProjectY so they display under the Builds node of the Team Explorer fo... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,802 | tvfc | # How to Move TFS 2010 Build Definition between Projects?
I have some TFS 2010 build definitions that were created under ProjectX. Now the source code has moved to a folder subordinate to ProjectY. How can I move the build definitions to ProjectY so they display under the Builds node of the Team Explorer for ProjectY? | I don't think there is something out of the box to copy the build definitions from one project to another. However you should be able to do it using the TFS API. You will want to move the build process templates, which is what Pete is referring to, into the Build Process Template folder for the new project. After that ... |
10624031 | How to Perform a TFS get to a supplied or current directory path, ignoring workspace settings | 10 | 2012-05-16 17:57:10 | <p>I am using TFS 2010 and writing a script to enable a simple get of specific version label of our software. Since this is only a simple get, is there anyway to just perform a get without having to use the current workspace settings or change the workspace settings to the desired path? There is no reason to link the ... | 4,817 | 1,133,331 | 2019-02-28 23:43:54 | 10,624,570 | 13 | 2012-05-16 18:34:42 | 729,881 | 2019-02-28 23:43:54 | https://stackoverflow.com/q/10624031 | https://stackoverflow.com/a/10624570 | <p>You'll need a workspace to do a <code>get</code>, but it need not be the same workspace that you're using for Visual Studio. In fact, you can just create a simple throwaway workspace, for example:</p>
<pre><code># {{Server}} is http://server:8080/tfs/DefaultCollection; for readability.
tf workspace /new temp_work... | <p>You'll need a workspace to do a <code>get</code>, but it need not be the same workspace that you're using for Visual Studio. In fact, you can just create a simple throwaway workspace, for example:</p> <pre><code># {{Server}} is http://server:8080/tfs/DefaultCollection; for readability. tf workspace /new temp_work... | 733 | tfs | <h1>How to Perform a TFS get to a supplied or current directory path, ignoring workspace settings</h1>
<p>I am using TFS 2010 and writing a script to enable a simple get of specific version label of our software. Since this is only a simple get, is there anyway to just perform a get without having to use the current w... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,803 | tvfc | # How to Perform a TFS get to a supplied or current directory path, ignoring workspace settings
I am using TFS 2010 and writing a script to enable a simple get of specific version label of our software. Since this is only a simple get, is there anyway to just perform a get without having to use the current workspace s... | You'll need a workspace to do a `get`, but it need not be the same workspace that you're using for Visual Studio. In fact, you can just create a simple throwaway workspace, for example:
```
# {{Server}} is http://server:8080/tfs/DefaultCollection; for readability.
tf workspace /new temp_workspace /collection:{{server... |
7828161 | Stop Refresh inside TFS Build window in Visual Studio | 10 | 2011-10-19 21:08:03 | <p>Is there a way to stop the constant refreshing inside Visual Studio when looking at a TFS Build? Using VS 2010 SP1 and TFS 2010 SP1. When watching a build in the Build window, the screen refreshes every 10 seconds or so. Not a big deal except during every refresh the window resets to somewhere in the middle of th... | 1,893 | 1,004,024 | 2016-06-02 07:59:27 | 7,829,004 | 13 | 2011-10-19 22:30:20 | 274,933 | 2016-04-22 22:26:24 | https://stackoverflow.com/q/7828161 | https://stackoverflow.com/a/7829004 | <p>There is a way to make this stop. Add the following registry key </p>
<p>HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0\TeamFoundation\Build\UISettings with value name "ReportPollingInterval" </p>
<p>with a DWORD value (in ms) for the refresh interval. By default it refreshes every 10 seconds.</p>
<p>You ... | <p>There is a way to make this stop. Add the following registry key </p> <p>HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0\TeamFoundation\Build\UISettings with value name "ReportPollingInterval" </p> <p>with a DWORD value (in ms) for the refresh interval. By default it refreshes every 10 seconds.</p> <p>You ... | 733, 14456, 16341, 33953 | tfs, tfsbuild, visual-studio, visual-studio-2010 | <h1>Stop Refresh inside TFS Build window in Visual Studio</h1>
<p>Is there a way to stop the constant refreshing inside Visual Studio when looking at a TFS Build? Using VS 2010 SP1 and TFS 2010 SP1. When watching a build in the Build window, the screen refreshes every 10 seconds or so. Not a big deal except during e... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,804 | tvfc | # Stop Refresh inside TFS Build window in Visual Studio
Is there a way to stop the constant refreshing inside Visual Studio when looking at a TFS Build? Using VS 2010 SP1 and TFS 2010 SP1. When watching a build in the Build window, the screen refreshes every 10 seconds or so. Not a big deal except during every refresh... | There is a way to make this stop. Add the following registry key
HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\10.0\TeamFoundation\Build\UISettings with value name "ReportPollingInterval"
with a DWORD value (in ms) for the refresh interval. By default it refreshes every 10 seconds.
You will need to change "10.0"... |
63780918 | Building electron linux distro : The SUID sandbox helper binary was found, but is not configured correctly | 9 | 2020-09-07 16:03:37 | <p>I am generating electron distro for linux.
This is how the app is built
This is how app is built in packge.json</p>
<pre><code> "builderForLinx": "electron-packager --out linx64 --overwrite --platform linux --appname myApp --asar"
</code></pre>
<p>this app structure myApp -> myApp(the linux ... | 15,620 | 11,272,449 | 2020-09-08 07:23:55 | 63,788,999 | 13 | 2020-09-08 07:23:55 | 10,910,450 | 2020-09-08 07:23:55 | https://stackoverflow.com/q/63780918 | https://stackoverflow.com/a/63788999 | <p><code>The SUID sandbox helper binary was found ...</code> seems to be one hot issue about electron framework in Linux. You can check <a href="https://github.com/electron/electron/issues/17972" rel="noreferrer">this discussion</a> for more details.</p>
<p>Here're the available workarounds from that discussion:</p>
<... | <p><code>The SUID sandbox helper binary was found ...</code> seems to be one hot issue about electron framework in Linux. You can check <a href="https://github.com/electron/electron/issues/17972" rel="noreferrer">this discussion</a> for more details.</p> <p>Here're the available workarounds from that discussion:</p> <... | 58, 733, 111583, 120874, 124708 | electron, electron-builder, electron-packager, linux, tfs | <h1>Building electron linux distro : The SUID sandbox helper binary was found, but is not configured correctly</h1>
<p>I am generating electron distro for linux.
This is how the app is built
This is how app is built in packge.json</p>
<pre><code> "builderForLinx": "electron-packager --out linx64 --overwr... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,805 | tvfc | # Building electron linux distro : The SUID sandbox helper binary was found, but is not configured correctly
I am generating electron distro for linux.
This is how the app is built
This is how app is built in packge.json
```
"builderForLinx": "electron-packager --out linx64 --overwrite --platform linux --appname myA... | `The SUID sandbox helper binary was found ...` seems to be one hot issue about electron framework in Linux. You can check [this discussion](https://github.com/electron/electron/issues/17972) for more details.
Here're the available workarounds from that discussion:
1.chown and chmod the file first like what you did.
... |
3825650 | How do I programmatically add NewLines to a TFS work item textbox? | 9 | 2010-09-29 20:37:15 | <p>I have a web system that has a few hooks into our TFS work item system. One of the things I am trying to do is that when a certain action is performed, it takes the current text in one field and makes a comment in the "General Comments" field announcing what the field was previously (Yes I know, history contains th... | 4,200 | 231,002 | 2011-09-29 00:11:56 | 3,825,701 | 13 | 2010-09-29 20:45:29 | 23,283 | 2010-09-29 20:45:29 | https://stackoverflow.com/q/3825650 | https://stackoverflow.com/a/3825701 | <p>TFS work item content is often processed as HTML. That's likely happening here and hence it's ignoring the extraneous newlines in the text. Try wrapping the content in a <code><pre></code> block or using <code><p></code> and see if that fixes the issue.</p>
| <p>TFS work item content is often processed as HTML. That's likely happening here and hence it's ignoring the extraneous newlines in the text. Try wrapping the content in a <code><pre></code> block or using <code><p></code> and see if that fixes the issue.</p> | 9, 733, 3705, 56585 | c#, newline, tfs, tfs-workitem | <h1>How do I programmatically add NewLines to a TFS work item textbox?</h1>
<p>I have a web system that has a few hooks into our TFS work item system. One of the things I am trying to do is that when a certain action is performed, it takes the current text in one field and makes a comment in the "General Comments" fie... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,806 | tvfc | # How do I programmatically add NewLines to a TFS work item textbox?
I have a web system that has a few hooks into our TFS work item system. One of the things I am trying to do is that when a certain action is performed, it takes the current text in one field and makes a comment in the "General Comments" field announc... | TFS work item content is often processed as HTML. That's likely happening here and hence it's ignoring the extraneous newlines in the text. Try wrapping the content in a `<pre>` block or using `<p>` and see if that fixes the issue. |
55837027 | Passing environment variables from fastlane to Xcode build phase script | 7 | 2019-04-24 19:10:19 | <p>Is it possible (and if so, how) to pass an environment variable from the script that runs fastlane down to an Xcode Run Script Phase?</p>
<p>My end goal is to read the current git branch name in the Run Script Phase. Our CI is ran by Team Foundation Server which does a <code>git checkout</code> of explicit commits,... | 5,832 | 2,612,222 | 2021-07-06 14:53:48 | 57,972,046 | 13 | 2019-09-17 10:12:50 | 3,047,318 | 2021-07-06 14:53:48 | https://stackoverflow.com/q/55837027 | https://stackoverflow.com/a/57972046 | <p>To pass env-variables to BuildPhases use <code>xcargs</code> in <code>Fastfile</code>:</p>
<pre><code>build_app(workspace: ..., scheme: ..., xcargs: "SOMEVAR1='one' SOMEVAR2='two'")
</code></pre>
<p>This command generates <code>xcodebuild ... SOMEVAR1='one' SOMEVAR2='two'</code>, and then these variables w... | <p>To pass env-variables to BuildPhases use <code>xcargs</code> in <code>Fastfile</code>:</p> <pre><code>build_app(workspace: ..., scheme: ..., xcargs: "SOMEVAR1='one' SOMEVAR2='two'") </code></pre> <p>This command generates <code>xcodebuild ... SOMEVAR1='one' SOMEVAR2='two'</code>, and then these variables w... | 119, 733, 908, 12892, 113585 | fastlane, git, tfs, xcode, xcodebuild | <h1>Passing environment variables from fastlane to Xcode build phase script</h1>
<p>Is it possible (and if so, how) to pass an environment variable from the script that runs fastlane down to an Xcode Run Script Phase?</p>
<p>My end goal is to read the current git branch name in the Run Script Phase. Our CI is ran by T... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,807 | tvfc | # Passing environment variables from fastlane to Xcode build phase script
Is it possible (and if so, how) to pass an environment variable from the script that runs fastlane down to an Xcode Run Script Phase?
My end goal is to read the current git branch name in the Run Script Phase. Our CI is ran by Team Foundation S... | To pass env-variables to BuildPhases use `xcargs` in `Fastfile`:
```
build_app(workspace: ..., scheme: ..., xcargs: "SOMEVAR1='one' SOMEVAR2='two'")
```
This command generates `xcodebuild ... SOMEVAR1='one' SOMEVAR2='two'`, and then these variables will become available in Build Phases. |
27859199 | Can I use WinMerge as my merge/diff tool within Visual Studio? | 7 | 2015-01-09 11:08:36 | <p>I need to compare two files in my project, which is written in C#. Can I integrate WinMerge (or any other diff tool) with Visual Studio and use it easily from within?</p>
| 9,781 | 2,260,150 | 2019-11-15 17:38:22 | 35,938,408 | 13 | 2016-03-11 10:55:53 | 383,779 | 2019-11-15 17:38:22 | https://stackoverflow.com/q/27859199 | https://stackoverflow.com/a/35938408 | <p>There is a more detailed answer on paulbouwer.com life and technology
<a href="http://blog.paulbouwer.com/2010/01/31/replace-diffmerge-tool-in-visual-studio-team-system-with-winmerge/" rel="noreferrer">Replace diff/merge tool in Visual Studio Team System with WinMerge</a> article, having also what arguments you need... | <p>There is a more detailed answer on paulbouwer.com life and technology <a href="http://blog.paulbouwer.com/2010/01/31/replace-diffmerge-tool-in-visual-studio-team-system-with-winmerge/" rel="noreferrer">Replace diff/merge tool in Visual Studio Team System with WinMerge</a> article, having also what arguments you need... | 10933, 14456, 33608, 104161 | difftool, tfvc, visual-studio-2010, winmerge | <h1>Can I use WinMerge as my merge/diff tool within Visual Studio?</h1>
<p>I need to compare two files in my project, which is written in C#. Can I integrate WinMerge (or any other diff tool) with Visual Studio and use it easily from within?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,808 | tvfc | # Can I use WinMerge as my merge/diff tool within Visual Studio?
I need to compare two files in my project, which is written in C#. Can I integrate WinMerge (or any other diff tool) with Visual Studio and use it easily from within? | There is a more detailed answer on paulbouwer.com life and technology
[Replace diff/merge tool in Visual Studio Team System with WinMerge](http://blog.paulbouwer.com/2010/01/31/replace-diffmerge-tool-in-visual-studio-team-system-with-winmerge/) article, having also what arguments you need to pass.
I will reproduce it ... |
9121833 | TFS command line to get all mapping information of a specific workspace | 7 | 2012-02-02 23:53:57 | <p>I am trying get all maping information for a specific workspace.</p>
<p>When I try this command, it displays a dialog - which is not what I want.</p>
<pre><code>tf workspace myworkspace
</code></pre>
<p>Is there a command that will get all the working folder information and output to the console?</p>
| 12,954 | 96,864 | 2014-07-28 08:31:23 | 9,122,004 | 13 | 2012-02-03 00:16:34 | 11,210 | 2012-02-03 00:16:34 | https://stackoverflow.com/q/9121833 | https://stackoverflow.com/a/9122004 | <p>The following command displays the working folder mappings for the workspace in the current directory:</p>
<pre><code>C:\projects>tf workfold
</code></pre>
<p>If you want to list the working folder mappings for a different workspace, you can specify the <code>/workspace:workspacename</code> parameter.</p>
<pre... | <p>The following command displays the working folder mappings for the workspace in the current directory:</p> <pre><code>C:\projects>tf workfold </code></pre> <p>If you want to list the working folder mappings for a different workspace, you can specify the <code>/workspace:workspacename</code> parameter.</p> <pre... | 733 | tfs | <h1>TFS command line to get all mapping information of a specific workspace</h1>
<p>I am trying get all maping information for a specific workspace.</p>
<p>When I try this command, it displays a dialog - which is not what I want.</p>
<pre><code>tf workspace myworkspace
</code></pre>
<p>Is there a command that will ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,810 | tvfc | # TFS command line to get all mapping information of a specific workspace
I am trying get all maping information for a specific workspace.
When I try this command, it displays a dialog - which is not what I want.
```
tf workspace myworkspace
```
Is there a command that will get all the working folder information an... | The following command displays the working folder mappings for the workspace in the current directory:
```
C:\projects>tf workfold
```
If you want to list the working folder mappings for a different workspace, you can specify the `/workspace:workspacename` parameter.
```
C:\>tf workfold /workspace:My_Other_Workspace... |
462564 | HintPath on a added reference in Visual Studio | 37 | 2009-01-20 18:48:08 | <p>I know that I can add a <strong>HintPath</strong> to an external DLLs to help Visual Studio/TFS find the dll when it builds.</p>
<p>What I was wondering is... is it possible to add multiple <strong>HintPath</strong>?</p>
<p>For example... developers have their DLLs for one place and we do a GetLatest of those DLLs... | 20,098 | 24,975 | 2014-11-04 15:01:22 | 462,650 | 12 | 2009-01-20 19:10:16 | 24,975 | 2014-04-04 08:11:54 | https://stackoverflow.com/q/462564 | https://stackoverflow.com/a/462650 | <p>This answer is no longer valid. As <a href="https://stackoverflow.com/questions/462564/hintpath-on-a-added-reference-in-visual-studio/462650#comment16281588_462650">Sardaukar's comment</a> says, <strong>Visual Studio always blindly uses the last HintPath</strong>. <a href="https://stackoverflow.com/a/13417794/105971... | <p>This answer is no longer valid. As <a href="https://stackoverflow.com/questions/462564/hintpath-on-a-added-reference-in-visual-studio/462650#comment16281588_462650">Sardaukar's comment</a> says, <strong>Visual Studio always blindly uses the last HintPath</strong>. <a href="https://stackoverflow.com/a/13417794/105971... | 733, 1783, 32472 | build-process, tfs, visual-studio-2008 | <h1>HintPath on a added reference in Visual Studio</h1>
<p>I know that I can add a <strong>HintPath</strong> to an external DLLs to help Visual Studio/TFS find the dll when it builds.</p>
<p>What I was wondering is... is it possible to add multiple <strong>HintPath</strong>?</p>
<p>For example... developers have thei... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,811 | tvfc | # HintPath on a added reference in Visual Studio
I know that I can add a **HintPath** to an external DLLs to help Visual Studio/TFS find the dll when it builds.
What I was wondering is... is it possible to add multiple **HintPath**?
For example... developers have their DLLs for one place and we do a GetLatest of tho... | This answer is no longer valid. As [Sardaukar's comment](https://stackoverflow.com/questions/462564/hintpath-on-a-added-reference-in-visual-studio/462650#comment16281588_462650) says, **Visual Studio always blindly uses the last HintPath**. [Alex's answer](https://stackoverflow.com/a/13417794/105971) supports this.
--... |
3823864 | Steps for changing process template for an existing project in TFS 2010 | 28 | 2010-09-29 16:44:14 | <p>I have an TFS server installation that through time has gone through upgrades from TFS 2005 to TFS 2008 and then to TFS 2010.
During the lifetime of the installation a lot of projects have been created and different project templates have been used. MSF Agile 4.0, 4.1, 4.2 and 5.0. and a few MSF CMMI ones.</p>
<p>W... | 12,579 | 29,449 | 2010-11-01 03:43:54 | 4,066,521 | 12 | 2010-11-01 03:43:54 | 11,210 | 2010-11-01 03:43:54 | https://stackoverflow.com/q/3823864 | https://stackoverflow.com/a/4066521 | <p>Given that you aren't using any existing work item types, your final proposal looks like the best option.</p>
<p>After deleting the old reports and exporting the SharePoint documents (you could also use Windows Explorer instead of stsadm), there are actually two commands in '<a href="http://visualstudiogallery.msdn... | <p>Given that you aren't using any existing work item types, your final proposal looks like the best option.</p> <p>After deleting the old reports and exporting the SharePoint documents (you could also use Windows Explorer instead of stsadm), there are actually two commands in '<a href="http://visualstudiogallery.msdn... | 733, 55043, 56585 | tfs, tfs-process-template, tfs-workitem | <h1>Steps for changing process template for an existing project in TFS 2010</h1>
<p>I have an TFS server installation that through time has gone through upgrades from TFS 2005 to TFS 2008 and then to TFS 2010.
During the lifetime of the installation a lot of projects have been created and different project templates ha... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,812 | tvfc | # Steps for changing process template for an existing project in TFS 2010
I have an TFS server installation that through time has gone through upgrades from TFS 2005 to TFS 2008 and then to TFS 2010.
During the lifetime of the installation a lot of projects have been created and different project templates have been u... | Given that you aren't using any existing work item types, your final proposal looks like the best option.
After deleting the old reports and exporting the SharePoint documents (you could also use Windows Explorer instead of stsadm), there are actually two commands in '[tfpt](http://visualstudiogallery.msdn.microsoft.c... |
287271 | Running unit tests on Team Foundation Server (TFS) builds | 25 | 2008-11-13 15:37:41 | <p>What are the steps to get Team Foundation Server running unit tests when a given build runs? </p>
<p>What are the caveats / pitfalls / workarounds a dev or sysadmin should be aware of when setting up a TFS server to do this for the first time? </p>
<p>What are common troubleshooting steps for unit test problems ... | 27,567 | 19,020 | 2012-05-05 14:29:20 | 289,501 | 12 | 2008-11-14 08:30:14 | 5,132 | 2008-11-14 08:30:14 | https://stackoverflow.com/q/287271 | https://stackoverflow.com/a/289501 | <p>it depends on which version of TFS you are running, so I will assume it is 2008.</p>
<p>Firstly, you must have Team Edition for Testers installed on the computer that will act as your build agent, as stated in <a href="http://msdn.microsoft.com/en-us/library/ms181716.aspx" rel="nofollow noreferrer">How To: Create a... | <p>it depends on which version of TFS you are running, so I will assume it is 2008.</p> <p>Firstly, you must have Team Edition for Testers installed on the computer that will act as your build agent, as stated in <a href="http://msdn.microsoft.com/en-us/library/ms181716.aspx" rel="nofollow noreferrer">How To: Create a... | 529, 733, 1931, 2155 | installation, mstest, tfs, unit-testing | <h1>Running unit tests on Team Foundation Server (TFS) builds</h1>
<p>What are the steps to get Team Foundation Server running unit tests when a given build runs? </p>
<p>What are the caveats / pitfalls / workarounds a dev or sysadmin should be aware of when setting up a TFS server to do this for the first time? </p... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,813 | tvfc | # Running unit tests on Team Foundation Server (TFS) builds
What are the steps to get Team Foundation Server running unit tests when a given build runs?
What are the caveats / pitfalls / workarounds a dev or sysadmin should be aware of when setting up a TFS server to do this for the first time?
What are common troub... | it depends on which version of TFS you are running, so I will assume it is 2008.
Firstly, you must have Team Edition for Testers installed on the computer that will act as your build agent, as stated in [How To: Create a Build Definition](http://msdn.microsoft.com/en-us/library/ms181716.aspx)
There are a couple of wa... |
2909416 | How can I copy a TFS 2010 Build Definition? | 21 | 2010-05-26 00:20:37 | <p>Is there any way to copy a build definition? I work in a mainline source control methodology which utilizes many different branches that live for very short periods (ie. a few days to a week). I'd really like to copy a build template and just change the solution to build. Is there any way to do this?</p>
| 10,544 | 206,463 | 2015-08-21 05:57:42 | 3,007,059 | 12 | 2010-06-09 15:02:56 | 186,848 | 2010-06-09 15:02:56 | https://stackoverflow.com/q/2909416 | https://stackoverflow.com/a/3007059 | <p>You can write an add-in to do it. Here's the code to copy an existing build definition:</p>
<pre><code>static IBuildDefinition CloneBuildDefinition(IBuildDefinition buildDefinition)
{
var buildDefinitionClone = buildDefinition.BuildServer.CreateBuildDefinition(
buildDefinition.TeamProject);
buildDe... | <p>You can write an add-in to do it. Here's the code to copy an existing build definition:</p> <pre><code>static IBuildDefinition CloneBuildDefinition(IBuildDefinition buildDefinition) { var buildDefinitionClone = buildDefinition.BuildServer.CreateBuildDefinition( buildDefinition.TeamProject); buildDe... | 733, 16341 | tfs, tfsbuild | <h1>How can I copy a TFS 2010 Build Definition?</h1>
<p>Is there any way to copy a build definition? I work in a mainline source control methodology which utilizes many different branches that live for very short periods (ie. a few days to a week). I'd really like to copy a build template and just change the solution... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,814 | tvfc | # How can I copy a TFS 2010 Build Definition?
Is there any way to copy a build definition? I work in a mainline source control methodology which utilizes many different branches that live for very short periods (ie. a few days to a week). I'd really like to copy a build template and just change the solution to build. ... | You can write an add-in to do it. Here's the code to copy an existing build definition:
```
static IBuildDefinition CloneBuildDefinition(IBuildDefinition buildDefinition)
{
var buildDefinitionClone = buildDefinition.BuildServer.CreateBuildDefinition(
buildDefinition.TeamProject);
buildDefinitionClone.... |
5498661 | TFS support for netbeans ide | 12 | 2011-03-31 10:50:30 | <p>I need to checkout and manage a project from TFS (Team Foundation Server) and was wondering if there is an easy way to do this. </p>
<p>I usually use SVN, but for this particular project, TFS is a requirement.</p>
<p>The best way I've found so far with a bit of Googling is at <a href="http://marceloverdijk.blogspo... | 20,458 | 82,135 | 2018-01-11 12:33:02 | 5,499,796 | 12 | 2011-03-31 12:25:02 | 568,475 | 2011-03-31 14:59:50 | https://stackoverflow.com/q/5498661 | https://stackoverflow.com/a/5499796 | <p>Short answer, no I don't think there is any <em>easy</em> way to integrate the Netbeans IDE and TFS. However there are some options. </p>
<p>Firstly you could use the <a href="http://svnbridge.codeplex.com/" rel="noreferrer">SVN bridge</a> this allows subversion clients to connect to TFS. If that is viable then you... | <p>Short answer, no I don't think there is any <em>easy</em> way to integrate the Netbeans IDE and TFS. However there are some options. </p> <p>Firstly you could use the <a href="http://svnbridge.codeplex.com/" rel="noreferrer">SVN bridge</a> this allows subversion clients to connect to TFS. If that is viable then you... | 110, 733, 2176 | ide, netbeans, tfs | <h1>TFS support for netbeans ide</h1>
<p>I need to checkout and manage a project from TFS (Team Foundation Server) and was wondering if there is an easy way to do this. </p>
<p>I usually use SVN, but for this particular project, TFS is a requirement.</p>
<p>The best way I've found so far with a bit of Googling is at ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,817 | tvfc | # TFS support for netbeans ide
I need to checkout and manage a project from TFS (Team Foundation Server) and was wondering if there is an easy way to do this.
I usually use SVN, but for this particular project, TFS is a requirement.
The best way I've found so far with a bit of Googling is at <http://marceloverdijk.b... | Short answer, no I don't think there is any *easy* way to integrate the Netbeans IDE and TFS. However there are some options.
Firstly you could use the [SVN bridge](http://svnbridge.codeplex.com/) this allows subversion clients to connect to TFS. If that is viable then you should be good to go. Here are a couple of bl... |
21545756 | Get Changeset and all it's changes on TFS using c# | 11 | 2014-02-04 06:49:04 | <p>I am trying to get a specific changeset by it's changesetid. It is working. The problem is I can't get the files affected by that changeset.</p>
<pre><code>Changeset changeset = GetChangeset(new Uri("tfs path"), 10918);
foreach (var w in changeset.Changes)
{
Console.WriteLine("Type:" + w.ChangeType);
Conso... | 13,153 | 2,423,585 | 2014-02-04 07:39:53 | 21,545,832 | 12 | 2014-02-04 06:53:29 | 268,680 | 2014-02-04 07:39:53 | https://stackoverflow.com/q/21545756 | https://stackoverflow.com/a/21545832 | <p>You are already iterating over the Changes in your code. The affected File is in the <code>Item</code> property of the <code>Change</code> type.</p>
<p>in your case: <code>w.Item.ServerItem</code> --> This is the Serverpath of the File like <code>'$/A/B/C.txt'</code></p>
<p>You can download it by using <code>w.Ite... | <p>You are already iterating over the Changes in your code. The affected File is in the <code>Item</code> property of the <code>Change</code> type.</p> <p>in your case: <code>w.Item.ServerItem</code> --> This is the Serverpath of the File like <code>'$/A/B/C.txt'</code></p> <p>You can download it by using <code>w.Ite... | 9, 733 | c#, tfs | <h1>Get Changeset and all it's changes on TFS using c#</h1>
<p>I am trying to get a specific changeset by it's changesetid. It is working. The problem is I can't get the files affected by that changeset.</p>
<pre><code>Changeset changeset = GetChangeset(new Uri("tfs path"), 10918);
foreach (var w in changeset.Changes... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,818 | tvfc | # Get Changeset and all it's changes on TFS using c#
I am trying to get a specific changeset by it's changesetid. It is working. The problem is I can't get the files affected by that changeset.
```
Changeset changeset = GetChangeset(new Uri("tfs path"), 10918);
foreach (var w in changeset.Changes)
{
Console.Writ... | You are already iterating over the Changes in your code. The affected File is in the `Item` property of the `Change` type.
in your case: `w.Item.ServerItem` --> This is the Serverpath of the File like `'$/A/B/C.txt'`
You can download it by using `w.Item.DownloadFile(@"C:\local.txt")` |
39911119 | Query to get all items assigned to me in a tree with all parents (of all levels) | 10 | 2016-10-07 06:52:01 | <p>I'm trying to create a query that give me a list of all my assigned items + all parents (until root parent).</p>
<p>Assume following items in tfs:</p>
<pre><code>- Feature 1
-- Product Back Log Item 1-1
--- Task 1-1-1
--- Task 1-1-2 (assigned to me)
--- Task 1-1-3
-- Product Back Log Item 1-2
--- Task 1-2-1 (assig... | 4,336 | 3,437,123 | 2018-05-13 05:24:27 | 39,912,450 | 12 | 2016-10-07 08:07:19 | 736,079 | 2016-10-07 15:29:03 | https://stackoverflow.com/q/39911119 | https://stackoverflow.com/a/39912450 | <p>That is not too hard to do. Create a new query, set the type to "Tree of Workitems" and set the Child filter to include <code>assigned to=@me</code>. Set the drop down on the bottom right to: "match linked work item first". </p>
<p><a href="https://i.sstatic.net/g3Fnc.png" rel="noreferrer"><img src="https://i.sstat... | <p>That is not too hard to do. Create a new query, set the type to "Tree of Workitems" and set the Child filter to include <code>assigned to=@me</code>. Set the drop down on the bottom right to: "match linked work item first". </p> <p><a href="https://i.sstatic.net/g3Fnc.png" rel="noreferrer"><img src="https://i.sstat... | 733, 116537 | azure-devops, tfs | <h1>Query to get all items assigned to me in a tree with all parents (of all levels)</h1>
<p>I'm trying to create a query that give me a list of all my assigned items + all parents (until root parent).</p>
<p>Assume following items in tfs:</p>
<pre><code>- Feature 1
-- Product Back Log Item 1-1
--- Task 1-1-1
--- Tas... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,819 | tvfc | # Query to get all items assigned to me in a tree with all parents (of all levels)
I'm trying to create a query that give me a list of all my assigned items + all parents (until root parent).
Assume following items in tfs:
```
- Feature 1
-- Product Back Log Item 1-1
--- Task 1-1-1
--- Task 1-1-2 (assigned to me)
--... | That is not too hard to do. Create a new query, set the type to "Tree of Workitems" and set the Child filter to include `assigned to=@me`. Set the drop down on the bottom right to: "match linked work item first".
[](https://i.sstatic.net/g3Fnc.png) |
12090049 | Check if the file is already in source control | 10 | 2012-08-23 10:57:39 | <p>I am working with TFS programmatically using classes from <a href="http://msdn.microsoft.com/en-us/library/bb141847" rel="noreferrer">Microsoft.TeamFoundation.VersionControl.Client namespace</a>. My goal is to check-in files from the local folder into source control. Some files may already exist in SC and should be ... | 4,413 | 501,518 | 2012-09-14 04:46:53 | 12,091,240 | 12 | 2012-08-23 12:08:29 | 728,929 | 2012-09-14 04:46:53 | https://stackoverflow.com/q/12090049 | https://stackoverflow.com/a/12091240 | <p>I don't know about 'correct', but in one of my tools I make use of <a href="http://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.versioncontrol.client.versioncontrolserver.serveritemexists%28v=vs.100%29.aspx" rel="noreferrer">VersionControlServer.ServerItemExists</a> in order to get what you 're after.<b... | <p>I don't know about 'correct', but in one of my tools I make use of <a href="http://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.versioncontrol.client.versioncontrolserver.serveritemexists%28v=vs.100%29.aspx" rel="noreferrer">VersionControlServer.ServerItemExists</a> in order to get what you 're after.<b... | 1, 9, 733, 32354 | .net, c#, tfs, tfs-sdk | <h1>Check if the file is already in source control</h1>
<p>I am working with TFS programmatically using classes from <a href="http://msdn.microsoft.com/en-us/library/bb141847" rel="noreferrer">Microsoft.TeamFoundation.VersionControl.Client namespace</a>. My goal is to check-in files from the local folder into source co... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,820 | tvfc | # Check if the file is already in source control
I am working with TFS programmatically using classes from [Microsoft.TeamFoundation.VersionControl.Client namespace](http://msdn.microsoft.com/en-us/library/bb141847). My goal is to check-in files from the local folder into source control. Some files may already exist i... | I don't know about 'correct', but in one of my tools I make use of [VersionControlServer.ServerItemExists](http://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.versioncontrol.client.versioncontrolserver.serveritemexists%28v=vs.100%29.aspx) in order to get what you 're after.
In your case you would have... |
49881620 | Recursively ignore directory by name using .tfignore | 9 | 2018-04-17 15:06:17 | <p>I have the following folder structure:</p>
<pre><code>foo1/
node_modules/
foo2/
node_modules/
bar/
node_modules/
.tfignore
</code></pre>
<p>A single <code>.tfignore</code> file is in the root directory.</p>
<p>What should I add to the <code>.tfignore</code> in order to ignore <code>node_modules</code> d... | 2,545 | 984,299 | 2018-04-18 00:04:27 | 49,889,175 | 12 | 2018-04-18 00:04:27 | 729,881 | 2018-04-18 00:04:27 | https://stackoverflow.com/q/49881620 | https://stackoverflow.com/a/49889175 | <p>The <a href="https://learn.microsoft.com/en-us/vsts/tfvc/add-files-server?view=vsts" rel="noreferrer"><code>.tfignore</code></a> file will ignore the given pattern in <em>all</em> subdirectories (unless otherwise specified). And it will ignore files <em>or</em> folders with the given name. For folders, it will app... | <p>The <a href="https://learn.microsoft.com/en-us/vsts/tfvc/add-files-server?view=vsts" rel="noreferrer"><code>.tfignore</code></a> file will ignore the given pattern in <em>all</em> subdirectories (unless otherwise specified). And it will ignore files <em>or</em> folders with the given name. For folders, it will app... | 733, 100678, 110393 | tfignore, tfs, tfs-2015 | <h1>Recursively ignore directory by name using .tfignore</h1>
<p>I have the following folder structure:</p>
<pre><code>foo1/
node_modules/
foo2/
node_modules/
bar/
node_modules/
.tfignore
</code></pre>
<p>A single <code>.tfignore</code> file is in the root directory.</p>
<p>What should I add to the <code>.... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,821 | tvfc | # Recursively ignore directory by name using .tfignore
I have the following folder structure:
```
foo1/
node_modules/
foo2/
node_modules/
bar/
node_modules/
.tfignore
```
A single `.tfignore` file is in the root directory.
What should I add to the `.tfignore` in order to ignore `node_modules` directories ... | The [`.tfignore`](https://learn.microsoft.com/en-us/vsts/tfvc/add-files-server?view=vsts) file will ignore the given pattern in *all* subdirectories (unless otherwise specified). And it will ignore files *or* folders with the given name. For folders, it will apply recursively.
As a result, a `.tfignore` with:
```
nod... |
28753444 | How to create an interactive plot of GTFS data in R using Leaflet? | 9 | 2015-02-26 21:51:20 | <p>I would like to create an interactive map showing the public transport lines of a city. I am trying to do this using Leaflet in R (but I'm open to alternatives, suggestions?)</p>
<p>Data: The data of the transport system is in GTFS format, organized in text files (.txt), which I read into R as a data frame.* </p>
... | 2,434 | 3,588,876 | 2019-02-17 01:55:07 | 28,755,168 | 12 | 2015-02-27 00:00:08 | 1,694,378 | 2015-02-27 00:00:08 | https://stackoverflow.com/q/28753444 | https://stackoverflow.com/a/28755168 | <p>Your problem is not one of method but of data: note that you download 8 MB and that the line file you try to load into Leaflet via shiny is 5 MB. As a general principle, you should always try new methods with tiny datasets first, before scaling them up. This is what I do below to diagnose the problem and solve it.</... | <p>Your problem is not one of method but of data: note that you download 8 MB and that the line file you try to load into Leaflet via shiny is 5 MB. As a general principle, you should always try new methods with tiny datasets first, before scaling them up. This is what I do below to diagnose the problem and solve it.</... | 241, 1834, 4452, 77189, 78041 | dictionary, gis, gtfs, leaflet, r | <h1>How to create an interactive plot of GTFS data in R using Leaflet?</h1>
<p>I would like to create an interactive map showing the public transport lines of a city. I am trying to do this using Leaflet in R (but I'm open to alternatives, suggestions?)</p>
<p>Data: The data of the transport system is in GTFS format, ... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,822 | tvfc | # How to create an interactive plot of GTFS data in R using Leaflet?
I would like to create an interactive map showing the public transport lines of a city. I am trying to do this using Leaflet in R (but I'm open to alternatives, suggestions?)
Data: The data of the transport system is in GTFS format, organized in tex... | Your problem is not one of method but of data: note that you download 8 MB and that the line file you try to load into Leaflet via shiny is 5 MB. As a general principle, you should always try new methods with tiny datasets first, before scaling them up. This is what I do below to diagnose the problem and solve it.
# S... |
20587425 | Missing Microsoft.Build.Tasks.v4.0.dll on visual studio online tfs build | 9 | 2013-12-14 19:41:11 | <p>I am trying to build my project with visual studio online.</p>
<p>I am getting the following error.</p>
<pre><code>C:\a\src\.nuget\nuget.targets (71): The task factory "CodeTaskFactory" could not be loaded from the assembly "C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Build.Tasks.v4.0.dll". Could not l... | 8,243 | 871,985 | 2015-03-01 22:44:37 | 20,587,672 | 12 | 2013-12-14 20:05:44 | 871,985 | 2013-12-14 20:05:44 | https://stackoverflow.com/q/20587425 | https://stackoverflow.com/a/20587672 | <p>The problem was that some of the class libraries in the solution had the default value :</p>
<pre><code>ToolsVersion="12.0"
</code></pre>
<p>changing that to </p>
<pre><code>ToolsVersion="4.0"
</code></pre>
<p>made it work on TFS online</p>
| <p>The problem was that some of the class libraries in the solution had the default value :</p> <pre><code>ToolsVersion="12.0" </code></pre> <p>changing that to </p> <pre><code>ToolsVersion="4.0" </code></pre> <p>made it work on TFS online</p> | 733, 116537 | azure-devops, tfs | <h1>Missing Microsoft.Build.Tasks.v4.0.dll on visual studio online tfs build</h1>
<p>I am trying to build my project with visual studio online.</p>
<p>I am getting the following error.</p>
<pre><code>C:\a\src\.nuget\nuget.targets (71): The task factory "CodeTaskFactory" could not be loaded from the assembly "C:\Progr... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,823 | tvfc | # Missing Microsoft.Build.Tasks.v4.0.dll on visual studio online tfs build
I am trying to build my project with visual studio online.
I am getting the following error.
```
C:\a\src\.nuget\nuget.targets (71): The task factory "CodeTaskFactory" could not be loaded from the assembly "C:\Program Files (x86)\MSBuild\12.0... | The problem was that some of the class libraries in the solution had the default value :
```
ToolsVersion="12.0"
```
changing that to
```
ToolsVersion="4.0"
```
made it work on TFS online |
14107842 | Alternative to TfsTeamProjectCollectionFactory.GetTeamProjectCollection taking ICredentialsProvider | 9 | 2013-01-01 04:34:49 | <p>According to the <a href="http://msdn.microsoft.com/en-us/library/ff737874.aspx" rel="nofollow noreferrer">MSDN</a> the method <code>GetTeamProjectCollection(RegisteredProjectCollection projectCollection, ICredentialsProvider fallbackCredentialsProvider</code> of the <code>TfsTeamProjectCollectionFactory</code> clas... | 6,927 | 474,031 | 2020-07-17 21:56:06 | 14,644,816 | 12 | 2013-02-01 10:59:21 | 11,210 | 2013-02-01 10:59:21 | https://stackoverflow.com/q/14107842 | https://stackoverflow.com/a/14644816 | <p>You need to use the new <a href="http://msdn.microsoft.com/en-us/library/hh723864.aspx" rel="noreferrer">TfsTeamProjectCollection constructor</a> along with this <a href="http://msdn.microsoft.com/en-us/library/hh763965.aspx" rel="noreferrer">TfsClientCredentials constructor</a> which allows interactive prompts for ... | <p>You need to use the new <a href="http://msdn.microsoft.com/en-us/library/hh723864.aspx" rel="noreferrer">TfsTeamProjectCollection constructor</a> along with this <a href="http://msdn.microsoft.com/en-us/library/hh763965.aspx" rel="noreferrer">TfsClientCredentials constructor</a> which allows interactive prompts for ... | 1, 733, 759, 32354 | .net, sdk, tfs, tfs-sdk | <h1>Alternative to TfsTeamProjectCollectionFactory.GetTeamProjectCollection taking ICredentialsProvider</h1>
<p>According to the <a href="http://msdn.microsoft.com/en-us/library/ff737874.aspx" rel="nofollow noreferrer">MSDN</a> the method <code>GetTeamProjectCollection(RegisteredProjectCollection projectCollection, ICr... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,824 | tvfc | # Alternative to TfsTeamProjectCollectionFactory.GetTeamProjectCollection taking ICredentialsProvider
According to the [MSDN](http://msdn.microsoft.com/en-us/library/ff737874.aspx) the method `GetTeamProjectCollection(RegisteredProjectCollection projectCollection, ICredentialsProvider fallbackCredentialsProvider` of t... | You need to use the new [TfsTeamProjectCollection constructor](http://msdn.microsoft.com/en-us/library/hh723864.aspx) along with this [TfsClientCredentials constructor](http://msdn.microsoft.com/en-us/library/hh763965.aspx) which allows interactive prompts for authentication.
```
// Use default windows credentials, an... |
34954528 | Disable Git integration in Visual Studio 2015 permanently | 8 | 2016-01-22 19:33:17 | <p>I am using Android studio, where I always working with Git, but in Visual studio 2015 I am working with VFS. Problem is, Visual Studio always connect to my Git repo. instead to Team Fundation Server. When I reconnect to VFS and select one from my solutions, Visual Studio reconnect back to Git. So VFS is useless.</p>... | 5,904 | 3,864,686 | 2020-05-07 13:15:13 | 34,954,957 | 12 | 2016-01-22 20:00:36 | 3,864,686 | 2016-12-28 13:04:22 | https://stackoverflow.com/q/34954528 | https://stackoverflow.com/a/34954957 | <p>Problem solved using by <a href="https://gist.github.com/hmemcpy/5bc6b5cc11050b502ca3" rel="noreferrer">this</a>:</p>
<p>Here's how to disable the package that is responsible for loading the Git source control support in Visual Studio. Use at your own risk!</p>
<ol>
<li><p>Create a file called devenv.pkgundef and ... | <p>Problem solved using by <a href="https://gist.github.com/hmemcpy/5bc6b5cc11050b502ca3" rel="noreferrer">this</a>:</p> <p>Here's how to disable the package that is responsible for loading the Git source control support in Visual Studio. Use at your own risk!</p> <ol> <li><p>Create a file called devenv.pkgundef and ... | 119, 733, 33953 | git, tfs, visual-studio | <h1>Disable Git integration in Visual Studio 2015 permanently</h1>
<p>I am using Android studio, where I always working with Git, but in Visual studio 2015 I am working with VFS. Problem is, Visual Studio always connect to my Git repo. instead to Team Fundation Server. When I reconnect to VFS and select one from my sol... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,825 | tvfc | # Disable Git integration in Visual Studio 2015 permanently
I am using Android studio, where I always working with Git, but in Visual studio 2015 I am working with VFS. Problem is, Visual Studio always connect to my Git repo. instead to Team Fundation Server. When I reconnect to VFS and select one from my solutions, V... | Problem solved using by [this](https://gist.github.com/hmemcpy/5bc6b5cc11050b502ca3):
Here's how to disable the package that is responsible for loading the Git source control support in Visual Studio. Use at your own risk!
1. Create a file called devenv.pkgundef and place it next to devenv.exe in you Visual Studio's ... |
12079391 | Unknown option -RequireConsent | 8 | 2012-08-22 18:40:18 | <p>Everything worked fine before I branched my trunk, now this error list shows up in the branch and the trunk. Google search brought up a possible solution in the Nuget blog, which has different error messages than I do.</p>
<p><img src="https://i.sstatic.net/ASb8y.png" alt="enter image description here"></p>
| 4,490 | 445,303 | 2013-07-20 02:21:52 | 12,139,890 | 12 | 2012-08-27 10:03:04 | 73,382 | 2013-07-20 02:21:52 | https://stackoverflow.com/q/12079391 | https://stackoverflow.com/a/12139890 | <p>Asked Jeff Handley via twitter, he responded "nuget.exe update -self"</p>
<p>Works! Strange thing is that it was a complete refresh install of Windows 7 with a new copy of VS2010. And somehow I have Nuget 1.7. Ah well...</p>
<pre><code>C:\Tfs\Products\Development\Project1\.nuget>nuget.exe update -self
Check... | <p>Asked Jeff Handley via twitter, he responded "nuget.exe update -self"</p> <p>Works! Strange thing is that it was a complete refresh install of Windows 7 with a new copy of VS2010. And somehow I have Nuget 1.7. Ah well...</p> <pre><code>C:\Tfs\Products\Development\Project1\.nuget>nuget.exe update -self Check... | 733, 33953, 62770 | nuget, tfs, visual-studio | <h1>Unknown option -RequireConsent</h1>
<p>Everything worked fine before I branched my trunk, now this error list shows up in the branch and the trunk. Google search brought up a possible solution in the Nuget blog, which has different error messages than I do.</p>
<p><img src="https://i.sstatic.net/ASb8y.png" alt="en... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,826 | tvfc | # Unknown option -RequireConsent
Everything worked fine before I branched my trunk, now this error list shows up in the branch and the trunk. Google search brought up a possible solution in the Nuget blog, which has different error messages than I do.
 | Asked Jeff Handley via twitter, he responded "nuget.exe update -self"
Works! Strange thing is that it was a complete refresh install of Windows 7 with a new copy of VS2010. And somehow I have Nuget 1.7. Ah well...
```
C:\Tfs\Products\Development\Project1\.nuget>nuget.exe update -self
Checking for updates from https:... |
10698407 | Exclude files from TFS via project file | 8 | 2012-05-22 08:28:53 | <p>I am searching for a possibility to exclude some files of my generated VS project file from TFS. I know that it is possibly afterwards with the .vspscc file.</p>
<p>But what i want is, that i can tell the VS project file, that some of it's files are not allowed to get added to TFS, before I add the project to TFS.<... | 7,758 | 1,409,683 | 2015-08-29 18:53:50 | 10,699,315 | 12 | 2012-05-22 09:29:28 | 147,211 | 2012-05-24 14:10:33 | https://stackoverflow.com/q/10698407 | https://stackoverflow.com/a/10699315 | <p>There are several levels of excluding files in TFS:</p>
<ol>
<li>Manually by excluding a file or folder on the check-in dialog.</li>
<li>Manually by excluding a file or folder on the <code>Add items to Folder</code> dialog.
<img src="https://i.sstatic.net/J3H4Q.png" alt="tfs scm exclude manually"></li>
<li><p>On th... | <p>There are several levels of excluding files in TFS:</p> <ol> <li>Manually by excluding a file or folder on the check-in dialog.</li> <li>Manually by excluding a file or folder on the <code>Add items to Folder</code> dialog. <img src="https://i.sstatic.net/J3H4Q.png" alt="tfs scm exclude manually"></li> <li><p>On th... | 733, 5310, 6922 | file, project, tfs | <h1>Exclude files from TFS via project file</h1>
<p>I am searching for a possibility to exclude some files of my generated VS project file from TFS. I know that it is possibly afterwards with the .vspscc file.</p>
<p>But what i want is, that i can tell the VS project file, that some of it's files are not allowed to ge... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,827 | tvfc | # Exclude files from TFS via project file
I am searching for a possibility to exclude some files of my generated VS project file from TFS. I know that it is possibly afterwards with the .vspscc file.
But what i want is, that i can tell the VS project file, that some of it's files are not allowed to get added to TFS, ... | There are several levels of excluding files in TFS:
1. Manually by excluding a file or folder on the check-in dialog.
2. Manually by excluding a file or folder on the `Add items to Folder` dialog.

3. On the `Add items to Folder` dialog > `Automatically ex... |
9185018 | How to find out who ran the TFS Destroy Command? | 8 | 2012-02-07 22:30:45 | <p>I have reason to believe that the TFS Destroy command was run on my server. Does TFS provide a way to find out who and when it was done?</p>
| 1,000 | 496,603 | 2012-02-07 23:08:23 | 9,185,435 | 12 | 2012-02-07 23:08:23 | 11,210 | 2012-02-07 23:08:23 | https://stackoverflow.com/q/9185018 | https://stackoverflow.com/a/9185435 | <p>TFS logs all user-initiated commands in the database for 14 days.</p>
<p>Try connect to your <code>Tfs_Collection</code> database and run the following query:</p>
<pre><code>SELECT * FROM tbl_Command WITH (NOLOCK)
WHERE Command = 'Destroy'
</code></pre>
<p>Additionally, any time a <code>Destroy</code> command is ... | <p>TFS logs all user-initiated commands in the database for 14 days.</p> <p>Try connect to your <code>Tfs_Collection</code> database and run the following query:</p> <pre><code>SELECT * FROM tbl_Command WITH (NOLOCK) WHERE Command = 'Destroy' </code></pre> <p>Additionally, any time a <code>Destroy</code> command is ... | 685, 733, 49629 | audit, destroy, tfs | <h1>How to find out who ran the TFS Destroy Command?</h1>
<p>I have reason to believe that the TFS Destroy command was run on my server. Does TFS provide a way to find out who and when it was done?</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,828 | tvfc | # How to find out who ran the TFS Destroy Command?
I have reason to believe that the TFS Destroy command was run on my server. Does TFS provide a way to find out who and when it was done? | TFS logs all user-initiated commands in the database for 14 days.
Try connect to your `Tfs_Collection` database and run the following query:
```
SELECT * FROM tbl_Command WITH (NOLOCK)
WHERE Command = 'Destroy'
```
Additionally, any time a `Destroy` command is run, an event is logged to the `Application` Event Log o... |
611485 | Is it possible to use the TFS SDK to create, queue and track builds? | 8 | 2009-03-04 16:57:47 | <p>I've been googling and can't find any solid examples how this is done, or if it even can be done. I assume it can. Can anyone point me in the right direction? </p>
<p>So far I've been looking under the TFS namespace documentation on msdn. My goal is to be able to fully automate and track our builds in TFS from an i... | 1,857 | 63 | 2021-01-10 06:11:28 | 612,431 | 12 | 2009-03-04 21:09:41 | 63 | 2021-01-10 06:11:28 | https://stackoverflow.com/q/611485 | https://stackoverflow.com/a/612431 | <p>Richard pointed me in the right direction, so I'm going to answer my own question with what I've found.</p>
<p>Yes, you can use the TFS SDK to create, queue, and track builds. The interfaces/classes you want are located in the Microsoft.TeamFoundation.Build.Client namespace. IBuildServer, IBuildDefinition, and IBuil... | <p>Richard pointed me in the right direction, so I'm going to answer my own question with what I've found.</p> <p>Yes, you can use the TFS SDK to create, queue, and track builds. The interfaces/classes you want are located in the Microsoft.TeamFoundation.Build.Client namespace. IBuildServer, IBuildDefinition, and IBuil... | 487, 733, 759 | build-automation, sdk, tfs | <h1>Is it possible to use the TFS SDK to create, queue and track builds?</h1>
<p>I've been googling and can't find any solid examples how this is done, or if it even can be done. I assume it can. Can anyone point me in the right direction? </p>
<p>So far I've been looking under the TFS namespace documentation on msdn.... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,829 | tvfc | # Is it possible to use the TFS SDK to create, queue and track builds?
I've been googling and can't find any solid examples how this is done, or if it even can be done. I assume it can. Can anyone point me in the right direction?
So far I've been looking under the TFS namespace documentation on msdn. My goal is to be... | Richard pointed me in the right direction, so I'm going to answer my own question with what I've found.
Yes, you can use the TFS SDK to create, queue, and track builds. The interfaces/classes you want are located in the Microsoft.TeamFoundation.Build.Client namespace. IBuildServer, IBuildDefinition, and IBuildDetail a... |
25505368 | How to differentiate TFS Builds and manual builds using macros in Post build event | 7 | 2014-08-26 12:01:42 | <p>In TFS post build script of a .proj file I want to find whether the project build is happening through TFS triggered build or manually triggered build.
Can someone suggest me how to do this using macros in Post Build event.</p>
| 2,276 | 2,017,131 | 2015-12-17 20:20:22 | 25,561,410 | 12 | 2014-08-29 03:47:22 | 1,766,402 | 2015-12-17 20:20:22 | https://stackoverflow.com/q/25505368 | https://stackoverflow.com/a/25561410 | <p>Short answer: you can make use of the IsDesktopBuild MSBUILD property within your csproj file to differentiate between TFS and local build.</p>
<p>Long Answer:</p>
<p>Developer or Team Build?</p>
<p>To differentiate the build environments we have to implement a mechanism that detects in which environment the buil... | <p>Short answer: you can make use of the IsDesktopBuild MSBUILD property within your csproj file to differentiate between TFS and local build.</p> <p>Long Answer:</p> <p>Developer or Team Build?</p> <p>To differentiate the build environments we have to implement a mechanism that detects in which environment the buil... | 450, 16341, 31225 | macros, post-build-event, tfsbuild | <h1>How to differentiate TFS Builds and manual builds using macros in Post build event</h1>
<p>In TFS post build script of a .proj file I want to find whether the project build is happening through TFS triggered build or manually triggered build.
Can someone suggest me how to do this using macros in Post Build event.<... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,830 | tvfc | # How to differentiate TFS Builds and manual builds using macros in Post build event
In TFS post build script of a .proj file I want to find whether the project build is happening through TFS triggered build or manually triggered build.
Can someone suggest me how to do this using macros in Post Build event. | Short answer: you can make use of the IsDesktopBuild MSBUILD property within your csproj file to differentiate between TFS and local build.
Long Answer:
Developer or Team Build?
To differentiate the build environments we have to implement a mechanism that detects in which environment the build is being executed. In ... |
16137317 | How to copy a team project from one collection to another with TFS Integration Platform, TFS2012 to TFS2012 | 7 | 2013-04-21 23:29:20 | <p>I've downloaded the latest TFS Integration Platform from CodePlex and attempted to migrate "one way" between an existing team project <code>MyProject</code> in <code>CollectionA</code> on the left and an empty team project <code>MyProject</code> in <code>CollectionB</code> on the right using the provided "source con... | 16,639 | 843,477 | 2014-11-20 13:37:12 | 16,158,371 | 12 | 2013-04-22 23:24:58 | 843,477 | 2014-11-20 13:37:12 | https://stackoverflow.com/q/16137317 | https://stackoverflow.com/a/16158371 | <p>Okay, here's how I did it.</p>
<p>Suppose I am trying to copy a project <code>MyProject</code> from <code>SourceCollection</code> to <code>TargetCollection</code>.</p>
<ol>
<li>Create a new project <code>MyProject</code> in <code>TargetCollection</code></li>
<li>Open <a href="http://tfsintegration.codeplex.com/" r... | <p>Okay, here's how I did it.</p> <p>Suppose I am trying to copy a project <code>MyProject</code> from <code>SourceCollection</code> to <code>TargetCollection</code>.</p> <ol> <li>Create a new project <code>MyProject</code> in <code>TargetCollection</code></li> <li>Open <a href="http://tfsintegration.codeplex.com/" r... | 733, 68441 | tfs, tfsintegrationplatform | <h1>How to copy a team project from one collection to another with TFS Integration Platform, TFS2012 to TFS2012</h1>
<p>I've downloaded the latest TFS Integration Platform from CodePlex and attempted to migrate "one way" between an existing team project <code>MyProject</code> in <code>CollectionA</code> on the left and... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,831 | tvfc | # How to copy a team project from one collection to another with TFS Integration Platform, TFS2012 to TFS2012
I've downloaded the latest TFS Integration Platform from CodePlex and attempted to migrate "one way" between an existing team project `MyProject` in `CollectionA` on the left and an empty team project `MyProje... | Okay, here's how I did it.
Suppose I am trying to copy a project `MyProject` from `SourceCollection` to `TargetCollection`.
1. Create a new project `MyProject` in `TargetCollection`
2. Open [TFS Integration Platform](http://tfsintegration.codeplex.com/)
3. Under Configuration select "Create New"
4. Open folder "Team ... |
6900383 | TFS 2010 : how to retrieve a deleted file? | 7 | 2011-08-01 15:02:42 | <p>How can I retrieve a deleted file in TFS 2010?</p>
<p>I had a Visual Studio 2010 project checked into TFS. I deleted a file locally (<code>.edmx</code>). Now, I want to retrieve that file.</p>
| 7,998 | 91,607 | 2015-04-15 14:08:11 | 6,900,389 | 12 | 2011-08-01 15:03:39 | 410,636 | 2011-08-01 15:03:39 | https://stackoverflow.com/q/6900383 | https://stackoverflow.com/a/6900389 | <p>If the file still exists in TFS, then you locate the file and do <code>Get Latest</code>. This will bring the file back to your local machine.</p>
<p><strong>EDIT</strong></p>
<p>Maybe this link will help you:</p>
<p><a href="http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/d0b3a884-46a8-4a... | <p>If the file still exists in TFS, then you locate the file and do <code>Get Latest</code>. This will bring the file back to your local machine.</p> <p><strong>EDIT</strong></p> <p>Maybe this link will help you:</p> <p><a href="http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/d0b3a884-46a8-4a... | 1, 9, 733, 14456 | .net, c#, tfs, visual-studio-2010 | <h1>TFS 2010 : how to retrieve a deleted file?</h1>
<p>How can I retrieve a deleted file in TFS 2010?</p>
<p>I had a Visual Studio 2010 project checked into TFS. I deleted a file locally (<code>.edmx</code>). Now, I want to retrieve that file.</p>
| q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,833 | tvfc | # TFS 2010 : how to retrieve a deleted file?
How can I retrieve a deleted file in TFS 2010?
I had a Visual Studio 2010 project checked into TFS. I deleted a file locally (`.edmx`). Now, I want to retrieve that file. | If the file still exists in TFS, then you locate the file and do `Get Latest`. This will bring the file back to your local machine.
**EDIT**
Maybe this link will help you:
[How to retrieve a deleted file in TFS](http://social.msdn.microsoft.com/Forums/en-US/tfsversioncontrol/thread/d0b3a884-46a8-4a1a-b597-5a5e53b879... |
5356242 | Database error occurred (SQL error 18054) when mapping local directory in TFS | 7 | 2011-03-18 18:22:05 | <p>I'm using VS2010 as a client for a TFS instance. I created a workspace, and need to map a TFS directory to a local directory - let's call the local directory "<strong>D:\aaa\bbb\ccc\ddd</strong>". When I navigate to "Manage Workspaces" and click "edit" to change the local directory to this path, I am presented wi... | 21,610 | 292,010 | 2012-06-19 18:06:49 | 5,392,526 | 12 | 2011-03-22 14:05:51 | 11,210 | 2011-03-22 14:05:51 | https://stackoverflow.com/q/5356242 | https://stackoverflow.com/a/5392526 | <p><strong>SQL Errors</strong></p>
<p>First of all, you should not be receiving SQL Error 18054 (or any SQL errors) from TFS.</p>
<p>You should have your TFS administrator connect to the SQL server that hosts the <code>master</code> DB for your TFS server and run the following query:</p>
<pre><code>select * from mas... | <p><strong>SQL Errors</strong></p> <p>First of all, you should not be receiving SQL Error 18054 (or any SQL errors) from TFS.</p> <p>You should have your TFS administrator connect to the SQL server that hosts the <code>master</code> DB for your TFS server and run the following query:</p> <pre><code>select * from mas... | 72, 379, 733 | error-handling, sql-server, tfs | <h1>Database error occurred (SQL error 18054) when mapping local directory in TFS</h1>
<p>I'm using VS2010 as a client for a TFS instance. I created a workspace, and need to map a TFS directory to a local directory - let's call the local directory "<strong>D:\aaa\bbb\ccc\ddd</strong>". When I navigate to "Manage Work... | q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10 | 27,835 | tvfc | # Database error occurred (SQL error 18054) when mapping local directory in TFS
I'm using VS2010 as a client for a TFS instance. I created a workspace, and need to map a TFS directory to a local directory - let's call the local directory "**D:\aaa\bbb\ccc\ddd**". When I navigate to "Manage Workspaces" and click "edit"... | **SQL Errors**
First of all, you should not be receiving SQL Error 18054 (or any SQL errors) from TFS.
You should have your TFS administrator connect to the SQL server that hosts the `master` DB for your TFS server and run the following query:
```
select * from master.dbo.sysmessages where error > 50000
```
If this... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.