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
11828554
Visual Studio 2012 - How do I bind my solution to another Team Foundation server?
16
2012-08-06 12:44:52
<p>I have a Visual Studio 2012 (RC) solution bound to a <a href="http://www.codeplex.com/" rel="noreferrer">CodePlex</a> server. However, I want to bind it to a <a href="http://tfspreview.com/" rel="noreferrer">Team Foundation Service</a> server instead. I don't care about preserving the history, since I've just starte...
33,582
265,261
2015-04-24 11:14:50
11,832,746
39
2012-08-06 17:05:58
265,261
2012-08-06 17:05:58
https://stackoverflow.com/q/11828554
https://stackoverflow.com/a/11832746
<p>I found out how to do this with the help of <a href="http://geekswithblogs.net/PsudoKnowledgeBase/archive/2009/10/27/tips-on-connecting-to-the-new-source-control-and-moving.aspx" rel="noreferrer">this article</a>. What I did was to, while connected to CodePlex TFS, open <code>File-&gt;Source Control-&gt;Advanced-&gt...
<p>I found out how to do this with the help of <a href="http://geekswithblogs.net/PsudoKnowledgeBase/archive/2009/10/27/tips-on-connecting-to-the-new-source-control-and-moving.aspx" rel="noreferrer">this article</a>. What I did was to, while connected to CodePlex TFS, open <code>File-&gt;Source Control-&gt;Advanced-&gt...
733, 80825
tfs, visual-studio-2012
<h1>Visual Studio 2012 - How do I bind my solution to another Team Foundation server?</h1> <p>I have a Visual Studio 2012 (RC) solution bound to a <a href="http://www.codeplex.com/" rel="noreferrer">CodePlex</a> server. However, I want to bind it to a <a href="http://tfspreview.com/" rel="noreferrer">Team Foundation Se...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,601
tvfc
# Visual Studio 2012 - How do I bind my solution to another Team Foundation server? I have a Visual Studio 2012 (RC) solution bound to a [CodePlex](http://www.codeplex.com/) server. However, I want to bind it to a [Team Foundation Service](http://tfspreview.com/) server instead. I don't care about preserving the histo...
I found out how to do this with the help of [this article](http://geekswithblogs.net/PsudoKnowledgeBase/archive/2009/10/27/tips-on-connecting-to-the-new-source-control-and-moving.aspx). What I did was to, while connected to CodePlex TFS, open `File->Source Control->Advanced->Workspaces` and then double-click on my work...
2215593
Team Foundation Server - Moving Source with History
58
2010-02-07 01:56:47
<p>I was wondering what the best approach might be in moving source code, with history, from one Team Project to another Team Project. I am not concerned with work items, reporting, or SharePoint sites, as the system we are going to be restoring from did not use these functionalities. The reason for wanting to move t...
39,551
15,906
2014-06-02 16:40:00
2,215,706
38
2010-02-07 02:47:30
74,439
2010-02-07 02:47:30
https://stackoverflow.com/q/2215593
https://stackoverflow.com/a/2215706
<p>Move and Rename are aliases. There is absolutely no difference, in any version of TFS, from the command line or the UI.</p> <p>Both of them preserve history. At least in 2005/2008, you keep the same physical item in the VersionedItem table no matter how often or how drastically the name and/or parent path changes...
<p>Move and Rename are aliases. There is absolutely no difference, in any version of TFS, from the command line or the UI.</p> <p>Both of them preserve history. At least in 2005/2008, you keep the same physical item in the VersionedItem table no matter how often or how drastically the name and/or parent path changes...
456, 733
tfs, version-control
<h1>Team Foundation Server - Moving Source with History</h1> <p>I was wondering what the best approach might be in moving source code, with history, from one Team Project to another Team Project. I am not concerned with work items, reporting, or SharePoint sites, as the system we are going to be restoring from did not...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,602
tvfc
# Team Foundation Server - Moving Source with History I was wondering what the best approach might be in moving source code, with history, from one Team Project to another Team Project. I am not concerned with work items, reporting, or SharePoint sites, as the system we are going to be restoring from did not use these...
Move and Rename are aliases. There is absolutely no difference, in any version of TFS, from the command line or the UI. Both of them preserve history. At least in 2005/2008, you keep the same physical item in the VersionedItem table no matter how often or how drastically the name and/or parent path changes. There is a...
3919341
What permissions are needed to add/edit work items in TFS
22
2010-10-12 21:53:11
<p>I would like to grant my Q/A team permissions to create an edit bugs in TFS. I could just throw them into the Contributors group, but I would rather create a Q/A group and assign it permissions specific to creating work items. What permissions do I need to grant them. (TFS 2008)</p>
21,084
67,038
2010-10-13 12:54:46
3,923,836
38
2010-10-13 12:54:46
345,708
2010-10-13 12:54:46
https://stackoverflow.com/q/3919341
https://stackoverflow.com/a/3923836
<p>It's actually going to be found under Area security. Within VS 2008:</p> <ol> <li>In Team Explorer, click on the appropriate team project that you want to check/change</li> <li>Choose the <code>Team--&gt;Team Project Settings--&gt;Areas and Iterations</code> menu.</li> <li>choose the appropriate area. If you don'...
<p>It's actually going to be found under Area security. Within VS 2008:</p> <ol> <li>In Team Explorer, click on the appropriate team project that you want to check/change</li> <li>Choose the <code>Team--&gt;Team Project Settings--&gt;Areas and Iterations</code> menu.</li> <li>choose the appropriate area. If you don'...
733
tfs
<h1>What permissions are needed to add/edit work items in TFS</h1> <p>I would like to grant my Q/A team permissions to create an edit bugs in TFS. I could just throw them into the Contributors group, but I would rather create a Q/A group and assign it permissions specific to creating work items. What permissions do I...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,603
tvfc
# What permissions are needed to add/edit work items in TFS I would like to grant my Q/A team permissions to create an edit bugs in TFS. I could just throw them into the Contributors group, but I would rather create a Q/A group and assign it permissions specific to creating work items. What permissions do I need to gr...
It's actually going to be found under Area security. Within VS 2008: 1. In Team Explorer, click on the appropriate team project that you want to check/change 2. Choose the `Team-->Team Project Settings-->Areas and Iterations` menu. 3. choose the appropriate area. If you don't have any defined, or you want it to apply ...
14513713
How Can I Connect Visual Studio 2008 to Team Foundation Service and Visual Studio Online?
20
2013-01-25 01:05:38
<p>I've made sure that I have all of the prerequisites covered, then tried to install the patch from here:</p> <ul> <li><a href="http://www.microsoft.com/en-us/download/details.aspx?id=29983" rel="nofollow noreferrer">Visual Studio 2008 SP1 Compatibility GDR for Visual Studio 2012 Team Foundation Server and Team Found...
21,566
719,034
2017-05-16 10:31:19
14,514,318
38
2013-01-25 02:18:55
736,079
2013-11-11 21:02:36
https://stackoverflow.com/q/14513713
https://stackoverflow.com/a/14514318
<p>Visual Studio 2010 introduced the concept of a Project Collection, so the hierarchy looks like:</p> <pre><code>Server - Project Collection A - Project A - Project B - Project Collection B - Project C - Project D - Proje...
<p>Visual Studio 2010 introduced the concept of a Project Collection, so the hierarchy looks like:</p> <pre><code>Server - Project Collection A - Project A - Project B - Project Collection B - Project C - Project D - Proje...
733, 16369, 32472, 116537
azure-devops, tfs, visual-studio-2008, visual-studio-2008-sp1
<h1>How Can I Connect Visual Studio 2008 to Team Foundation Service and Visual Studio Online?</h1> <p>I've made sure that I have all of the prerequisites covered, then tried to install the patch from here:</p> <ul> <li><a href="http://www.microsoft.com/en-us/download/details.aspx?id=29983" rel="nofollow noreferrer">Vi...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,604
tvfc
# How Can I Connect Visual Studio 2008 to Team Foundation Service and Visual Studio Online? I've made sure that I have all of the prerequisites covered, then tried to install the patch from here: - [Visual Studio 2008 SP1 Compatibility GDR for Visual Studio 2012 Team Foundation Server and Team Foundation Service Prev...
Visual Studio 2010 introduced the concept of a Project Collection, so the hierarchy looks like: ``` Server - Project Collection A - Project A - Project B - Project Collection B - Project C - Project D - Project E ``` In T...
46797892
.net Core 2.0 - Package was restored using .NetFramework 4.6.1 instead of target framework .netCore 2.0. The package may not be fully compatible
141
2017-10-17 19:36:00
<p>I have a .net core 2.0 console app. I'm trying to read files from TFS using the following: </p> <p><a href="https://stackoverflow.com/questions/15346851/how-to-get-a-file-from-tfs-directly-into-memory-i-e-dont-want-to-read-from-f">How to get a file from TFS directly into memory (i.e., don&#39;t want to read from f...
170,587
2,712,307
2021-06-30 11:24:41
46,804,726
37
2017-10-18 07:20:27
7,466,674
2017-10-18 07:20:27
https://stackoverflow.com/q/46797892
https://stackoverflow.com/a/46804726
<p>The package is not fully compatible with dotnetcore 2.0 for now. </p> <p>eg, for <code>'Microsoft.AspNet.WebApi.Client'</code> it maybe supported in version (5.2.4). See <a href="https://github.com/aspnet/Mvc/issues/5822" rel="noreferrer">Consume new Microsoft.AspNet.WebApi.Client.5.2.4 package</a> for details.</p...
<p>The package is not fully compatible with dotnetcore 2.0 for now. </p> <p>eg, for <code>'Microsoft.AspNet.WebApi.Client'</code> it maybe supported in version (5.2.4). See <a href="https://github.com/aspnet/Mvc/issues/5822" rel="noreferrer">Consume new Microsoft.AspNet.WebApi.Client.5.2.4 package</a> for details.</p...
1, 9, 733, 62770, 117274
.net, asp.net-core, c#, nuget, tfs
<h1>.net Core 2.0 - Package was restored using .NetFramework 4.6.1 instead of target framework .netCore 2.0. The package may not be fully compatible</h1> <p>I have a .net core 2.0 console app. I'm trying to read files from TFS using the following: </p> <p><a href="https://stackoverflow.com/questions/15346851/how-to-g...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,605
tvfc
# .net Core 2.0 - Package was restored using .NetFramework 4.6.1 instead of target framework .netCore 2.0. The package may not be fully compatible I have a .net core 2.0 console app. I'm trying to read files from TFS using the following: [How to get a file from TFS directly into memory (i.e., don't want to read from ...
The package is not fully compatible with dotnetcore 2.0 for now. eg, for `'Microsoft.AspNet.WebApi.Client'` it maybe supported in version (5.2.4). See [Consume new Microsoft.AspNet.WebApi.Client.5.2.4 package](https://github.com/aspnet/Mvc/issues/5822) for details. You could try the [standard Client](https://www.nuge...
45334512
Is it possible to put delay between tasks or conditional loop
24
2017-07-26 18:10:12
<p>Is it possible to either loop or delay between running tasks in either build or release pipelines? I deploy containers as part of those pipelines and they take time to spin up and be available for webtests, so I can not run webtest immediately following Release task. What can be a solution to this requirements insid...
30,538
1,807,374
2024-04-20 06:37:47
45,334,925
37
2017-07-26 18:33:45
781,754
2017-07-26 18:33:45
https://stackoverflow.com/q/45334512
https://stackoverflow.com/a/45334925
<p>Put an in-line PowerShell task in place that runs <code>Start-Sleep -Seconds 10</code> or however long you want to wait.</p> <p>Or better yet, write your own script that polls your containers for availability.</p>
<p>Put an in-line PowerShell task in place that runs <code>Start-Sleep -Seconds 10</code> or however long you want to wait.</p> <p>Or better yet, write your own script that polls your containers for availability.</p>
733, 16341, 116537, 119596
azure-devops, azure-pipelines, tfs, tfsbuild
<h1>Is it possible to put delay between tasks or conditional loop</h1> <p>Is it possible to either loop or delay between running tasks in either build or release pipelines? I deploy containers as part of those pipelines and they take time to spin up and be available for webtests, so I can not run webtest immediately fo...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,606
tvfc
# Is it possible to put delay between tasks or conditional loop Is it possible to either loop or delay between running tasks in either build or release pipelines? I deploy containers as part of those pipelines and they take time to spin up and be available for webtests, so I can not run webtest immediately following R...
Put an in-line PowerShell task in place that runs `Start-Sleep -Seconds 10` or however long you want to wait. Or better yet, write your own script that polls your containers for availability.
24035650
No padlock icon for some projects in a source controlled solution
15
2014-06-04 11:00:55
<p>I have a large solution in Visual Studio that is under TFS Source Control but I've noticed one of the projects (c#) doesn't have a padlock icon next to it in Solution Explorer.</p> <p>The project and it's files are all under source control, I can look at the history and do other tasks. None of the files have the pa...
13,420
350,188
2021-01-09 06:37:07
24,035,651
37
2014-06-04 11:00:55
350,188
2014-06-04 11:00:55
https://stackoverflow.com/q/24035650
https://stackoverflow.com/a/24035651
<p>All that is wrong is that the Project file does not have the correct binding to TFS. There is a section missing in the .csproj file that should look something like this:</p> <pre><code>&lt;SccProjectName&gt;SAK&lt;/SccProjectName&gt; &lt;SccLocalPath&gt;SAK&lt;/SccLocalPath&gt; &lt;SccAuxPath&gt;SAK&lt;/SccAuxPath&...
<p>All that is wrong is that the Project file does not have the correct binding to TFS. There is a section missing in the .csproj file that should look something like this:</p> <pre><code>&lt;SccProjectName&gt;SAK&lt;/SccProjectName&gt; &lt;SccLocalPath&gt;SAK&lt;/SccLocalPath&gt; &lt;SccAuxPath&gt;SAK&lt;/SccAuxPath&...
733, 80825
tfs, visual-studio-2012
<h1>No padlock icon for some projects in a source controlled solution</h1> <p>I have a large solution in Visual Studio that is under TFS Source Control but I've noticed one of the projects (c#) doesn't have a padlock icon next to it in Solution Explorer.</p> <p>The project and it's files are all under source control, ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,608
tvfc
# No padlock icon for some projects in a source controlled solution I have a large solution in Visual Studio that is under TFS Source Control but I've noticed one of the projects (c#) doesn't have a padlock icon next to it in Solution Explorer. The project and it's files are all under source control, I can look at th...
All that is wrong is that the Project file does not have the correct binding to TFS. There is a section missing in the .csproj file that should look something like this: ``` <SccProjectName>SAK</SccProjectName> <SccLocalPath>SAK</SccLocalPath> <SccAuxPath>SAK</SccAuxPath> <SccProvider>SAK</SccProvider> ``` Where SAK ...
26186220
Project not showing as checked-in to TFS in Visual Studio 2013
23
2014-10-03 20:20:39
<p>I added a new project to a Solution Folder in VS2013. I added the project to TFS via Source Control Explorer but in VS Solution Explorer the little lock icon next to the project is not displayed. I just downloaded the solution to a new computer, and that project did not get downloaded. I had to go into Source Con...
19,501
3,409,422
2021-06-18 02:44:50
26,186,681
36
2014-10-03 20:52:43
97,385
2014-10-03 20:52:43
https://stackoverflow.com/q/26186220
https://stackoverflow.com/a/26186681
<p>You probably need to bind the project to source control.</p> <ul> <li>Open the project in Visual Studio.</li> <li>File > Source Control > Advanced > Change Source Control (or you might find there is only an option like File > Source Control > Add to Source Control - I can't remember exactly what this looks like)</l...
<p>You probably need to bind the project to source control.</p> <ul> <li>Open the project in Visual Studio.</li> <li>File > Source Control > Advanced > Change Source Control (or you might find there is only an option like File > Source Control > Add to Source Control - I can't remember exactly what this looks like)</l...
733, 93364
tfs, visual-studio-2013
<h1>Project not showing as checked-in to TFS in Visual Studio 2013</h1> <p>I added a new project to a Solution Folder in VS2013. I added the project to TFS via Source Control Explorer but in VS Solution Explorer the little lock icon next to the project is not displayed. I just downloaded the solution to a new compute...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,609
tvfc
# Project not showing as checked-in to TFS in Visual Studio 2013 I added a new project to a Solution Folder in VS2013. I added the project to TFS via Source Control Explorer but in VS Solution Explorer the little lock icon next to the project is not displayed. I just downloaded the solution to a new computer, and that...
You probably need to bind the project to source control. - Open the project in Visual Studio. - File > Source Control > Advanced > Change Source Control (or you might find there is only an option like File > Source Control > Add to Source Control - I can't remember exactly what this looks like) - If you get to the Cha...
10353793
How do I remove a package installed via Chocolatey?
22
2012-04-27 15:50:18
<p>I installed gittfs using </p> <p><code>cinst gittfs</code></p> <p>How do I now remove the gittfs package?</p>
27,720
38,522
2019-01-21 22:13:26
11,291,736
34
2012-07-02 10:19:27
1,150,462
2016-11-08 23:13:56
https://stackoverflow.com/q/10353793
https://stackoverflow.com/a/11291736
<p>Use</p> <pre><code>cuninst packagename </code></pre> <p>See <a href="https://chocolatey.org/commands-uninstall" rel="noreferrer">Uninstall Command</a> for details.</p>
<p>Use</p> <pre><code>cuninst packagename </code></pre> <p>See <a href="https://chocolatey.org/commands-uninstall" rel="noreferrer">Uninstall Command</a> for details.</p>
66446, 80758
chocolatey, git-tfs
<h1>How do I remove a package installed via Chocolatey?</h1> <p>I installed gittfs using </p> <p><code>cinst gittfs</code></p> <p>How do I now remove the gittfs package?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,613
tvfc
# How do I remove a package installed via Chocolatey? I installed gittfs using `cinst gittfs` How do I now remove the gittfs package?
Use ``` cuninst packagename ``` See [Uninstall Command](https://chocolatey.org/commands-uninstall) for details.
13047209
Visual Studio: Query TFS Work Items: AND/OR Logic doesn't work?
21
2012-10-24 10:18:38
<p>I need to find TFS work items related to a certain topic in our project. For that purpose, I tried querying the work items using the query builder in Visual Studio. </p> <p>Since there are multiple terms I wish to search for, I imagined a query like this:</p> <pre><code>WHERE ( Priority &gt; 300 AND (Title.Conta...
14,594
300,929
2012-10-24 10:37:03
13,047,505
34
2012-10-24 10:37:03
383,710
2012-10-24 10:37:03
https://stackoverflow.com/q/13047209
https://stackoverflow.com/a/13047505
<p>You need to "Group" your Title clauses together to get the query you expect. Select the three "Title" clauses, Right Click and select "Group Clauses".</p> <p><img src="https://i.sstatic.net/N7oN8.png" alt="Group Clauses"></p> <p>Here's a snip of a query I created in VS2012 to do this, but it's the same in 2010.</p...
<p>You need to "Group" your Title clauses together to get the query you expect. Select the three "Title" clauses, Right Click and select "Group Clauses".</p> <p><img src="https://i.sstatic.net/N7oN8.png" alt="Group Clauses"></p> <p>Here's a snip of a query I created in VS2012 to do this, but it's the same in 2010.</p...
733, 4361, 14456
tfs, visual-studio-2010, workitem
<h1>Visual Studio: Query TFS Work Items: AND/OR Logic doesn't work?</h1> <p>I need to find TFS work items related to a certain topic in our project. For that purpose, I tried querying the work items using the query builder in Visual Studio. </p> <p>Since there are multiple terms I wish to search for, I imagined a que...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,614
tvfc
# Visual Studio: Query TFS Work Items: AND/OR Logic doesn't work? I need to find TFS work items related to a certain topic in our project. For that purpose, I tried querying the work items using the query builder in Visual Studio. Since there are multiple terms I wish to search for, I imagined a query like this: ```...
You need to "Group" your Title clauses together to get the query you expect. Select the three "Title" clauses, Right Click and select "Group Clauses". ![Group Clauses](https://i.sstatic.net/N7oN8.png) Here's a snip of a query I created in VS2012 to do this, but it's the same in 2010. It will only find work items wit...
1056997
Team Foundation Server Build with password protected codesigning fails
19
2009-06-29 07:31:36
<p>I'm trying to setup a continuous integration build on TFS 2008. In the project I want to build I use a key for signing. This key uses a password. I can't get it to build, because during the build TFS wants to show a dialog which can't be shown. I think I need to build the project by hand on the server, but only the ...
15,185
31,722
2012-01-16 22:04:29
1,057,108
34
2009-06-29 08:07:06
42,124
2012-01-16 22:04:29
https://stackoverflow.com/q/1056997
https://stackoverflow.com/a/1057108
<p>This <a href="http://ozgrant.com/2008/03/13/strong-name-your-assemblies-with-team-build-using-a-private-key/" rel="noreferrer">blog post</a> below details the exact steps </p> <p><strong>Setup Key Files</strong></p> <p>Create a password-protected private/public key pair (KeyPair.pfx) using the Visual Studio “Signi...
<p>This <a href="http://ozgrant.com/2008/03/13/strong-name-your-assemblies-with-team-build-using-a-private-key/" rel="noreferrer">blog post</a> below details the exact steps </p> <p><strong>Setup Key Files</strong></p> <p>Create a password-protected private/public key pair (KeyPair.pfx) using the Visual Studio “Signi...
733, 1066, 5647, 5953, 34843
build, code-signing, continuous-integration, delay-sign, tfs
<h1>Team Foundation Server Build with password protected codesigning fails</h1> <p>I'm trying to setup a continuous integration build on TFS 2008. In the project I want to build I use a key for signing. This key uses a password. I can't get it to build, because during the build TFS wants to show a dialog which can't be...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,615
tvfc
# Team Foundation Server Build with password protected codesigning fails I'm trying to setup a continuous integration build on TFS 2008. In the project I want to build I use a key for signing. This key uses a password. I can't get it to build, because during the build TFS wants to show a dialog which can't be shown. I...
This [blog post](http://ozgrant.com/2008/03/13/strong-name-your-assemblies-with-team-build-using-a-private-key/) below details the exact steps **Setup Key Files** Create a password-protected private/public key pair (KeyPair.pfx) using the Visual Studio “Signing” tab within a project’s properties Extract the public ke...
19855851
All files are marked as read only after check in to TFS from Visual Studio 2012
17
2013-11-08 09:43:09
<p>I have a solution with two projects. I just marked the solution and checked it in and now all files have that little image of blue padlock on the left side which obviously means that they are marked as read only. </p> <p>I've been working only with Tortoise SVN till now and this is my very first check in to TFS, so...
21,055
649,737
2013-11-08 14:11:52
19,861,052
34
2013-11-08 14:11:52
729,881
2013-11-08 14:11:52
https://stackoverflow.com/q/19855851
https://stackoverflow.com/a/19861052
<p>This is, in fact, normal. You are using <a href="http://msdn.microsoft.com/en-us/library/vstudio/bb892960.aspx" rel="noreferrer">a &quot;server workspace&quot;</a>, or connecting to a TFS server from before TFS 2012. Team Foundation Server has multiple modes of working:</p> <ol> <li><p>A Checkout/Edit/Checkin syst...
<p>This is, in fact, normal. You are using <a href="http://msdn.microsoft.com/en-us/library/vstudio/bb892960.aspx" rel="noreferrer">a &quot;server workspace&quot;</a>, or connecting to a TFS server from before TFS 2012. Team Foundation Server has multiple modes of working:</p> <ol> <li><p>A Checkout/Edit/Checkin syst...
733, 80825
tfs, visual-studio-2012
<h1>All files are marked as read only after check in to TFS from Visual Studio 2012</h1> <p>I have a solution with two projects. I just marked the solution and checked it in and now all files have that little image of blue padlock on the left side which obviously means that they are marked as read only. </p> <p>I've b...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,616
tvfc
# All files are marked as read only after check in to TFS from Visual Studio 2012 I have a solution with two projects. I just marked the solution and checked it in and now all files have that little image of blue padlock on the left side which obviously means that they are marked as read only. I've been working only ...
This is, in fact, normal. You are using [a "server workspace"](http://msdn.microsoft.com/en-us/library/vstudio/bb892960.aspx), or connecting to a TFS server from before TFS 2012. Team Foundation Server has multiple modes of working: 1. A Checkout/Edit/Checkin system (via *"server workspaces"*) means that you will need...
32776840
No build notifications with VS 2015?
34
2015-09-25 07:20:19
<p>We used to set up our dev machines to receive build notifications in the task bar.</p> <p>However, the process we've followed - as per <a href="https://msdn.microsoft.com/en-us/library/ms181725.aspx">this description</a> - doesn't apply any more with Visual Studio 2015 as the <strong>Build Notification</strong> app...
8,960
3,173,269
2018-10-30 09:30:15
32,818,218
33
2015-09-28 08:00:19
274,535
2015-09-28 08:00:19
https://stackoverflow.com/q/32776840
https://stackoverflow.com/a/32818218
<p>The <code>BuildNotificationApp</code> is still a part of the VS 2015 and can be found here: <code>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\BuildNotificationApp.exe</code>. However, it looks like only XAML build definitions are visible to this tool. </p> <p>The new vNext features can be access...
<p>The <code>BuildNotificationApp</code> is still a part of the VS 2015 and can be found here: <code>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\BuildNotificationApp.exe</code>. However, it looks like only XAML build definitions are visible to this tool. </p> <p>The new vNext features can be access...
733, 16341, 33953, 108143, 110393
tfs, tfs-2015, tfsbuild, visual-studio, visual-studio-2015
<h1>No build notifications with VS 2015?</h1> <p>We used to set up our dev machines to receive build notifications in the task bar.</p> <p>However, the process we've followed - as per <a href="https://msdn.microsoft.com/en-us/library/ms181725.aspx">this description</a> - doesn't apply any more with Visual Studio 2015 ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,617
tvfc
# No build notifications with VS 2015? We used to set up our dev machines to receive build notifications in the task bar. However, the process we've followed - as per [this description](https://msdn.microsoft.com/en-us/library/ms181725.aspx) - doesn't apply any more with Visual Studio 2015 as the **Build Notification...
The `BuildNotificationApp` is still a part of the VS 2015 and can be found here: `C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\BuildNotificationApp.exe`. However, it looks like only XAML build definitions are visible to this tool. The new vNext features can be accessed via the [new REST API](https:/...
2645085
Is it possible to store credentials for automatic Team Foundation Server login?
23
2010-04-15 12:19:08
<p>Is it possible to store the <strong>credentials</strong> that I use to connect to my <strong>Team Foundation Server</strong> directly in <strong>Visual Studio 2010</strong>?</p> <p>I would like to avoid inserting them at every VS launch.</p> <p>The problem is that the machine that host TFS is not in the domain and...
12,630
52,879
2014-12-30 11:57:26
2,645,175
32
2010-04-15 12:31:20
7,298
2014-12-30 11:57:26
https://stackoverflow.com/q/2645085
https://stackoverflow.com/a/2645175
<p>On Windows 7 (and vista?) you can stop TFS prompting for passwords all the time by adding in a windows credential in Control Panel -> User Accounts -> User Accounts -> Manage your credentials.</p> <p>Windows XP: <code>Control Panel -&gt; User Accounts -&gt; Advanced -&gt; Manage Passwords</code> </p> <p>Add a wind...
<p>On Windows 7 (and vista?) you can stop TFS prompting for passwords all the time by adding in a windows credential in Control Panel -> User Accounts -> User Accounts -> Manage your credentials.</p> <p>Windows XP: <code>Control Panel -&gt; User Accounts -&gt; Advanced -&gt; Manage Passwords</code> </p> <p>Add a wind...
733, 5357, 14456, 33953
credentials, tfs, visual-studio, visual-studio-2010
<h1>Is it possible to store credentials for automatic Team Foundation Server login?</h1> <p>Is it possible to store the <strong>credentials</strong> that I use to connect to my <strong>Team Foundation Server</strong> directly in <strong>Visual Studio 2010</strong>?</p> <p>I would like to avoid inserting them at every ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,619
tvfc
# Is it possible to store credentials for automatic Team Foundation Server login? Is it possible to store the **credentials** that I use to connect to my **Team Foundation Server** directly in **Visual Studio 2010**? I would like to avoid inserting them at every VS launch. The problem is that the machine that host T...
On Windows 7 (and vista?) you can stop TFS prompting for passwords all the time by adding in a windows credential in Control Panel -> User Accounts -> User Accounts -> Manage your credentials. Windows XP: `Control Panel -> User Accounts -> Advanced -> Manage Passwords` Add a windows credential for your tfs server. Yo...
11478917
Programmatically Adding Permissions to a Folder
18
2012-07-13 21:59:15
<p>I have an issue where I need to add give access to a folder for all authenticated users to store application related settings. I have found that this can be done with the below code...</p> <pre><code>var Info = new DirectoryInfo(settingsdir); var Security = Info.GetAccessControl(AccessControlSections.Access); Secu...
13,340
650,361
2016-03-14 18:12:30
11,479,031
32
2012-07-13 22:10:59
204,690
2016-03-14 18:12:30
https://stackoverflow.com/q/11478917
https://stackoverflow.com/a/11479031
<p>I'd suggest you use the Well Known SID list (see <a href="http://support.microsoft.com/kb/243330" rel="noreferrer">http://support.microsoft.com/kb/243330</a>). Authenticated User is always SID: S-1-5-11. If you use that, it ought to be language agnostic (but I've not tested).</p> <p>Create a <a href="http://msdn....
<p>I'd suggest you use the Well Known SID list (see <a href="http://support.microsoft.com/kb/243330" rel="noreferrer">http://support.microsoft.com/kb/243330</a>). Authenticated User is always SID: S-1-5-11. If you use that, it ought to be language agnostic (but I've not tested).</p> <p>Create a <a href="http://msdn....
9, 136, 359, 3176
c#, ntfs, permissions, security
<h1>Programmatically Adding Permissions to a Folder</h1> <p>I have an issue where I need to add give access to a folder for all authenticated users to store application related settings. I have found that this can be done with the below code...</p> <pre><code>var Info = new DirectoryInfo(settingsdir); var Security = I...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,620
tvfc
# Programmatically Adding Permissions to a Folder I have an issue where I need to add give access to a folder for all authenticated users to store application related settings. I have found that this can be done with the below code... ``` var Info = new DirectoryInfo(settingsdir); var Security = Info.GetAccessControl...
I'd suggest you use the Well Known SID list (see <http://support.microsoft.com/kb/243330>). Authenticated User is always SID: S-1-5-11. If you use that, it ought to be language agnostic (but I've not tested). Create a [SecurityIdentifier](http://msdn.microsoft.com/en-us/library/system.security.principal.securityidenti...
18618467
TFS msbuild args /p:DeployOnBuild=true doesn't seem to do anything
15
2013-09-04 15:52:19
<p>I'm currently using TFS and the regular build process activity to build a solution. However, I'd like to be able to automate deployment so I can build and deploy remotely to a server in one step.</p> <p>On the MSBuild arguments I am trying to specify the deployment switch. My project is a windows service, but I un...
39,102
306,098
2018-12-14 21:41:55
18,736,601
32
2013-09-11 08:48:29
306,098
2018-12-14 21:41:55
https://stackoverflow.com/q/18618467
https://stackoverflow.com/a/18736601
<p>For future reference, I've found exactly what is required to enable deployments for anything other than web services/projects. The reason the <strong>DeployOnBuild</strong> parameter doesn't do anything for anything other than web projects is that the project file needs to include the <strong>webapplication.targets...
<p>For future reference, I've found exactly what is required to enable deployments for anything other than web services/projects. The reason the <strong>DeployOnBuild</strong> parameter doesn't do anything for anything other than web projects is that the project file needs to include the <strong>webapplication.targets...
265, 733, 25779
msbuild, msdeploy, tfs
<h1>TFS msbuild args /p:DeployOnBuild=true doesn't seem to do anything</h1> <p>I'm currently using TFS and the regular build process activity to build a solution. However, I'd like to be able to automate deployment so I can build and deploy remotely to a server in one step.</p> <p>On the MSBuild arguments I am trying ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,621
tvfc
# TFS msbuild args /p:DeployOnBuild=true doesn't seem to do anything I'm currently using TFS and the regular build process activity to build a solution. However, I'd like to be able to automate deployment so I can build and deploy remotely to a server in one step. On the MSBuild arguments I am trying to specify the d...
For future reference, I've found exactly what is required to enable deployments for anything other than web services/projects. The reason the **DeployOnBuild** parameter doesn't do anything for anything other than web projects is that the project file needs to include the **webapplication.targets** and also a **Propert...
20139688
What is `build agent folder` $(SourceDir) of a build definition in TFS Build 2012?
36
2013-11-22 07:48:12
<p>When creating a <code>build definition</code> for a TFS build, there is a section called <code>Source Settings</code> as below snapshoot where we have to define 1) Source Control Folder and 2) Build Agent Folder.</p> <p>As I understand, the <code>source control folder</code> is where to get the source to build. But...
25,469
248,616
2013-12-27 04:17:47
20,333,916
31
2013-12-02 17:10:05
984,110
2013-12-20 04:00:44
https://stackoverflow.com/q/20139688
https://stackoverflow.com/a/20333916
<p><code>$(SourceDir)</code> is the Directory on the Build machine, which will be used for Check-out your source code from TFS and then to Compile it and Build.</p> <p>Value for the $(SourceDir) is what you will configure it to; normally your working directory on the build machine and by default its value come from <c...
<p><code>$(SourceDir)</code> is the Directory on the Build machine, which will be used for Check-out your source code from TFS and then to Compile it and Build.</p> <p>Value for the $(SourceDir) is what you will configure it to; normally your working directory on the build machine and by default its value come from <c...
16341, 47853
build-definition, tfsbuild
<h1>What is `build agent folder` $(SourceDir) of a build definition in TFS Build 2012?</h1> <p>When creating a <code>build definition</code> for a TFS build, there is a section called <code>Source Settings</code> as below snapshoot where we have to define 1) Source Control Folder and 2) Build Agent Folder.</p> <p>As I...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,622
tvfc
# What is `build agent folder` $(SourceDir) of a build definition in TFS Build 2012? When creating a `build definition` for a TFS build, there is a section called `Source Settings` as below snapshoot where we have to define 1) Source Control Folder and 2) Build Agent Folder. As I understand, the `source control folde...
`$(SourceDir)` is the Directory on the Build machine, which will be used for Check-out your source code from TFS and then to Compile it and Build. Value for the $(SourceDir) is what you will configure it to; normally your working directory on the build machine and by default its value come from `Working directory` set...
5720265
How to prevent "There appears to be a discrepancy between the solution's source control..." without changing the .sln file
33
2011-04-19 17:26:59
<p>Note: I saw <a href="https://stackoverflow.com/questions/211839/there-appears-to-be-a-discrepancy-between-the-solutions-source-control">&quot;There appears to be a discrepancy between the solution&#39;s source control ....&quot;</a> , but this doesn't apply, as I wish to fix this <em>without</em> changing the .sln f...
15,881
18,192
2016-02-12 00:16:16
10,726,586
31
2012-05-23 19:30:09
1,264,130
2012-05-23 19:30:09
https://stackoverflow.com/q/5720265
https://stackoverflow.com/a/10726586
<p>I had this problem with a Solution containing *.vcxproj project files, that were previously migrated from VS2008 to VS2010. The path to TFS was defined in both the .sln file and the .vcxproj files.</p> <p>The simplest fix was to update the *.vcxproj project files to use the SAK keyword.</p> <p>ie update from the f...
<p>I had this problem with a Solution containing *.vcxproj project files, that were previously migrated from VS2008 to VS2010. The path to TFS was defined in both the .sln file and the .vcxproj files.</p> <p>The simplest fix was to update the *.vcxproj project files to use the SAK keyword.</p> <p>ie update from the f...
456, 733, 14456
tfs, version-control, visual-studio-2010
<h1>How to prevent "There appears to be a discrepancy between the solution's source control..." without changing the .sln file</h1> <p>Note: I saw <a href="https://stackoverflow.com/questions/211839/there-appears-to-be-a-discrepancy-between-the-solutions-source-control">&quot;There appears to be a discrepancy between t...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,623
tvfc
# How to prevent "There appears to be a discrepancy between the solution's source control..." without changing the .sln file Note: I saw ["There appears to be a discrepancy between the solution's source control ...."](https://stackoverflow.com/questions/211839/there-appears-to-be-a-discrepancy-between-the-solutions-so...
I had this problem with a Solution containing *.vcxproj project files, that were previously migrated from VS2008 to VS2010. The path to TFS was defined in both the .sln file and the .vcxproj files. The simplest fix was to update the *.vcxproj project files to use the SAK keyword. ie update from the format: ``` <SccP...
21260039
How do I permanently exclude the bin and obj folders from TFS 2012 checkin?
29
2014-01-21 13:50:05
<p>I mucked around with TFS settings and I accidentally included the bin and obj folders for TFS 2012 checkin, and even checked them in already. I don't want this because these files change often and aren't meant for inclusion.</p> <p>I've checked <a href="https://stackoverflow.com/questions/13765372/what-happened-to-...
29,692
1,770,430
2018-11-07 22:33:24
21,260,759
31
2014-01-21 14:22:31
736,079
2018-11-07 22:33:24
https://stackoverflow.com/q/21260039
https://stackoverflow.com/a/21260759
<p>TFS 2012 has the option to <a href="http://msdn.microsoft.com/en-us/library/ms245454.aspx#tfignore" rel="noreferrer">drop a <code>.tfIgnore</code> file in your workspace</a>.</p> <p>Visual studio has a UI to create the file for you:</p> <p>While you can manually create a <code>.tfignore</code> text file using the ab...
<p>TFS 2012 has the option to <a href="http://msdn.microsoft.com/en-us/library/ms245454.aspx#tfignore" rel="noreferrer">drop a <code>.tfIgnore</code> file in your workspace</a>.</p> <p>Visual studio has a UI to create the file for you:</p> <p>While you can manually create a <code>.tfignore</code> text file using the ab...
80825, 104161
tfvc, visual-studio-2012
<h1>How do I permanently exclude the bin and obj folders from TFS 2012 checkin?</h1> <p>I mucked around with TFS settings and I accidentally included the bin and obj folders for TFS 2012 checkin, and even checked them in already. I don't want this because these files change often and aren't meant for inclusion.</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,624
tvfc
# How do I permanently exclude the bin and obj folders from TFS 2012 checkin? I mucked around with TFS settings and I accidentally included the bin and obj folders for TFS 2012 checkin, and even checked them in already. I don't want this because these files change often and aren't meant for inclusion. I've checked [W...
TFS 2012 has the option to [drop a `.tfIgnore` file in your workspace](http://msdn.microsoft.com/en-us/library/ms245454.aspx#tfignore). Visual studio has a UI to create the file for you: While you can manually create a `.tfignore` text file using the above rules, you can also automatically generate one when the Pendi...
48893069
Future of TFS vs VSTS
21
2018-02-20 19:45:24
<p>Is Microsoft still working on both products? Has development on TFS been dropped in favour of VSTS?</p> <p>For context, we are using TFS right now and VSTS clearly has better integration. Specifically with Microsoft Teams and ZenDesk which is important to getting our workflow process in a more manageable state. H...
12,886
3,233,528
2019-05-01 17:56:21
48,893,658
31
2018-02-20 20:26:37
736,079
2019-02-25 18:31:22
https://stackoverflow.com/q/48893069
https://stackoverflow.com/a/48893658
<h2>Now Azure DevOps and Azure DevOps Server, but the rest of the story remains intact.</h2> <p>Visual Studio Team Services (VSTS) and Team Foundation Server (TFS) are based on the same codebase. VSTS is deployed to the cloud every 3 weeks or faster. TFS has received a major upgrade yearly (2015, 2017, 2018) and a maj...
<h2>Now Azure DevOps and Azure DevOps Server, but the rest of the story remains intact.</h2> <p>Visual Studio Team Services (VSTS) and Team Foundation Server (TFS) are based on the same codebase. VSTS is deployed to the cloud every 3 weeks or faster. TFS has received a major upgrade yearly (2015, 2017, 2018) and a maj...
733, 67496, 116537
azure-devops, tfs, zendesk
<h1>Future of TFS vs VSTS</h1> <p>Is Microsoft still working on both products? Has development on TFS been dropped in favour of VSTS?</p> <p>For context, we are using TFS right now and VSTS clearly has better integration. Specifically with Microsoft Teams and ZenDesk which is important to getting our workflow process...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,625
tvfc
# Future of TFS vs VSTS Is Microsoft still working on both products? Has development on TFS been dropped in favour of VSTS? For context, we are using TFS right now and VSTS clearly has better integration. Specifically with Microsoft Teams and ZenDesk which is important to getting our workflow process in a more manage...
## Now Azure DevOps and Azure DevOps Server, but the rest of the story remains intact. Visual Studio Team Services (VSTS) and Team Foundation Server (TFS) are based on the same codebase. VSTS is deployed to the cloud every 3 weeks or faster. TFS has received a major upgrade yearly (2015, 2017, 2018) and a major update...
557773
Best way to integrate StyleCop with TFS CI
15
2009-02-17 17:11:52
<p>I've been doing research on how to enable source analysis for the project I'm working on and plan to use StyleCop. The setup I have is a TFS Server for source control, using TFS Continuous Integration. I want to enable source analysis for CI builds and daily builds run on the build machine, and not only for those ru...
11,424
1,801
2016-04-01 20:18:31
1,045,970
31
2009-06-25 20:10:45
55,408
2009-06-25 20:10:45
https://stackoverflow.com/q/557773
https://stackoverflow.com/a/1045970
<p>Some points for using StyleCop in general:</p> <ul> <li>You don't need to have StyleCop installed on your (or the build) machine - simply add StyleCop's binaries to your source control (about 1.5 MB of stuff)</li> <li><p>Then simply add the relative reference to your project files, like this (I left out &lt; and >)...
<p>Some points for using StyleCop in general:</p> <ul> <li>You don't need to have StyleCop installed on your (or the build) machine - simply add StyleCop's binaries to your source control (about 1.5 MB of stuff)</li> <li><p>Then simply add the relative reference to your project files, like this (I left out &lt; and >)...
265, 733, 1066, 3054, 4662
coding-style, continuous-integration, msbuild, stylecop, tfs
<h1>Best way to integrate StyleCop with TFS CI</h1> <p>I've been doing research on how to enable source analysis for the project I'm working on and plan to use StyleCop. The setup I have is a TFS Server for source control, using TFS Continuous Integration. I want to enable source analysis for CI builds and daily builds...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,626
tvfc
# Best way to integrate StyleCop with TFS CI I've been doing research on how to enable source analysis for the project I'm working on and plan to use StyleCop. The setup I have is a TFS Server for source control, using TFS Continuous Integration. I want to enable source analysis for CI builds and daily builds run on t...
Some points for using StyleCop in general: - You don't need to have StyleCop installed on your (or the build) machine - simply add StyleCop's binaries to your source control (about 1.5 MB of stuff) - Then simply add the relative reference to your project files, like this (I left out < and >): Import Project="..\..\...
5219896
How do the UNIX commands mv and rm work with open files?
14
2011-03-07 12:47:08
<p>If I am reading a file stored on an NTFS filesystem, and I try to move/rename that file while it is still being read, I am prevented from doing so. If I try this on a UNIX filesystem such as EXT3, it succeeds, and the process doing the reading is unaffected. I can even rm the file and reading processes are unaffecte...
8,768
331,393
2019-05-01 14:49:14
5,219,960
30
2011-03-07 12:53:49
166,749
2011-09-28 21:33:16
https://stackoverflow.com/q/5219896
https://stackoverflow.com/a/5219960
<p>Unix filesystems use reference counting and a two-layer architecture for finding files.</p> <p>The filename refers to something called an <a href="https://secure.wikimedia.org/wikipedia/en/wiki/Inode" rel="noreferrer">inode</a>, for information node or index node. The inode stores (a pointer to) the file contents a...
<p>Unix filesystems use reference counting and a two-layer architecture for finding files.</p> <p>The filename refers to something called an <a href="https://secure.wikimedia.org/wikipedia/en/wiki/Inode" rel="noreferrer">inode</a>, for information node or index node. The inode stores (a pointer to) the file contents a...
34, 99, 3176, 12668
filesystems, mv, ntfs, unix
<h1>How do the UNIX commands mv and rm work with open files?</h1> <p>If I am reading a file stored on an NTFS filesystem, and I try to move/rename that file while it is still being read, I am prevented from doing so. If I try this on a UNIX filesystem such as EXT3, it succeeds, and the process doing the reading is unaf...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,627
tvfc
# How do the UNIX commands mv and rm work with open files? If I am reading a file stored on an NTFS filesystem, and I try to move/rename that file while it is still being read, I am prevented from doing so. If I try this on a UNIX filesystem such as EXT3, it succeeds, and the process doing the reading is unaffected. I...
Unix filesystems use reference counting and a two-layer architecture for finding files. The filename refers to something called an [inode](https://secure.wikimedia.org/wikipedia/en/wiki/Inode), for information node or index node. The inode stores (a pointer to) the file contents as well as some metadata, such as the f...
5530338
How remove a folder(BIN) from version control, and make it stay out in TFS?
18
2011-04-03 14:55:59
<p>We have a new ASP.NET project on VS 2008 environment, and a new TFS server was setup for it, but originally the bin folder of the project also got checked-in. </p> <p>The team has about 10 active developers at a time and it a big issue now as some of the common libraries remains checked-out by someone or other.</p>...
12,397
341,791
2017-05-19 16:49:29
5,530,547
29
2011-04-03 15:33:19
67,392
2017-05-19 16:49:29
https://stackoverflow.com/q/5530338
https://stackoverflow.com/a/5530547
<p>Delete the bin folder in solution explorer, this will add a delete to the pending checkins.</p> <p>A build should re-create the bin folder, but not add the folder to the project (and thus there'll be no prompting for it to be added to version control).</p> <p>This won't prevent someone adding it (or anything it co...
<p>Delete the bin folder in solution explorer, this will add a delete to the pending checkins.</p> <p>A build should re-create the bin folder, but not add the folder to the project (and thus there'll be no prompting for it to be added to version control).</p> <p>This won't prevent someone adding it (or anything it co...
456, 733
tfs, version-control
<h1>How remove a folder(BIN) from version control, and make it stay out in TFS?</h1> <p>We have a new ASP.NET project on VS 2008 environment, and a new TFS server was setup for it, but originally the bin folder of the project also got checked-in. </p> <p>The team has about 10 active developers at a time and it a big i...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,628
tvfc
# How remove a folder(BIN) from version control, and make it stay out in TFS? We have a new ASP.NET project on VS 2008 environment, and a new TFS server was setup for it, but originally the bin folder of the project also got checked-in. The team has about 10 active developers at a time and it a big issue now as some ...
Delete the bin folder in solution explorer, this will add a delete to the pending checkins. A build should re-create the bin folder, but not add the folder to the project (and thus there'll be no prompting for it to be added to version control). This won't prevent someone adding it (or anything it contains) back into...
18728406
Add an EXE file to a project, so that it will be copied to the Bin/Debug folder just like a DLL?
17
2013-09-10 20:43:04
<p>I need my C# project to launch another EXE program during execution. This executable needs to be placed in the same folder as the C# program is placed on building the solution, for example, the debug folder -- just like DLL file references -- so that when my team members check the project out from TFS, and debug, th...
26,990
306,027
2019-10-13 09:58:33
18,728,462
29
2013-09-10 20:46:51
961,113
2013-09-10 20:53:09
https://stackoverflow.com/q/18728406
https://stackoverflow.com/a/18728462
<p>You can go the properties of the file, and under Copy to output Directory select, <code>copy if newer</code></p> <p><img src="https://i.sstatic.net/J5jQt.png" alt="enter image description here"></p>
<p>You can go the properties of the file, and under Copy to output Directory select, <code>copy if newer</code></p> <p><img src="https://i.sstatic.net/J5jQt.png" alt="enter image description here"></p>
9, 733, 14456
c#, tfs, visual-studio-2010
<h1>Add an EXE file to a project, so that it will be copied to the Bin/Debug folder just like a DLL?</h1> <p>I need my C# project to launch another EXE program during execution. This executable needs to be placed in the same folder as the C# program is placed on building the solution, for example, the debug folder -- j...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,630
tvfc
# Add an EXE file to a project, so that it will be copied to the Bin/Debug folder just like a DLL? I need my C# project to launch another EXE program during execution. This executable needs to be placed in the same folder as the C# program is placed on building the solution, for example, the debug folder -- just like ...
You can go the properties of the file, and under Copy to output Directory select, `copy if newer` ![enter image description here](https://i.sstatic.net/J5jQt.png)
13669122
wildcard test containers to mstest. exe
15
2012-12-02 12:04:51
<p>Is it possible to pass wildcard testcontainer values to the command-line mstest.exe rather than manually hardcoding multiple testcontainer values? Such as</p> <p>Mstest.exe /testcontainer:<em>tests</em>.dll </p> <p>I'm wanting to manually invoke mstest in our tfs 2012 upgrade template.xaml build processso tthat it...
7,569
1,573,456
2013-08-31 06:38:21
13,830,246
29
2012-12-11 23:28:01
62,662
2013-05-26 18:15:07
https://stackoverflow.com/q/13669122
https://stackoverflow.com/a/13830246
<p><code>MSTest</code> doesn't take a wildcard parameter for the testcontainer (<a href="http://msdn.microsoft.com/en-us/library/ms182489(v=vs.110).aspx" rel="noreferrer">look here for a reference on the command line options</a>). It can however take multiple /testcontainer arguments, as follows:</p> <pre><code>mstest...
<p><code>MSTest</code> doesn't take a wildcard parameter for the testcontainer (<a href="http://msdn.microsoft.com/en-us/library/ms182489(v=vs.110).aspx" rel="noreferrer">look here for a reference on the command line options</a>). It can however take multiple /testcontainer arguments, as follows:</p> <pre><code>mstest...
733, 2155, 16341, 61787, 80825
mstest, tfs, tfsbuild, visual-studio-2012, vs-unit-testing-framework
<h1>wildcard test containers to mstest. exe</h1> <p>Is it possible to pass wildcard testcontainer values to the command-line mstest.exe rather than manually hardcoding multiple testcontainer values? Such as</p> <p>Mstest.exe /testcontainer:<em>tests</em>.dll </p> <p>I'm wanting to manually invoke mstest in our 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,631
tvfc
# wildcard test containers to mstest. exe Is it possible to pass wildcard testcontainer values to the command-line mstest.exe rather than manually hardcoding multiple testcontainer values? Such as Mstest.exe /testcontainer:*tests*.dll I'm wanting to manually invoke mstest in our tfs 2012 upgrade template.xaml build ...
`MSTest` doesn't take a wildcard parameter for the testcontainer ([look here for a reference on the command line options](http://msdn.microsoft.com/en-us/library/ms182489(v=vs.110).aspx)). It can however take multiple /testcontainer arguments, as follows: ``` mstest.exe /testcontainer:a.test.dll /testcontainer:b.tests...
46371305
Difference between $(Build.Repository.LocalPath) and $(Build.SourcesDirectory) in TFS Build Online 2017
42
2017-09-22 18:42:48
<p>I am trying to figure out if there is a difference between the two pre-defined variables in TFS Online 2017: <code>$(Build.Repository.LocalPath)</code> and <code>$(Build.SourcesDirectory)</code>. I have a build that uses these two variables and didn't know if I could use them interchangeably or not.</p> <p>Looking...
48,547
1,179,562
2022-12-01 16:34:00
46,371,589
28
2017-09-22 19:01:46
736,079
2017-09-22 19:01:46
https://stackoverflow.com/q/46371305
https://stackoverflow.com/a/46371589
<p>They're synonyms. Most standard templates and tasks use the <code>$(Build.SourcesDirectory)</code>, so that is what I tend to use.</p>
<p>They're synonyms. Most standard templates and tasks use the <code>$(Build.SourcesDirectory)</code>, so that is what I tend to use.</p>
733, 116537, 119596
azure-devops, azure-pipelines, tfs
<h1>Difference between $(Build.Repository.LocalPath) and $(Build.SourcesDirectory) in TFS Build Online 2017</h1> <p>I am trying to figure out if there is a difference between the two pre-defined variables in TFS Online 2017: <code>$(Build.Repository.LocalPath)</code> and <code>$(Build.SourcesDirectory)</code>. I have ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,633
tvfc
# Difference between $(Build.Repository.LocalPath) and $(Build.SourcesDirectory) in TFS Build Online 2017 I am trying to figure out if there is a difference between the two pre-defined variables in TFS Online 2017: `$(Build.Repository.LocalPath)` and `$(Build.SourcesDirectory)`. I have a build that uses these two vari...
They're synonyms. Most standard templates and tasks use the `$(Build.SourcesDirectory)`, so that is what I tend to use.
11771030
TFS "Assign To" is showing too many users
26
2012-08-02 04:25:35
<p>I am connected to a TFS server, and when I create a work item (Bug, Task, etc.), the "Assign To" shows WAY too many users. I cannot find a way to limit the users shown that will affect anyone else who connects to the server.</p> <p>For example, I have under the "Assign To" dropdown:</p> <pre><code>Administrator LO...
17,448
1,078,510
2015-09-10 20:57:24
11,780,442
28
2012-08-02 15:06:10
105,227
2012-08-02 15:06:10
https://stackoverflow.com/q/11771030
https://stackoverflow.com/a/11780442
<p>Here's what you should do:</p> <ol> <li>Open the <strong>Visual Studio Command Prompt</strong>. This will give you a command line window with the PATH set to run VS / TFS tools</li> <li><p>Download the <strong>Work Item Type definition</strong> that you want to modify (e.g. Bug, Task): </p> <ul> <li><code>witadmin...
<p>Here's what you should do:</p> <ol> <li>Open the <strong>Visual Studio Command Prompt</strong>. This will give you a command line window with the PATH set to run VS / TFS tools</li> <li><p>Download the <strong>Work Item Type definition</strong> that you want to modify (e.g. Bug, Task): </p> <ul> <li><code>witadmin...
733
tfs
<h1>TFS "Assign To" is showing too many users</h1> <p>I am connected to a TFS server, and when I create a work item (Bug, Task, etc.), the "Assign To" shows WAY too many users. I cannot find a way to limit the users shown that will affect anyone else who connects to the server.</p> <p>For example, I have under the "As...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,634
tvfc
# TFS "Assign To" is showing too many users I am connected to a TFS server, and when I create a work item (Bug, Task, etc.), the "Assign To" shows WAY too many users. I cannot find a way to limit the users shown that will affect anyone else who connects to the server. For example, I have under the "Assign To" dropdow...
Here's what you should do: 1. Open the **Visual Studio Command Prompt**. This will give you a command line window with the PATH set to run VS / TFS tools 2. Download the **Work Item Type definition** that you want to modify (e.g. Bug, Task): - `witadmin exportwitd /collection:collectionurl /p:project /n:typename [...
47257586
What does Sync Do in Team Explorer?
25
2017-11-13 05:27:32
<p>I am currently in a project that uses <strong>TFS Git</strong> as the code repository. In Visual Studio, under <em>Team Explorer</em> -> <em>Sync</em>, there is an option called <strong>Sync</strong>. Now I am familiar with the Fetch, Pull, and Push actions but Sync is new to me. </p> <p>Any ideas what this does be...
17,894
6,435,817
2017-11-14 03:33:29
47,277,202
28
2017-11-14 03:33:29
5,391,065
2017-11-14 03:33:29
https://stackoverflow.com/q/47257586
https://stackoverflow.com/a/47277202
<p>Git in Visual Studio, VSTS, and TFS is <strong>standard Git</strong>. Although <strong>Sync isn’t a Git command</strong>, some GUI environments provide a sync button to both <strong>update your local files</strong> and <strong>push your local changes to your remote</strong> (your hosted repository).</p> <p><a href...
<p>Git in Visual Studio, VSTS, and TFS is <strong>standard Git</strong>. Although <strong>Sync isn’t a Git command</strong>, some GUI environments provide a sync button to both <strong>update your local files</strong> and <strong>push your local changes to your remote</strong> (your hosted repository).</p> <p><a href...
733, 123095
tfs, visual-studio-2017
<h1>What does Sync Do in Team Explorer?</h1> <p>I am currently in a project that uses <strong>TFS Git</strong> as the code repository. In Visual Studio, under <em>Team Explorer</em> -> <em>Sync</em>, there is an option called <strong>Sync</strong>. Now I am familiar with the Fetch, Pull, and Push actions but Sync is ne...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,635
tvfc
# What does Sync Do in Team Explorer? I am currently in a project that uses **TFS Git** as the code repository. In Visual Studio, under *Team Explorer* -> *Sync*, there is an option called **Sync**. Now I am familiar with the Fetch, Pull, and Push actions but Sync is new to me. Any ideas what this does behind the sce...
Git in Visual Studio, VSTS, and TFS is **standard Git**. Although **Sync isn’t a Git command**, some GUI environments provide a sync button to both **update your local files** and **push your local changes to your remote** (your hosted repository). [![enter image description here](https://i.sstatic.net/1AZ7S.png)](htt...
1809725
NTFS alternate data streams
25
2009-11-27 16:47:12
<p>Today I have seen this weird magic NTFS system supports: each file can have multiple data streams. Basically one could have a file <code>a.txt</code> of 0b size but there can be any number of bytes hidden in a separate data stream for that file. This is strictly NTFS related magic and I don't see any noble reason fo...
22,768
81,520
2014-09-25 23:47:31
1,809,762
28
2009-11-27 16:55:35
111,575
2012-05-29 22:07:30
https://stackoverflow.com/q/1809725
https://stackoverflow.com/a/1809762
<p>From the top of my head: <a href="http://en.wikipedia.org/wiki/NTFS#Alternate_data_streams_.28ADS.29" rel="noreferrer">NTFS datastreams</a> were introduced in Windows NT 4.0 and have been around in all descendants (excluding the win-95 descendants: 98, Me). In XP, Vista and Win 7 they're still around. As long as Win...
<p>From the top of my head: <a href="http://en.wikipedia.org/wiki/NTFS#Alternate_data_streams_.28ADS.29" rel="noreferrer">NTFS datastreams</a> were introduced in Windows NT 4.0 and have been around in all descendants (excluding the win-95 descendants: 98, Me). In XP, Vista and Win 7 they're still around. As long as Win...
99, 3176, 8257, 65946
alternate-data-stream, filesystems, ntfs, stream
<h1>NTFS alternate data streams</h1> <p>Today I have seen this weird magic NTFS system supports: each file can have multiple data streams. Basically one could have a file <code>a.txt</code> of 0b size but there can be any number of bytes hidden in a separate data stream for that file. This is strictly NTFS related magi...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,636
tvfc
# NTFS alternate data streams Today I have seen this weird magic NTFS system supports: each file can have multiple data streams. Basically one could have a file `a.txt` of 0b size but there can be any number of bytes hidden in a separate data stream for that file. This is strictly NTFS related magic and I don't see an...
From the top of my head: [NTFS datastreams](http://en.wikipedia.org/wiki/NTFS#Alternate_data_streams_.28ADS.29) were introduced in Windows NT 4.0 and have been around in all descendants (excluding the win-95 descendants: 98, Me). In XP, Vista and Win 7 they're still around. As long as Windows versions support NTFS, the...
8476611
Large Files in Source Control (TFS)
16
2011-12-12 15:25:30
<p>Recently at the office we have been talking about placing large files into our TFS repository. The files themselves are XML, usually 100-200MB in size, and sometimes as large as 1GB. We use them as data for automated testing and they are mostly static (one gets a minor tweak every year or so). Anyway, there is a ...
8,154
472,614
2012-01-20 20:15:31
8,477,319
28
2011-12-12 16:18:05
729,881
2012-01-20 20:15:31
https://stackoverflow.com/q/8476611
https://stackoverflow.com/a/8477319
<p><strong>tl;dr</strong>: TFS is designed to handle large files gracefully. The largest hurdle you'll have to face is network bandwidth to upload/download the files. The second issue is that of storage space on the server. Assuming you've considered these two issues, you shouldn't have any other problems.</p> <p><...
<p><strong>tl;dr</strong>: TFS is designed to handle large files gracefully. The largest hurdle you'll have to face is network bandwidth to upload/download the files. The second issue is that of storage space on the server. Assuming you've considered these two issues, you shouldn't have any other problems.</p> <p><...
456, 733
tfs, version-control
<h1>Large Files in Source Control (TFS)</h1> <p>Recently at the office we have been talking about placing large files into our TFS repository. The files themselves are XML, usually 100-200MB in size, and sometimes as large as 1GB. We use them as data for automated testing and they are mostly static (one gets a minor ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,637
tvfc
# Large Files in Source Control (TFS) Recently at the office we have been talking about placing large files into our TFS repository. The files themselves are XML, usually 100-200MB in size, and sometimes as large as 1GB. We use them as data for automated testing and they are mostly static (one gets a minor tweak every...
**tl;dr**: TFS is designed to handle large files gracefully. The largest hurdle you'll have to face is network bandwidth to upload/download the files. The second issue is that of storage space on the server. Assuming you've considered these two issues, you shouldn't have any other problems. **Network bandwidth:** Ther...
3905901
how to merge two changesets only (TFS)
15
2010-10-11 11:51:01
<p><img src="https://i.sstatic.net/Qi87w.jpg" alt="alt text" /></p> <p>You see 162489 and 162990, How can I merge them ?</p>
39,399
173,718
2015-01-30 09:01:15
3,909,246
28
2010-10-11 19:17:35
29,449
2015-01-30 09:01:15
https://stackoverflow.com/q/3905901
https://stackoverflow.com/a/3909246
<p>I'm guessing that you want to merge only those two specific changesets into another branch.</p> <p>You cannot merge multiple changesets in one go, unless the changesets are in sequence.</p> <p>Using the <code>tf</code> command line tool you specify a range of versions by separating the version with a tilde charact...
<p>I'm guessing that you want to merge only those two specific changesets into another branch.</p> <p>You cannot merge multiple changesets in one go, unless the changesets are in sequence.</p> <p>Using the <code>tf</code> command line tool you specify a range of versions by separating the version with a tilde charact...
1, 717, 733, 44216
.net, merge, tfs, tfs-2005
<h1>how to merge two changesets only (TFS)</h1> <p><img src="https://i.sstatic.net/Qi87w.jpg" alt="alt text" /></p> <p>You see 162489 and 162990, How can I merge them ?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,638
tvfc
# how to merge two changesets only (TFS) ![alt text](https://i.sstatic.net/Qi87w.jpg) You see 162489 and 162990, How can I merge them ?
I'm guessing that you want to merge only those two specific changesets into another branch. You cannot merge multiple changesets in one go, unless the changesets are in sequence. Using the `tf` command line tool you specify a range of versions by separating the version with a tilde character. ``` tf merge /recursive...
2158752
Explaining tf diff
9
2010-01-28 23:18:52
<p>Using Visual Studio 2008 tools,</p> <p>I am trying to get an ASCII diff of change sets 14318 and 14317.</p> <p>I can do so using GUI:</p> <pre><code>tf changeset 14318 </code></pre> <p>and then select a file and right-click and select compare with previous version. However, this is a bit tedious and it is GUI-ba...
4,765
231,677
2014-10-27 14:27:33
2,166,188
28
2010-01-30 00:13:42
111,335
2010-01-30 00:13:42
https://stackoverflow.com/q/2158752
https://stackoverflow.com/a/2166188
<p>You're just not using the correct syntax when calling it. In this case, it tried to do a diff between your working copy, and the base repository version, of (non-existing) files <code>14318</code> and <code>14317</code>. </p> <p>What you need to do instead is to use a changeset range in <code>/version</code>, like ...
<p>You're just not using the correct syntax when calling it. In this case, it tried to do a diff between your working copy, and the base repository version, of (non-existing) files <code>14318</code> and <code>14317</code>. </p> <p>What you need to do instead is to use a changeset range in <code>/version</code>, like ...
606, 733, 26212, 32472
diff, tf-cli, tfs, visual-studio-2008
<h1>Explaining tf diff</h1> <p>Using Visual Studio 2008 tools,</p> <p>I am trying to get an ASCII diff of change sets 14318 and 14317.</p> <p>I can do so using GUI:</p> <pre><code>tf changeset 14318 </code></pre> <p>and then select a file and right-click and select compare with previous version. However, this is a ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,639
tvfc
# Explaining tf diff Using Visual Studio 2008 tools, I am trying to get an ASCII diff of change sets 14318 and 14317. I can do so using GUI: ``` tf changeset 14318 ``` and then select a file and right-click and select compare with previous version. However, this is a bit tedious and it is GUI-based. My task at han...
You're just not using the correct syntax when calling it. In this case, it tried to do a diff between your working copy, and the base repository version, of (non-existing) files `14318` and `14317`. What you need to do instead is to use a changeset range in `/version`, like this: ``` tf diff $/Foo /version:C14317~C14...
40993795
MSBuild and Webpack
14
2016-12-06 11:03:49
<p>I am developing an Angular2 application in VS2015 and have a webpack bundling and minification environment set up for the same.</p> <p>This is my webpack.conf.js</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-cod...
15,952
1,773,900
2024-08-26 09:27:35
41,012,487
27
2016-12-07 08:23:39
5,396,181
2016-12-07 08:23:39
https://stackoverflow.com/q/40993795
https://stackoverflow.com/a/41012487
<p>Put different scripts in package.json for development and production mode. Then on 'AfterBuild' event of visual studio, call those scripts on different configurations.</p> <p>Add following two scripts, <strong>'buildDev'</strong> and <strong>'buildProd'</strong> in package.json:</p> <pre><code>"scripts": { "bu...
<p>Put different scripts in package.json for development and production mode. Then on 'AfterBuild' event of visual studio, call those scripts on different configurations.</p> <p>Add following two scripts, <strong>'buildDev'</strong> and <strong>'buildProd'</strong> in package.json:</p> <pre><code>"scripts": { "bu...
265, 1066, 13243, 16341, 102241
continuous-integration, msbuild, msbuild-task, tfsbuild, webpack
<h1>MSBuild and Webpack</h1> <p>I am developing an Angular2 application in VS2015 and have a webpack bundling and minification environment set up for the same.</p> <p>This is my webpack.conf.js</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-co...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,641
tvfc
# MSBuild and Webpack I am developing an Angular2 application in VS2015 and have a webpack bundling and minification environment set up for the same. This is my webpack.conf.js ``` switch (process.env.NODE_ENV) { case 'prod': case 'production': module.exports = require('./config/webpack.prod'); ...
Put different scripts in package.json for development and production mode. Then on 'AfterBuild' event of visual studio, call those scripts on different configurations. Add following two scripts, **'buildDev'** and **'buildProd'** in package.json: ``` "scripts": { "buildDev": "SET NODE_ENV=development && webpack -...
32712197
Where can I find Microsoft.TeamFoundation.VersionControl.Client.dll in Visual Studio 2015 installation?
13
2015-09-22 08:35:18
<p>I followed instructions in article about <a href="http://blog.jessehouwing.nl/2014/01/creating-custom-check-in-policy-pack.html">supporting multiple versions of Visual Studio in developing checkin policies</a>. Now, where can I find :</p> <pre><code>Microsoft.TeamFoundation.VersionControl.Client.dll </code></pre> ...
20,989
577,067
2019-09-11 08:41:29
32,712,372
27
2015-09-22 08:44:27
736,079
2015-09-22 09:41:27
https://stackoverflow.com/q/32712197
https://stackoverflow.com/a/32712372
<p>These have <a href="https://www.nuget.org/packages/Microsoft.TeamFoundationServer.ExtendedClient/">been moved into a Nuget package</a>.</p> <p>They're also stored under the "CommonExtensions" folder of your Visual Studio installation, but these are not meant to be referenced anymore, that's what the NuGet package i...
<p>These have <a href="https://www.nuget.org/packages/Microsoft.TeamFoundationServer.ExtendedClient/">been moved into a Nuget package</a>.</p> <p>They're also stored under the "CommonExtensions" folder of your Visual Studio installation, but these are not meant to be referenced anymore, that's what the NuGet package i...
733, 32354, 108143
tfs, tfs-sdk, visual-studio-2015
<h1>Where can I find Microsoft.TeamFoundation.VersionControl.Client.dll in Visual Studio 2015 installation?</h1> <p>I followed instructions in article about <a href="http://blog.jessehouwing.nl/2014/01/creating-custom-check-in-policy-pack.html">supporting multiple versions of Visual Studio in developing checkin policie...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,642
tvfc
# Where can I find Microsoft.TeamFoundation.VersionControl.Client.dll in Visual Studio 2015 installation? I followed instructions in article about [supporting multiple versions of Visual Studio in developing checkin policies](http://blog.jessehouwing.nl/2014/01/creating-custom-check-in-policy-pack.html). Now, where ca...
These have [been moved into a Nuget package](https://www.nuget.org/packages/Microsoft.TeamFoundationServer.ExtendedClient/). They're also stored under the "CommonExtensions" folder of your Visual Studio installation, but these are not meant to be referenced anymore, that's what the NuGet package is for. ``` C:\Progr...
13638896
TFS and Scrum - Best Practice configuration for Areas, Iterations, backlog iteration, sprint iteration
26
2012-11-30 04:12:50
<p><em>This set of questions tries to elicit a best practice answer on how to setup TFS 2012 Areas and Iterations with Scrum 2.</em></p> <p><strong>Context:</strong> We've been using Team System since TFS 2005 and had initially created a Team Project for each product we have and then used MSF 4.2 process template whic...
30,021
351,511
2017-10-11 13:37:16
13,731,157
26
2012-12-05 19:45:14
11,799
2012-12-05 19:45:14
https://stackoverflow.com/q/13638896
https://stackoverflow.com/a/13731157
<p>I hope you found use of my post, and I would also recommend that you take a look at <a href="http://blog.hinshelwood.com/one-team-project/" rel="noreferrer">One Team Project to rule them all</a> and <a href="http://blogs.msdn.com/b/greggboer/archive/2012/01/27/tfs-vnext-configuring-your-project-to-have-a-master-back...
<p>I hope you found use of my post, and I would also recommend that you take a look at <a href="http://blog.hinshelwood.com/one-team-project/" rel="noreferrer">One Team Project to rule them all</a> and <a href="http://blogs.msdn.com/b/greggboer/archive/2012/01/27/tfs-vnext-configuring-your-project-to-have-a-master-back...
733, 1504, 6325, 7666
backlog, scrum, sprint, tfs
<h1>TFS and Scrum - Best Practice configuration for Areas, Iterations, backlog iteration, sprint iteration</h1> <p><em>This set of questions tries to elicit a best practice answer on how to setup TFS 2012 Areas and Iterations with Scrum 2.</em></p> <p><strong>Context:</strong> We've been using Team System since 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,643
tvfc
# TFS and Scrum - Best Practice configuration for Areas, Iterations, backlog iteration, sprint iteration *This set of questions tries to elicit a best practice answer on how to setup TFS 2012 Areas and Iterations with Scrum 2.* **Context:** We've been using Team System since TFS 2005 and had initially created a Team ...
I hope you found use of my post, and I would also recommend that you take a look at [One Team Project to rule them all](http://blog.hinshelwood.com/one-team-project/) and [TFS vNext: Configuring your project to have a master backlog and sub-teams](http://blogs.msdn.com/b/greggboer/archive/2012/01/27/tfs-vnext-configuri...
7421440
How can I detect only deleted, changed, and created files on a volume?
7
2011-09-14 18:49:13
<p>I need to know if there is an easy way of detecting only the files that were deleted, modified or created on an NTFS volume. </p> <p>I have written a program for offsite backup in C++. After the first backup, I check the archive bit of each file to see if there was any change made, and back up only the files that w...
13,006
813,040
2016-04-13 21:24:23
7,459,109
26
2011-09-18 02:26:07
886,887
2016-04-13 21:24:23
https://stackoverflow.com/q/7421440
https://stackoverflow.com/a/7459109
<p>You can enumerate all the files on a volume using FSCTL_ENUM_USN_DATA. This is a fast process (my tests returned better than 6000 records per second even on a very old machine, and 20000+ is more typical) and only includes files that currently exist.</p> <p>The data returned includes the file flags as well as the ...
<p>You can enumerate all the files on a volume using FSCTL_ENUM_USN_DATA. This is a fast process (my tests returned better than 6000 records per second even on a very old machine, and 20000+ is more typical) and only includes files that currently exist.</p> <p>The data returned includes the file flags as well as the ...
10, 64, 493, 3176
backup, c++, ntfs, windows
<h1>How can I detect only deleted, changed, and created files on a volume?</h1> <p>I need to know if there is an easy way of detecting only the files that were deleted, modified or created on an NTFS volume. </p> <p>I have written a program for offsite backup in C++. After the first backup, I check the archive bit of ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,644
tvfc
# How can I detect only deleted, changed, and created files on a volume? I need to know if there is an easy way of detecting only the files that were deleted, modified or created on an NTFS volume. I have written a program for offsite backup in C++. After the first backup, I check the archive bit of each file to see ...
You can enumerate all the files on a volume using FSCTL_ENUM_USN_DATA. This is a fast process (my tests returned better than 6000 records per second even on a very old machine, and 20000+ is more typical) and only includes files that currently exist. The data returned includes the file flags as well as the USNs so you...
17533008
Treat all warnings as errors
64
2013-07-08 17:56:46
<p>This should be obvious to do, but I just couldn't make it work...</p> <p>What I'm trying to do is simple: <strong>I would like my compilation to fail with an error if there is a warning</strong>. Yes, the famous <code>TreatWarningsAsErrors</code>...</p> <p>I configured it in my C# project properties</p> <p><img s...
40,851
870,604
2018-03-15 20:23:31
17,554,497
25
2013-07-09 17:25:55
147,211
2013-07-09 17:25:55
https://stackoverflow.com/q/17533008
https://stackoverflow.com/a/17554497
<p>MSBuild warnings (all start with MSB*) as opposed to CSC warnings cannot be suppressed nor promoted to errors. For the reason the <a href="http://msdn.microsoft.com/en-us/library/9ad3f294.aspx"><code>ResolveAssemblyReference</code></a> task prints its messages on the fly and does not aggregate any of them.</p> <p>T...
<p>MSBuild warnings (all start with MSB*) as opposed to CSC warnings cannot be suppressed nor promoted to errors. For the reason the <a href="http://msdn.microsoft.com/en-us/library/9ad3f294.aspx"><code>ResolveAssemblyReference</code></a> task prints its messages on the fly and does not aggregate any of them.</p> <p>T...
1, 9, 265, 733, 1716
.net, c#, msbuild, tfs, warnings
<h1>Treat all warnings as errors</h1> <p>This should be obvious to do, but I just couldn't make it work...</p> <p>What I'm trying to do is simple: <strong>I would like my compilation to fail with an error if there is a warning</strong>. Yes, the famous <code>TreatWarningsAsErrors</code>...</p> <p>I configured it in m...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,645
tvfc
# Treat all warnings as errors This should be obvious to do, but I just couldn't make it work... What I'm trying to do is simple: **I would like my compilation to fail with an error if there is a warning**. Yes, the famous `TreatWarningsAsErrors`... I configured it in my C# project properties ![treat warnings as er...
MSBuild warnings (all start with MSB*) as opposed to CSC warnings cannot be suppressed nor promoted to errors. For the reason the [`ResolveAssemblyReference`](http://msdn.microsoft.com/en-us/library/9ad3f294.aspx) task prints its messages on the fly and does not aggregate any of them. The only feasible solution is rea...
15619885
Files listed as pending changes when doing merges that didn't change?
34
2013-03-25 16:27:25
<p>We've had this happen more than a few times were we consider it to be more than a fluke at this point. When we are merging back after we are complete with our branch there are way more changes then their should be. So most of the files showing as pending changes never changed (in most of the cases in neither the bra...
15,652
127,954
2017-01-10 07:50:39
15,621,451
25
2013-03-25 17:51:32
568,475
2013-03-26 06:44:58
https://stackoverflow.com/q/15619885
https://stackoverflow.com/a/15621451
<p>Regarding the problem where you had changed 100 files and TFS wanted to merge several thousand. This is usually caused by <a href="https://stackoverflow.com/questions/5900503/rename-a-branch-and-then-reuse-the-name-for-a-new-branch">renaming</a> (or deleting and then un-deleting, or moving) a branch. This has bitten...
<p>Regarding the problem where you had changed 100 files and TFS wanted to merge several thousand. This is usually caused by <a href="https://stackoverflow.com/questions/5900503/rename-a-branch-and-then-reuse-the-name-for-a-new-branch">renaming</a> (or deleting and then un-deleting, or moving) a branch. This has bitten...
717, 733
merge, tfs
<h1>Files listed as pending changes when doing merges that didn't change?</h1> <p>We've had this happen more than a few times were we consider it to be more than a fluke at this point. When we are merging back after we are complete with our branch there are way more changes then their should be. So most of the files sh...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,646
tvfc
# Files listed as pending changes when doing merges that didn't change? We've had this happen more than a few times were we consider it to be more than a fluke at this point. When we are merging back after we are complete with our branch there are way more changes then their should be. So most of the files showing as ...
Regarding the problem where you had changed 100 files and TFS wanted to merge several thousand. This is usually caused by [renaming](https://stackoverflow.com/questions/5900503/rename-a-branch-and-then-reuse-the-name-for-a-new-branch) (or deleting and then un-deleting, or moving) a branch. This has bitten me a couple o...
24343894
visual studio 2013 hangs on right click
19
2014-06-21 17:05:15
<p>After I install Visual Studio 2013 update 2, I notice that right click on any kind of project file (aspx, cshtml) causes about 45 seconds of hang in Visual Studio. It eventually opens context menu, but every single time this happens.</p> <p>If I right click on Solution Explorer, Class View etc.. there is no issue a...
7,346
929,902
2020-08-13 15:05:18
25,618,659
25
2014-09-02 08:05:48
1,185,136
2014-10-27 10:19:41
https://stackoverflow.com/q/24343894
https://stackoverflow.com/a/25618659
<p>ReSharper can cause this problem. You can <a href="https://stackoverflow.com/questions/2189792/how-can-i-disable-resharper-in-visual-studio-and-enable-it-again">suspend it (temporarily)</a> to see if the problem is solved. If it is indeed solved, you should clear ReSharper's cache before you enable it again. Go to <...
<p>ReSharper can cause this problem. You can <a href="https://stackoverflow.com/questions/2189792/how-can-i-disable-resharper-in-visual-studio-and-enable-it-again">suspend it (temporarily)</a> to see if the problem is solved. If it is indeed solved, you should clear ReSharper's cache before you enable it again. Go to <...
492, 733, 8435, 93364
freeze, resharper, tfs, visual-studio-2013
<h1>visual studio 2013 hangs on right click</h1> <p>After I install Visual Studio 2013 update 2, I notice that right click on any kind of project file (aspx, cshtml) causes about 45 seconds of hang in Visual Studio. It eventually opens context menu, but every single time this happens.</p> <p>If I right click on Soluti...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,647
tvfc
# visual studio 2013 hangs on right click After I install Visual Studio 2013 update 2, I notice that right click on any kind of project file (aspx, cshtml) causes about 45 seconds of hang in Visual Studio. It eventually opens context menu, but every single time this happens. If I right click on Solution Explorer, Cla...
ReSharper can cause this problem. You can [suspend it (temporarily)](https://stackoverflow.com/questions/2189792/how-can-i-disable-resharper-in-visual-studio-and-enable-it-again) to see if the problem is solved. If it is indeed solved, you should clear ReSharper's cache before you enable it again. Go to `%LOCALAPPDATA%...
56359666
How to uninstall or remove configuration of a deployment pool or deployment agent
17
2019-05-29 11:34:51
<p>I am using Azure DevOps Server (TFS), and I register deployment pool agents in my test and production servers, now iIneed to uninstall or remove the configuration on my server and in my UI how can I do that there are a script to run or just delete the files or what could you please help me with that.</p>
28,934
11,131,082
2023-03-09 23:39:21
56,360,482
25
2019-05-29 12:19:13
7,409,220
2019-05-29 12:19:13
https://stackoverflow.com/q/56359666
https://stackoverflow.com/a/56360482
<p>You need to do 2 things:</p> <p>1) Go to the agent folder (where he installed) and run <code>config.cmd</code> with the flag <code>remove</code>. if you are in the agent folder run this in the command line:</p> <pre><code>./config remove </code></pre> <p>2) Go to the Deployment Group (in the UI) and click on the ...
<p>You need to do 2 things:</p> <p>1) Go to the agent folder (where he installed) and run <code>config.cmd</code> with the flag <code>remove</code>. if you are in the agent folder run this in the command line:</p> <pre><code>./config remove </code></pre> <p>2) Go to the Deployment Group (in the UI) and click on the ...
733, 116537, 127362, 135806, 137314
azure-devops, azure-devops-self-hosted-agent, azure-devops-server, azure-devops-server-2019, tfs
<h1>How to uninstall or remove configuration of a deployment pool or deployment agent</h1> <p>I am using Azure DevOps Server (TFS), and I register deployment pool agents in my test and production servers, now iIneed to uninstall or remove the configuration on my server and in my UI how can I do that there are a script ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,648
tvfc
# How to uninstall or remove configuration of a deployment pool or deployment agent I am using Azure DevOps Server (TFS), and I register deployment pool agents in my test and production servers, now iIneed to uninstall or remove the configuration on my server and in my UI how can I do that there are a script to run or...
You need to do 2 things: 1) Go to the agent folder (where he installed) and run `config.cmd` with the flag `remove`. if you are in the agent folder run this in the command line: ``` ./config remove ``` 2) Go to the Deployment Group (in the UI) and click on the `...` near the group and then `Delete` (to delete all th...
15956307
TFS API: GetLocalWorkspaceInfo always returns null
31
2013-04-11 18:37:24
<p>On one of my machines, I get a return value of null from any <code>GetLocalWorkspaceInfo</code> call. I have isolated to problem to where it even fails for this simple program:</p> <pre><code>namespace WorkstationTest { using Microsoft.TeamFoundation.VersionControl.Client; class Program { stati...
11,455
937,623
2021-01-28 17:15:31
43,348,710
24
2017-04-11 14:23:30
7,493,286
2017-09-29 09:27:39
https://stackoverflow.com/q/15956307
https://stackoverflow.com/a/43348710
<p>After migrating from TFS2013 to TFS2017 in the company I work for I had the same problem with Workstation.Current.GetLocalWorkspaceInfo.</p> <p>What worked for me is a call to <a href="https://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.versioncontrol.client.workstation.ensureupdateworkspaceinfocache(...
<p>After migrating from TFS2013 to TFS2017 in the company I work for I had the same problem with Workstation.Current.GetLocalWorkspaceInfo.</p> <p>What worked for me is a call to <a href="https://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.versioncontrol.client.workstation.ensureupdateworkspaceinfocache(...
9, 32354
c#, tfs-sdk
<h1>TFS API: GetLocalWorkspaceInfo always returns null</h1> <p>On one of my machines, I get a return value of null from any <code>GetLocalWorkspaceInfo</code> call. I have isolated to problem to where it even fails for this simple program:</p> <pre><code>namespace WorkstationTest { using Microsoft.TeamFoundation.V...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,650
tvfc
# TFS API: GetLocalWorkspaceInfo always returns null On one of my machines, I get a return value of null from any `GetLocalWorkspaceInfo` call. I have isolated to problem to where it even fails for this simple program: ``` namespace WorkstationTest { using Microsoft.TeamFoundation.VersionControl.Client; clas...
After migrating from TFS2013 to TFS2017 in the company I work for I had the same problem with Workstation.Current.GetLocalWorkspaceInfo. What worked for me is a call to [`Workstation.EnsureUpdateWorkspaceInfoCache`](https://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.versioncontrol.client.workstation.ens...
13205117
Build error in tfsbuild with database project
26
2012-11-03 01:27:27
<p>I have setup my <a href="http://en.wikipedia.org/wiki/.NET_Framework">.NET</a> project in TFS Build. It builds fine locally, but I am getting this build error on the server:</p> <blockquote> <p>The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\SSDT\Microsoft.Data.Tools.Schema.SqlTa...
19,571
373,674
2021-09-27 16:46:38
13,205,151
24
2012-11-03 01:34:58
30,225
2014-09-13 17:54:11
https://stackoverflow.com/q/13205117
https://stackoverflow.com/a/13205151
<p>You need to install the <a href="http://msdn.microsoft.com/en-us/data/tools.aspx" rel="noreferrer">SQL Server Data Tools</a> on <strong>all <a href="http://msdn.microsoft.com/en-us/library/bb399135.aspx" rel="noreferrer">build agents</a></strong>. When installing a TFS Build server, people often create agents to be ...
<p>You need to install the <a href="http://msdn.microsoft.com/en-us/data/tools.aspx" rel="noreferrer">SQL Server Data Tools</a> on <strong>all <a href="http://msdn.microsoft.com/en-us/library/bb399135.aspx" rel="noreferrer">build agents</a></strong>. When installing a TFS Build server, people often create agents to be ...
9240, 16341, 80825
database-project, tfsbuild, visual-studio-2012
<h1>Build error in tfsbuild with database project</h1> <p>I have setup my <a href="http://en.wikipedia.org/wiki/.NET_Framework">.NET</a> project in TFS Build. It builds fine locally, but I am getting this build error on the server:</p> <blockquote> <p>The imported project "C:\Program Files (x86)\MSBuild\Microsoft\Vi...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,651
tvfc
# Build error in tfsbuild with database project I have setup my [.NET](http://en.wikipedia.org/wiki/.NET_Framework) project in TFS Build. It builds fine locally, but I am getting this build error on the server: > The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\SSDT\Microsoft.Data.Too...
You need to install the [SQL Server Data Tools](http://msdn.microsoft.com/en-us/data/tools.aspx) on **all [build agents](http://msdn.microsoft.com/en-us/library/bb399135.aspx)**. When installing a TFS Build server, people often create agents to be on that or other machines. You can download them from the [MS SQL Serve...
2092863
TFS: Overwrite a branch with another
24
2010-01-19 10:49:08
<p>Is it possible overwrite a branch with another?</p> <p>Or is the only solution to delete branch B and make a new branch from Branch A?</p>
20,660
203,412
2015-10-21 23:09:03
2,094,439
24
2010-01-19 15:09:59
74,439
2015-10-21 23:09:03
https://stackoverflow.com/q/2092863
https://stackoverflow.com/a/2094439
<p>Unless you're running TFS 2010, I'd recommend using Merge + Resolve to bring the two branches back in sync. </p> <pre><code># cancel out of conflict dialog tf merge A B -r -force -version:T tf resolve B -r -auto:acceptTheirs </code></pre> <p>That should equalize everything, except for files that were only created...
<p>Unless you're running TFS 2010, I'd recommend using Merge + Resolve to bring the two branches back in sync. </p> <pre><code># cancel out of conflict dialog tf merge A B -r -force -version:T tf resolve B -r -auto:acceptTheirs </code></pre> <p>That should equalize everything, except for files that were only created...
733
tfs
<h1>TFS: Overwrite a branch with another</h1> <p>Is it possible overwrite a branch with another?</p> <p>Or is the only solution to delete branch B and make a new branch from Branch A?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,652
tvfc
# TFS: Overwrite a branch with another Is it possible overwrite a branch with another? Or is the only solution to delete branch B and make a new branch from Branch A?
Unless you're running TFS 2010, I'd recommend using Merge + Resolve to bring the two branches back in sync. ``` # cancel out of conflict dialog tf merge A B -r -force -version:T tf resolve B -r -auto:acceptTheirs ``` That should equalize everything, except for files that were only created in B and never merged back. ...
32434300
"Unable to find version" during TFS Build 2015 when restoring NuGet packages
18
2015-09-07 08:34:32
<p>I'm having troubles with NuGet package restoring during a TFS Build 2015.</p> <p>Since some packages require NuGet 3.x client, I've configured the new scriptable build to use a custom NuGet location where I've placed the executable of <em>NuGet Command-Line 3.x beta</em>.</p> <p>Whenever I run a build, all package...
23,694
411,632
2020-06-17 15:38:20
32,434,483
24
2015-09-07 08:44:54
411,632
2015-09-07 08:44:54
https://stackoverflow.com/q/32434300
https://stackoverflow.com/a/32434483
<p>In my case, the issue was that user-wide <code>NuGet.config</code> located at <code>C:\Users\[User name]\AppData\Roaming\NuGet\NuGet.config</code> (where <code>[User name]</code> is the user who's running the build agent's Windows service) was pointing to NuGet API v2 <a href="https://stackoverflow.com/questions/323...
<p>In my case, the issue was that user-wide <code>NuGet.config</code> located at <code>C:\Users\[User name]\AppData\Roaming\NuGet\NuGet.config</code> (where <code>[User name]</code> is the user who's running the build agent's Windows service) was pointing to NuGet API v2 <a href="https://stackoverflow.com/questions/323...
733, 33953, 62770, 108143, 110393
nuget, tfs, tfs-2015, visual-studio, visual-studio-2015
<h1>"Unable to find version" during TFS Build 2015 when restoring NuGet packages</h1> <p>I'm having troubles with NuGet package restoring during a TFS Build 2015.</p> <p>Since some packages require NuGet 3.x client, I've configured the new scriptable build to use a custom NuGet location where I've placed the executabl...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,653
tvfc
# "Unable to find version" during TFS Build 2015 when restoring NuGet packages I'm having troubles with NuGet package restoring during a TFS Build 2015. Since some packages require NuGet 3.x client, I've configured the new scriptable build to use a custom NuGet location where I've placed the executable of *NuGet Comm...
In my case, the issue was that user-wide `NuGet.config` located at `C:\Users\[User name]\AppData\Roaming\NuGet\NuGet.config` (where `[User name]` is the user who's running the build agent's Windows service) was pointing to NuGet API v2 [while my build is already using *NuGet Command-Line 3.x*](https://stackoverflow.com...
1446758
Edit other users' alerts for a project in TFS
20
2009-09-18 20:44:50
<p>I am unexpectedly taking over for the previous administrator of our TFS system who left the company rather abruptly. I was made an admin of TFS and on the TFS application server before this happened, but there is still at least one thing I can't figure out. It seems there are some alerts set up under the previous ...
11,866
78,162
2017-02-22 16:41:01
1,448,473
23
2009-09-19 12:31:09
6,438
2009-09-19 12:31:09
https://stackoverflow.com/q/1446758
https://stackoverflow.com/a/1448473
<p>Welcome to the world of TFS - sorry that your baptism is going to be one of fire.</p> <p>You are correct to be wary of editing the database directly - always best avoided with TFS. The <a href="http://www.codeplex.com/tfseventsubscription" rel="noreferrer">TFS Event Subscription tool</a> (originally crafted <a hre...
<p>Welcome to the world of TFS - sorry that your baptism is going to be one of fire.</p> <p>You are correct to be wary of editing the database directly - always best avoided with TFS. The <a href="http://www.codeplex.com/tfseventsubscription" rel="noreferrer">TFS Event Subscription tool</a> (originally crafted <a hre...
733
tfs
<h1>Edit other users' alerts for a project in TFS</h1> <p>I am unexpectedly taking over for the previous administrator of our TFS system who left the company rather abruptly. I was made an admin of TFS and on the TFS application server before this happened, but there is still at least one thing I can't figure out. It...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,656
tvfc
# Edit other users' alerts for a project in TFS I am unexpectedly taking over for the previous administrator of our TFS system who left the company rather abruptly. I was made an admin of TFS and on the TFS application server before this happened, but there is still at least one thing I can't figure out. It seems ther...
Welcome to the world of TFS - sorry that your baptism is going to be one of fire. You are correct to be wary of editing the database directly - always best avoided with TFS. The [TFS Event Subscription tool](http://www.codeplex.com/tfseventsubscription) (originally crafted [by this sites creator](http://www.codinghorr...
122154
How can I disable work item creation at the end of a failed Team Foundation Build?
13
2008-09-23 16:32:10
<p>I'm using Team Foundation Build but we aren't yet using TFS for problem tracking, so I would like to disable the work item creation on a failed build. Is there any way to do this? I tried commenting out the work item info in the TFSBuild.proj file for the build type but that didn't do the trick.</p>
2,647
327
2018-07-19 10:59:08
122,660
23
2008-09-23 18:03:02
10,046
2008-09-23 18:03:02
https://stackoverflow.com/q/122154
https://stackoverflow.com/a/122660
<p>Try adding this inside the PropertyGroup in your TFSBuild.proj:</p> <pre><code>&lt;SkipWorkItemCreation&gt;true&lt;/SkipWorkItemCreation&gt; </code></pre> <hr> <p>If you are curious as to how this works, Microsoft.TeamFoundation.Build.targets contians the following:</p> <pre><code> &lt;Target Name="CoreCreateWo...
<p>Try adding this inside the PropertyGroup in your TFSBuild.proj:</p> <pre><code>&lt;SkipWorkItemCreation&gt;true&lt;/SkipWorkItemCreation&gt; </code></pre> <hr> <p>If you are curious as to how this works, Microsoft.TeamFoundation.Build.targets contians the following:</p> <pre><code> &lt;Target Name="CoreCreateWo...
265, 733, 16341
msbuild, tfs, tfsbuild
<h1>How can I disable work item creation at the end of a failed Team Foundation Build?</h1> <p>I'm using Team Foundation Build but we aren't yet using TFS for problem tracking, so I would like to disable the work item creation on a failed build. Is there any way to do this? I tried commenting out the work item info in ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,657
tvfc
# How can I disable work item creation at the end of a failed Team Foundation Build? I'm using Team Foundation Build but we aren't yet using TFS for problem tracking, so I would like to disable the work item creation on a failed build. Is there any way to do this? I tried commenting out the work item info in the TFSBu...
Try adding this inside the PropertyGroup in your TFSBuild.proj: ``` <SkipWorkItemCreation>true</SkipWorkItemCreation> ``` --- If you are curious as to how this works, Microsoft.TeamFoundation.Build.targets contians the following: ``` <Target Name="CoreCreateWorkItem" Condition=" '$(SkipWorkItemCreation)...
34393047
Microsoft Azure Tools: Port conflict with existing application?
10
2015-12-21 10:01:11
<p>I am using TFS a azure application in server, and I found this error , I couldn't resolve this since then,</p> <pre><code>Microsoft Azure Tools: Failed to initialize Microsoft Azure storage emulator. Port conflict with existing application. </code></pre> <p>Can anyone please help me in providing me steps to resolv...
10,128
4,388,503
2015-12-29 12:30:37
34,396,080
23
2015-12-21 12:47:46
3,203,213
2015-12-21 14:15:41
https://stackoverflow.com/q/34393047
https://stackoverflow.com/a/34396080
<p>By default, Azure storage emulator is using port number <strong>10000</strong>, <strong>10001</strong>, <strong>10002</strong> for Blob, Queue and Table services respectively.</p> <p>If you have existing applications using these port numbers and can't be changed, you can resolve the port conflict by changing Azure ...
<p>By default, Azure storage emulator is using port number <strong>10000</strong>, <strong>10001</strong>, <strong>10002</strong> for Blob, Queue and Table services respectively.</p> <p>If you have existing applications using these port numbers and can't be changed, you can resolve the port conflict by changing Azure ...
733, 14158, 35808, 81523, 114615
azure, azure-blob-storage, azure-storage, azure-storage-emulator, tfs
<h1>Microsoft Azure Tools: Port conflict with existing application?</h1> <p>I am using TFS a azure application in server, and I found this error , I couldn't resolve this since then,</p> <pre><code>Microsoft Azure Tools: Failed to initialize Microsoft Azure storage emulator. Port conflict with existing application. </...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,658
tvfc
# Microsoft Azure Tools: Port conflict with existing application? I am using TFS a azure application in server, and I found this error , I couldn't resolve this since then, ``` Microsoft Azure Tools: Failed to initialize Microsoft Azure storage emulator. Port conflict with existing application. ``` Can anyone please...
By default, Azure storage emulator is using port number **10000**, **10001**, **10002** for Blob, Queue and Table services respectively. If you have existing applications using these port numbers and can't be changed, you can resolve the port conflict by changing Azure storage emulator default port numbers to avoid po...
10442099
TFS Power Tools: Shell Extension : Context Menu Quirky and TFS Icons on Files/Folders missing
34
2012-05-04 02:58:33
<p>I've used <a href="http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f">TFS Power Tools</a> on a daily basis for several months. I particularly depend on Windows Shell Extension.</p> <p>For about a week now, two issues have come up:</p> <hr> <h1>Issue 1</h1> <p>Every time I enter ...
40,295
250,385
2013-06-15 02:29:27
10,448,725
22
2012-05-04 12:21:46
383,710
2012-05-04 12:21:46
https://stackoverflow.com/q/10442099
https://stackoverflow.com/a/10448725
<p>The missing green icons can be explained <a href="http://blogs.msdn.com/b/youhana/archive/2012/01/09/why-am-i-not-seeing-the-icon-overlays-in-shell-extensions-tfs-power-tools.aspx" rel="noreferrer">here</a>. It is because Windows has a limit of overlay icons it supports. The details on how to fix it are in that blog...
<p>The missing green icons can be explained <a href="http://blogs.msdn.com/b/youhana/archive/2012/01/09/why-am-i-not-seeing-the-icon-overlays-in-shell-extensions-tfs-power-tools.aspx" rel="noreferrer">here</a>. It is because Windows has a limit of overlay icons it supports. The details on how to fix it are in that blog...
733, 50162
tfs, tfs-power-tools
<h1>TFS Power Tools: Shell Extension : Context Menu Quirky and TFS Icons on Files/Folders missing</h1> <p>I've used <a href="http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f">TFS Power Tools</a> on a daily basis for several months. I particularly depend on Windows Shell Extension.</p>...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,659
tvfc
# TFS Power Tools: Shell Extension : Context Menu Quirky and TFS Icons on Files/Folders missing I've used [TFS Power Tools](http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f) on a daily basis for several months. I particularly depend on Windows Shell Extension. For about a week now, t...
The missing green icons can be explained [here](http://blogs.msdn.com/b/youhana/archive/2012/01/09/why-am-i-not-seeing-the-icon-overlays-in-shell-extensions-tfs-power-tools.aspx). It is because Windows has a limit of overlay icons it supports. The details on how to fix it are in that blog post. How long are you waitin...
16863267
Could not load file or assembly 'Microsoft.WindowsAzure.ServiceRuntime, Version=2.0.0.0
20
2013-05-31 18:05:37
<p>We are using Azure SDK 1.8 and it working fine on local. we are using TFS hosted build controller to deploy on azure.</p> <p>It was working fine before but sudden today we getting this error although we have no azure sdk dll version changed but online we get this error. Is this because of TFS build controller upgra...
50,925
389,200
2017-02-27 23:04:33
16,866,223
22
2013-05-31 21:24:13
249,895
2013-05-31 21:24:13
https://stackoverflow.com/q/16863267
https://stackoverflow.com/a/16866223
<p>If everything else fails, and the correct DLL is deployed in the bin, try adding an assembly binding redirect in the web.config:</p> <pre><code>&lt;dependentAssembly&gt; &lt;assemblyIdentity name="Microsoft.WindowsAzure.ServiceRuntime" publicKeyToken="31bf3856ad364e35" /&gt; &lt;bindingRedirect oldVersion="2.0....
<p>If everything else fails, and the correct DLL is deployed in the bin, try adding an assembly binding redirect in the web.config:</p> <pre><code>&lt;dependentAssembly&gt; &lt;assemblyIdentity name="Microsoft.WindowsAzure.ServiceRuntime" publicKeyToken="31bf3856ad364e35" /&gt; &lt;bindingRedirect oldVersion="2.0....
14158, 16341, 81524
azure, azure-sdk-.net, tfsbuild
<h1>Could not load file or assembly 'Microsoft.WindowsAzure.ServiceRuntime, Version=2.0.0.0</h1> <p>We are using Azure SDK 1.8 and it working fine on local. we are using TFS hosted build controller to deploy on azure.</p> <p>It was working fine before but sudden today we getting this error although we have no azure sd...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,660
tvfc
# Could not load file or assembly 'Microsoft.WindowsAzure.ServiceRuntime, Version=2.0.0.0 We are using Azure SDK 1.8 and it working fine on local. we are using TFS hosted build controller to deploy on azure. It was working fine before but sudden today we getting this error although we have no azure sdk dll version ch...
If everything else fails, and the correct DLL is deployed in the bin, try adding an assembly binding redirect in the web.config: ``` <dependentAssembly> <assemblyIdentity name="Microsoft.WindowsAzure.ServiceRuntime" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="2.0.0.0" newVersion="1.8.0.0" /> ...
8322728
TFS2010 - Wrong changeset appearing at SourceGetVersion
20
2011-11-30 07:57:49
<p>I am currently setting up a Team Foundation Server 2010 and I found a very strange behavior when performing a build:</p> <p>The situation explained: We have 2 Branches </p> <ul> <li>Development</li> <li>Main</li> </ul> <p>All developers check in code into the Development branch only. Once per day, the build manag...
3,972
490,230
2016-11-11 20:00:39
8,429,596
22
2011-12-08 10:36:27
490,230
2011-12-09 10:08:44
https://stackoverflow.com/q/8322728
https://stackoverflow.com/a/8429596
<p>Finally I found out what is going on:</p> <p>Basically The changeset that can be seen in my picture 1 is always the latest changeset of the entire <strong>Team Project Collection</strong>. It is the property "SourceGetVersion" on the object "BuildDetails" of type "IBuildDetails".</p> <p>I think this is a bug which...
<p>Finally I found out what is going on:</p> <p>Basically The changeset that can be seen in my picture 1 is always the latest changeset of the entire <strong>Team Project Collection</strong>. It is the property "SourceGetVersion" on the object "BuildDetails" of type "IBuildDetails".</p> <p>I think this is a bug which...
733, 1783
build-process, tfs
<h1>TFS2010 - Wrong changeset appearing at SourceGetVersion</h1> <p>I am currently setting up a Team Foundation Server 2010 and I found a very strange behavior when performing a build:</p> <p>The situation explained: We have 2 Branches </p> <ul> <li>Development</li> <li>Main</li> </ul> <p>All developers check in cod...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,661
tvfc
# TFS2010 - Wrong changeset appearing at SourceGetVersion I am currently setting up a Team Foundation Server 2010 and I found a very strange behavior when performing a build: The situation explained: We have 2 Branches - Development - Main All developers check in code into the Development branch only. Once per day,...
Finally I found out what is going on: Basically The changeset that can be seen in my picture 1 is always the latest changeset of the entire **Team Project Collection**. It is the property "SourceGetVersion" on the object "BuildDetails" of type "IBuildDetails". I think this is a bug which can be worked around: If you ...
4690217
How to programmatically get information about branches in TFS?
19
2011-01-14 10:46:05
<p>I need to programmatically find out information about branches in TFS. For instance the main thing i am interested is given root folder <strong>$/MyProject/Project1</strong> I neeed to find out what other folders have been branched from it. I am just after the right API methods.</p> <p>Say i have connection to TFS ...
14,145
207,047
2014-04-28 04:11:14
4,692,316
22
2011-01-14 14:53:31
345,708
2011-09-24 00:49:36
https://stackoverflow.com/q/4690217
https://stackoverflow.com/a/4692316
<p>Ok, this was both easier and more difficult than I thought it would be. I was able to pull this together from a few different sources, but this seems to work. I will warn you, there's no error handling here, and if the itemSpec doesn't exist, it bombs with an exception.</p> <pre><code>using System; using System.C...
<p>Ok, this was both easier and more difficult than I thought it would be. I was able to pull this together from a few different sources, but this seems to work. I will warn you, there's no error handling here, and if the itemSpec doesn't exist, it bombs with an exception.</p> <pre><code>using System; using System.C...
1, 733, 32354
.net, tfs, tfs-sdk
<h1>How to programmatically get information about branches in TFS?</h1> <p>I need to programmatically find out information about branches in TFS. For instance the main thing i am interested is given root folder <strong>$/MyProject/Project1</strong> I neeed to find out what other folders have been branched from it. I am...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,662
tvfc
# How to programmatically get information about branches in TFS? I need to programmatically find out information about branches in TFS. For instance the main thing i am interested is given root folder **$/MyProject/Project1** I neeed to find out what other folders have been branched from it. I am just after the right ...
Ok, this was both easier and more difficult than I thought it would be. I was able to pull this together from a few different sources, but this seems to work. I will warn you, there's no error handling here, and if the itemSpec doesn't exist, it bombs with an exception. ``` using System; using System.Collections.Gener...
46352126
How to revert git pull request in Visual Studio online?
16
2017-09-21 19:48:57
<p>A team member made a pull request using git for visual studio online. It was approved and merged in successfully, however we would like to undo that and revert to the state of the branch prior to the PR. </p> <p>Locally, I'm aware of a way to do this. It would be to get a version of our master branch, revert to the...
27,924
3,169,706
2021-10-05 15:26:48
46,357,479
22
2017-09-22 05:33:32
7,466,674
2017-09-22 05:33:32
https://stackoverflow.com/q/46352126
https://stackoverflow.com/a/46357479
<p>You can revert the completed pull request directly in VSTS:</p> <ol> <li>Navigate to the completed Pull Request : Code >> Pull Request >> Completed</li> <li>Select and open the Pull Request which you want to be reverted.</li> <li>Click <strong>More Actions</strong> (Behind the <code>Delete source Branch</code> butt...
<p>You can revert the completed pull request directly in VSTS:</p> <ol> <li>Navigate to the completed Pull Request : Code >> Pull Request >> Completed</li> <li>Select and open the Pull Request which you want to be reverted.</li> <li>Click <strong>More Actions</strong> (Behind the <code>Delete source Branch</code> butt...
119, 733, 33953
git, tfs, visual-studio
<h1>How to revert git pull request in Visual Studio online?</h1> <p>A team member made a pull request using git for visual studio online. It was approved and merged in successfully, however we would like to undo that and revert to the state of the branch prior to the PR. </p> <p>Locally, I'm aware of a way to do this....
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,663
tvfc
# How to revert git pull request in Visual Studio online? A team member made a pull request using git for visual studio online. It was approved and merged in successfully, however we would like to undo that and revert to the state of the branch prior to the PR. Locally, I'm aware of a way to do this. It would be to g...
You can revert the completed pull request directly in VSTS: 1. Navigate to the completed Pull Request : Code >> Pull Request >> Completed 2. Select and open the Pull Request which you want to be reverted. 3. Click **More Actions** (Behind the `Delete source Branch` button) >> **Revert** 4. Click **Revert** on th...
11760851
Command line "get latest" from TFS without mapping workspaces and such
15
2012-08-01 13:54:51
<p>I assume that this:</p> <pre><code>tf.exe get $/project /recursive </code></pre> <p>...needs this weird workspace mapping, known TFS server and such.</p> <p>Is there any way I could do this simplest thing: go connect to <em>this</em> TFS server using <em>this</em> set of credentials, get latest source code for <e...
24,508
60,188
2018-06-04 20:45:08
11,843,259
22
2012-08-07 09:45:14
7,093
2012-08-07 10:03:46
https://stackoverflow.com/q/11760851
https://stackoverflow.com/a/11843259
<p>Firstly, are you wanting a copy of the controlled files that are no longer under source-control (such as a SVN export) or are you still hoping to work with the files and TFS?</p> <h3>Option 1: No Binding at all</h3> <p>If you simply want a copy of the latest files and no 'binding' to TFS, you're going to have to ...
<p>Firstly, are you wanting a copy of the controlled files that are no longer under source-control (such as a SVN export) or are you still hoping to work with the files and TFS?</p> <h3>Option 1: No Binding at all</h3> <p>If you simply want a copy of the latest files and no 'binding' to TFS, you're going to have to ...
733, 1362
automation, tfs
<h1>Command line "get latest" from TFS without mapping workspaces and such</h1> <p>I assume that this:</p> <pre><code>tf.exe get $/project /recursive </code></pre> <p>...needs this weird workspace mapping, known TFS server and such.</p> <p>Is there any way I could do this simplest thing: go connect to <em>this</em> ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,666
tvfc
# Command line "get latest" from TFS without mapping workspaces and such I assume that this: ``` tf.exe get $/project /recursive ``` ...needs this weird workspace mapping, known TFS server and such. Is there any way I could do this simplest thing: go connect to *this* TFS server using *this* set of credentials, get...
Firstly, are you wanting a copy of the controlled files that are no longer under source-control (such as a SVN export) or are you still hoping to work with the files and TFS? ### Option 1: No Binding at all If you simply want a copy of the latest files and no 'binding' to TFS, you're going to have to do a little work...
48352984
Visual Studio creating multiple/ additional workspaces
11
2018-01-20 05:38:50
<p>I started using TFS since VS2010. By that time I already created my own TFS server (myname.visualstudio.com). My problem is that I created a new project on the my TFS website (the one with the dashboards). Then when I go to VS2017, and connect to that new project, it asks me to map and get it as expected. Instead of...
5,287
9,243,183
2022-09-19 07:57:19
48,355,207
22
2018-01-20 10:50:19
736,079
2019-06-06 14:57:40
https://stackoverflow.com/q/48352984
https://stackoverflow.com/a/48355207
<p>Workspaces are maybe the least well-understood feature in TFVC. And you are right in saying they're a way to isolate different sets of files from a TFVC repository.</p> <p>A lot of people configure a new workspace for a specific project or set of solutions, but let's look at some of the ways workspaces can be used ...
<p>Workspaces are maybe the least well-understood feature in TFVC. And you are right in saying they're a way to isolate different sets of files from a TFVC repository.</p> <p>A lot of people configure a new workspace for a specific project or set of solutions, but let's look at some of the ways workspaces can be used ...
733, 33953, 104161, 116537, 123095
azure-devops, tfs, tfvc, visual-studio, visual-studio-2017
<h1>Visual Studio creating multiple/ additional workspaces</h1> <p>I started using TFS since VS2010. By that time I already created my own TFS server (myname.visualstudio.com). My problem is that I created a new project on the my TFS website (the one with the dashboards). Then when I go to VS2017, and connect to that n...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,667
tvfc
# Visual Studio creating multiple/ additional workspaces I started using TFS since VS2010. By that time I already created my own TFS server (myname.visualstudio.com). My problem is that I created a new project on the my TFS website (the one with the dashboards). Then when I go to VS2017, and connect to that new projec...
Workspaces are maybe the least well-understood feature in TFVC. And you are right in saying they're a way to isolate different sets of files from a TFVC repository. A lot of people configure a new workspace for a specific project or set of solutions, but let's look at some of the ways workspaces can be used in detail:...
19184744
Rejected by Server TFS Error
6
2013-10-04 15:11:04
<p>I am building an application but getting an error. Can someone help me to understand how to resolve this? </p> <blockquote> <p>Exception Message: The request was rejected by the server.Technical information: HTTP code 400: Bad Request (type TeamFoundationServerInvalidRequestException)Exception Stack Trace:<b...
5,724
2,155,760
2017-07-16 13:04:48
19,947,112
22
2013-11-13 06:42:44
351,511
2013-11-13 06:42:44
https://stackoverflow.com/q/19184744
https://stackoverflow.com/a/19947112
<p>I've just ran into the same issue with TFS2013 and our CI builds.</p> <p>It seems that the error happens with the Test Impact analyser fails somehow. </p> <p>You can alter your build configuration to not analyse the test impact.</p> <p>It depends on which build template you are using, but for Scrum 2013, you'll f...
<p>I've just ran into the same issue with TFS2013 and our CI builds.</p> <p>It seems that the error happens with the Test Impact analyser fails somehow. </p> <p>You can alter your build configuration to not analyse the test impact.</p> <p>It depends on which build template you are using, but for Scrum 2013, you'll f...
733
tfs
<h1>Rejected by Server TFS Error</h1> <p>I am building an application but getting an error. Can someone help me to understand how to resolve this? </p> <blockquote> <p>Exception Message: The request was rejected by the server.Technical information: HTTP code 400: Bad Request (type TeamFoundationServerInvalidReq...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,668
tvfc
# Rejected by Server TFS Error I am building an application but getting an error. Can someone help me to understand how to resolve this? > Exception Message: The request was rejected by the server.Technical > information: HTTP code 400: Bad Request (type > TeamFoundationServerInvalidRequestException)Exception Stack T...
I've just ran into the same issue with TFS2013 and our CI builds. It seems that the error happens with the Test Impact analyser fails somehow. You can alter your build configuration to not analyse the test impact. It depends on which build template you are using, but for Scrum 2013, you'll find it under It's under: ...
925875
How do I find and view a TFS changeset by comment text?
141
2009-05-29 13:10:48
<p>With TFS I need to find a changeset by comment, and/or by developer. Maybe I'm just blind today, but I don't see a simple way in the Source Control Explorer to do this task?</p>
62,747
81,514
2022-02-08 20:33:05
960,724
21
2009-06-06 22:42:58
74,439
2015-04-15 09:28:25
https://stackoverflow.com/q/925875
https://stackoverflow.com/a/960724
<p>With the Power Tools installed:</p> <pre><code>tf history $/ -r | ? { $_.comment -like '*findme*' } </code></pre>
<p>With the Power Tools installed:</p> <pre><code>tf history $/ -r | ? { $_.comment -like '*findme*' } </code></pre>
733, 104161
tfs, tfvc
<h1>How do I find and view a TFS changeset by comment text?</h1> <p>With TFS I need to find a changeset by comment, and/or by developer. Maybe I'm just blind today, but I don't see a simple way in the Source Control Explorer to do this task?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,669
tvfc
# How do I find and view a TFS changeset by comment text? With TFS I need to find a changeset by comment, and/or by developer. Maybe I'm just blind today, but I don't see a simple way in the Source Control Explorer to do this task?
With the Power Tools installed: ``` tf history $/ -r | ? { $_.comment -like '*findme*' } ```
44178141
Connect VS code with TFS on mac
21
2017-05-25 10:25:34
<p>How to connect <strong>Visual Studio Code</strong> on <strong>mac</strong> with <strong>Team Foundation Server</strong>(TFS).</p> <p>Or any other way to connect with tfs?</p>
34,563
5,375,503
2025-05-04 07:40:03
47,006,473
21
2017-10-29 23:54:36
2,816,119
2018-03-15 20:46:40
https://stackoverflow.com/q/44178141
https://stackoverflow.com/a/47006473
<p>This are the steps to effectively connect a TFS (TFVC) Repository to your VS Code on Mac:</p> <p><strong>INSTALL THE SOFTWARE</strong></p> <ol> <li>Install Visual Studio Code for Mac (currently here: <a href="https://code.visualstudio.com/download" rel="noreferrer">https://code.visualstudio.com/download</a>).</li>...
<p>This are the steps to effectively connect a TFS (TFVC) Repository to your VS Code on Mac:</p> <p><strong>INSTALL THE SOFTWARE</strong></p> <ol> <li>Install Visual Studio Code for Mac (currently here: <a href="https://code.visualstudio.com/download" rel="noreferrer">https://code.visualstudio.com/download</a>).</li>...
369, 733, 111608
macos, tfs, visual-studio-code
<h1>Connect VS code with TFS on mac</h1> <p>How to connect <strong>Visual Studio Code</strong> on <strong>mac</strong> with <strong>Team Foundation Server</strong>(TFS).</p> <p>Or any other way to connect with 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,670
tvfc
# Connect VS code with TFS on mac How to connect **Visual Studio Code** on **mac** with **Team Foundation Server**(TFS). Or any other way to connect with tfs?
This are the steps to effectively connect a TFS (TFVC) Repository to your VS Code on Mac: **INSTALL THE SOFTWARE** 1. Install Visual Studio Code for Mac (currently here: <https://code.visualstudio.com/download>). 2. Install the TFS extension for VS Code: Go to the Extensions tab in VS Code, Search for TFS and install...
2073284
Import Visual Studio TFS workspaces
12
2010-01-15 16:50:44
<p>Is there a way to import Visual Studio TFS workspace, I have over 30 workspace and I need to import them to a TFS on new machine. Thanks</p>
7,643
24,958
2010-01-15 19:51:20
2,074,342
21
2010-01-15 19:51:20
74,439
2010-01-15 19:51:20
https://stackoverflow.com/q/2073284
https://stackoverflow.com/a/2074342
<p>If you want to clone the <em>structure</em> of your workspaces but leave the old ones alone, run</p> <pre><code>tf workspace /server:yourserver /new NewName /template:OldName;OldOwner </code></pre> <p><a href="http://msdn.microsoft.com/en-us/library/tzy14b58.aspx" rel="noreferrer">http://msdn.microsoft.com/en-us/l...
<p>If you want to clone the <em>structure</em> of your workspaces but leave the old ones alone, run</p> <pre><code>tf workspace /server:yourserver /new NewName /template:OldName;OldOwner </code></pre> <p><a href="http://msdn.microsoft.com/en-us/library/tzy14b58.aspx" rel="noreferrer">http://msdn.microsoft.com/en-us/l...
422, 432, 733, 33953
import, tfs, visual-studio, workspace
<h1>Import Visual Studio TFS workspaces</h1> <p>Is there a way to import Visual Studio TFS workspace, I have over 30 workspace and I need to import them to a TFS on new machine. Thanks</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,672
tvfc
# Import Visual Studio TFS workspaces Is there a way to import Visual Studio TFS workspace, I have over 30 workspace and I need to import them to a TFS on new machine. Thanks
If you want to clone the *structure* of your workspaces but leave the old ones alone, run ``` tf workspace /server:yourserver /new NewName /template:OldName;OldOwner ``` <http://msdn.microsoft.com/en-us/library/tzy14b58.aspx> If you want to *permanently migrate* your workspaces from one machine to another, run... `...
47818235
MSBuild /t:pack Nuget-Package has always the same Version
11
2017-12-14 16:39:18
<p>I am creating a nuget-package with <code>/t:pack</code> in my TFS-Build. I can't the use Nuget-Pack-Step, because I am using </p> <pre><code>&lt;TargetFramework&gt;netstandard2.0&lt;/TargetFramework&gt; </code></pre> <p>How can I apply my <code>AssemblyVersion</code> on the Nuget-Package? Because my Assembly-Versi...
9,197
3,072,101
2019-12-03 11:22:19
47,819,996
21
2017-12-14 18:33:10
784,387
2019-12-03 11:22:19
https://stackoverflow.com/q/47818235
https://stackoverflow.com/a/47819996
<p>The MSBuild-integrated <code>Pack</code> target reads its value from MSBuild properties inside the project (<code>PackageVersion</code> to be specific, which is defaulted from <code>Version</code>, which in turn is defaulted to <code>VersionPrefix</code> which in turn may be suffixed by <code>VersionSuffix</code>).<...
<p>The MSBuild-integrated <code>Pack</code> target reads its value from MSBuild properties inside the project (<code>PackageVersion</code> to be specific, which is defaulted from <code>Version</code>, which in turn is defaulted to <code>VersionPrefix</code> which in turn may be suffixed by <code>VersionSuffix</code>).<...
265, 733, 108163
.net-core, msbuild, tfs
<h1>MSBuild /t:pack Nuget-Package has always the same Version</h1> <p>I am creating a nuget-package with <code>/t:pack</code> in my TFS-Build. I can't the use Nuget-Pack-Step, because I am using </p> <pre><code>&lt;TargetFramework&gt;netstandard2.0&lt;/TargetFramework&gt; </code></pre> <p>How can I apply my <code>Ass...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,673
tvfc
# MSBuild /t:pack Nuget-Package has always the same Version I am creating a nuget-package with `/t:pack` in my TFS-Build. I can't the use Nuget-Pack-Step, because I am using ``` <TargetFramework>netstandard2.0</TargetFramework> ``` How can I apply my `AssemblyVersion` on the Nuget-Package? Because my Assembly-Versio...
The MSBuild-integrated `Pack` target reads its value from MSBuild properties inside the project (`PackageVersion` to be specific, which is defaulted from `Version`, which in turn is defaulted to `VersionPrefix` which in turn may be suffixed by `VersionSuffix`). There is out-of-the-box support for reading this value fr...
12267164
NTFS/GPT Mount exited with Exit Code 13
6
2012-09-04 15:53:59
<p>This is a duplicated post since I didn't get any help on askubuntu.com.</p> <p>I have a 1TB external hard drive that I recently formatted to NTFS. It was mounting on my Ubuntu 11.10 fine until just now. I didn't make any changes to affect my OS or my exhdd.</p> <p>The error that I get is:</p> <pre><code>Error mou...
11,722
957,560
2021-04-10 08:36:37
12,984,341
21
2012-10-20 01:01:16
957,560
2012-10-20 01:01:16
https://stackoverflow.com/q/12267164
https://stackoverflow.com/a/12984341
<p>This is the thing that worked:</p> <ol> <li>I first needed to get <code>ntfs-3g</code> (<code>sudo apt-get install ntfs-3g</code>)</li> <li>Run <code>sudo fdisk -l</code> to figure out where the mount point is. Mine was <code>/dev/sdb1</code></li> <li>I ran <code>ntfsfix -b /dev/sdb1</code> and that fixed the probl...
<p>This is the thing that worked:</p> <ol> <li>I first needed to get <code>ntfs-3g</code> (<code>sudo apt-get install ntfs-3g</code>)</li> <li>Run <code>sudo fdisk -l</code> to figure out where the mount point is. Mine was <code>/dev/sdb1</code></li> <li>I ran <code>ntfsfix -b /dev/sdb1</code> and that fixed the probl...
1678, 3176, 5313, 23251, 74581
external, hard-drive, mount, ntfs, ubuntu-11.10
<h1>NTFS/GPT Mount exited with Exit Code 13</h1> <p>This is a duplicated post since I didn't get any help on askubuntu.com.</p> <p>I have a 1TB external hard drive that I recently formatted to NTFS. It was mounting on my Ubuntu 11.10 fine until just now. I didn't make any changes to affect my OS or my exhdd.</p> <p>T...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,676
tvfc
# NTFS/GPT Mount exited with Exit Code 13 This is a duplicated post since I didn't get any help on askubuntu.com. I have a 1TB external hard drive that I recently formatted to NTFS. It was mounting on my Ubuntu 11.10 fine until just now. I didn't make any changes to affect my OS or my exhdd. The error that I get is:...
This is the thing that worked: 1. I first needed to get `ntfs-3g` (`sudo apt-get install ntfs-3g`) 2. Run `sudo fdisk -l` to figure out where the mount point is. Mine was `/dev/sdb1` 3. I ran `ntfsfix -b /dev/sdb1` and that fixed the problem.
3764072
C++/Win32: How to wait for a pending delete to complete
39
2010-09-21 20:10:03
<p><strong>Solved:</strong></p> <ul> <li>Workable solution: <a href="https://stackoverflow.com/questions/3764072/c-win32-how-to-wait-for-a-pending-delete-to-complete/3764298#3764298">sbi's answer</a></li> <li>Explanation for what really happens: <a href="https://stackoverflow.com/questions/3764072/c-win32-how-to-wait-...
19,205
112,755
2020-03-12 11:27:10
3,764,298
20
2010-09-21 20:39:51
140,719
2019-09-01 11:38:28
https://stackoverflow.com/q/3764072
https://stackoverflow.com/a/3764298
<p>First rename the file to be deleted, and then delete it.</p> <p>Use <code>GetTempFileName()</code> to obtain a unique name, and then use <code>MoveFile()</code> to rename the file. Then delete the renamed file. If the actual deletion is indeed asynchronous and might conflict with the creation of the same file (as y...
<p>First rename the file to be deleted, and then delete it.</p> <p>Use <code>GetTempFileName()</code> to obtain a unique name, and then use <code>MoveFile()</code> to rename the file. Then delete the renamed file. If the actual deletion is indeed asynchronous and might conflict with the creation of the same file (as y...
10, 724, 889, 3176
c++, file-io, ntfs, winapi
<h1>C++/Win32: How to wait for a pending delete to complete</h1> <p><strong>Solved:</strong></p> <ul> <li>Workable solution: <a href="https://stackoverflow.com/questions/3764072/c-win32-how-to-wait-for-a-pending-delete-to-complete/3764298#3764298">sbi's answer</a></li> <li>Explanation for what really happens: <a href=...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,677
tvfc
# C++/Win32: How to wait for a pending delete to complete **Solved:** - Workable solution: [sbi's answer](https://stackoverflow.com/questions/3764072/c-win32-how-to-wait-for-a-pending-delete-to-complete/3764298#3764298) - Explanation for what really happens: [Hans's answer](https://stackoverflow.com/questions/3764072...
First rename the file to be deleted, and then delete it. Use `GetTempFileName()` to obtain a unique name, and then use `MoveFile()` to rename the file. Then delete the renamed file. If the actual deletion is indeed asynchronous and might conflict with the creation of the same file (as your tests seems to indicate), th...
2322604
Team Build: The path 'Path' is already mapped in workspace 'workspace' error even after deleting all workspaces on build agent
25
2010-02-23 23:32:40
<p>I have this problem when I queue a build. The build dies with the error</p> <blockquote> <p>The path C:\[Path]\Sources is already mapped in workspace [Server Name].</p> </blockquote> <p>the <a href="https://stackoverflow.com/questions/226288/team-build-error-the-path-is-already-mapped-to-workspace">same as this...
28,817
2,975
2018-11-15 23:30:51
2,339,562
20
2010-02-26 04:46:43
2,975
2010-02-26 04:46:43
https://stackoverflow.com/q/2322604
https://stackoverflow.com/a/2339562
<p>Ok, so the solution ended up being fairly similar to what YeahStu <a href="https://stackoverflow.com/questions/226288/team-build-error-the-path-is-already-mapped-to-workspace">posted on here</a>. I changed the Build Agent's working directory from </p> <pre><code>$(Temp)\UI\$(BuildDefinitionPath) </code></pre> <p>...
<p>Ok, so the solution ended up being fairly similar to what YeahStu <a href="https://stackoverflow.com/questions/226288/team-build-error-the-path-is-already-mapped-to-workspace">posted on here</a>. I changed the Build Agent's working directory from </p> <pre><code>$(Temp)\UI\$(BuildDefinitionPath) </code></pre> <p>...
422, 733, 16341
tfs, tfsbuild, workspace
<h1>Team Build: The path 'Path' is already mapped in workspace 'workspace' error even after deleting all workspaces on build agent</h1> <p>I have this problem when I queue a build. The build dies with the error</p> <blockquote> <p>The path C:\[Path]\Sources is already mapped in workspace [Server Name].</p> </blockq...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,678
tvfc
# Team Build: The path 'Path' is already mapped in workspace 'workspace' error even after deleting all workspaces on build agent I have this problem when I queue a build. The build dies with the error > The path C:\[Path]\Sources is already mapped in workspace [Server Name]. the [same as this question](https://stack...
Ok, so the solution ended up being fairly similar to what YeahStu [posted on here](https://stackoverflow.com/questions/226288/team-build-error-the-path-is-already-mapped-to-workspace). I changed the Build Agent's working directory from ``` $(Temp)\UI\$(BuildDefinitionPath) ``` to ``` $(Temp)\UI\$(BuildDefinitionPath...
7870041
Check if file system is case-insensitive in Python
20
2011-10-23 23:29:50
<p>Is there a simple way to check in Python if a file system is case insensitive? I'm thinking in particular of file systems like HFS+ (OSX) and NTFS (Windows), where you can access the same file as foo, Foo or FOO, even though the file case is preserved. </p>
5,185
742
2023-03-19 19:42:28
7,870,076
20
2011-10-23 23:38:38
148,870
2011-10-23 23:38:38
https://stackoverflow.com/q/7870041
https://stackoverflow.com/a/7870076
<pre><code>import os import tempfile # By default mkstemp() creates a file with # a name that begins with 'tmp' (lowercase) tmphandle, tmppath = tempfile.mkstemp() if os.path.exists(tmppath.upper()): # Case insensitive. else: # Case sensitive. </code></pre>
<pre><code>import os import tempfile # By default mkstemp() creates a file with # a name that begins with 'tmp' (lowercase) tmphandle, tmppath = tempfile.mkstemp() if os.path.exists(tmppath.upper()): # Case insensitive. else: # Case sensitive. </code></pre>
16, 99, 3176, 39560
filesystems, hfs+, ntfs, python
<h1>Check if file system is case-insensitive in Python</h1> <p>Is there a simple way to check in Python if a file system is case insensitive? I'm thinking in particular of file systems like HFS+ (OSX) and NTFS (Windows), where you can access the same file as foo, Foo or FOO, even though the file case is preserved. </p>...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,680
tvfc
# Check if file system is case-insensitive in Python Is there a simple way to check in Python if a file system is case insensitive? I'm thinking in particular of file systems like HFS+ (OSX) and NTFS (Windows), where you can access the same file as foo, Foo or FOO, even though the file case is preserved.
``` import os import tempfile # By default mkstemp() creates a file with # a name that begins with 'tmp' (lowercase) tmphandle, tmppath = tempfile.mkstemp() if os.path.exists(tmppath.upper()): # Case insensitive. else: # Case sensitive. ```
1041913
Find all locked files in TFS
19
2009-06-25 02:33:07
<p>I would like to see all files that are locked. so far, I've only found to use tf.exe status and look for anything with '!' because they are not reported as "lock, edit" as they are in the UI. Any ideas? thanks.</p>
17,750
94,995
2015-04-30 03:52:25
1,044,539
20
2009-06-25 15:19:33
74,439
2009-06-25 15:19:33
https://stackoverflow.com/q/1041913
https://stackoverflow.com/a/1044539
<p>If you have the <a href="http://msdn.microsoft.com/en-us/teamsystem/bb980963.aspx" rel="noreferrer">power tools</a> installed, it's a one-liner:</p> <pre><code>tfstatus . -r -user * | % { $_.pendingchanges } | ? { $_.islock } | select -unique serveritem </code></pre> <p>If you prefer GUIs to scripts, try <a href="...
<p>If you have the <a href="http://msdn.microsoft.com/en-us/teamsystem/bb980963.aspx" rel="noreferrer">power tools</a> installed, it's a one-liner:</p> <pre><code>tfstatus . -r -user * | % { $_.pendingchanges } | ? { $_.islock } | select -unique serveritem </code></pre> <p>If you prefer GUIs to scripts, try <a href="...
733, 26212
tf-cli, tfs
<h1>Find all locked files in TFS</h1> <p>I would like to see all files that are locked. so far, I've only found to use tf.exe status and look for anything with '!' because they are not reported as "lock, edit" as they are in the UI. Any ideas? thanks.</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,681
tvfc
# Find all locked files in TFS I would like to see all files that are locked. so far, I've only found to use tf.exe status and look for anything with '!' because they are not reported as "lock, edit" as they are in the UI. Any ideas? thanks.
If you have the [power tools](http://msdn.microsoft.com/en-us/teamsystem/bb980963.aspx) installed, it's a one-liner: ``` tfstatus . -r -user * | % { $_.pendingchanges } | ? { $_.islock } | select -unique serveritem ``` If you prefer GUIs to scripts, try [TFS Sidekicks](http://www.attrice.info/cm/tfs/).
33998669
Windows NTFS and case sensitivity
17
2015-11-30 12:26:22
<p>According to <a href="https://en.wikipedia.org/wiki/Case_sensitivity" rel="noreferrer">Wikipedia</a> NTFS allows two similar names with different case (like Readme.txt vs. readme.txt) and it is only prevented by the windows file API.</p> <blockquote> <p>Current Windows file systems, like NTFS, are case-sensitive; th...
15,113
2,695,344
2023-04-15 18:00:58
34,000,339
20
2015-11-30 13:58:01
1,621,659
2015-11-30 13:58:01
https://stackoverflow.com/q/33998669
https://stackoverflow.com/a/34000339
<p>NTFS is a case sensitive file system and treats files with the same name, but different case, as different files.</p> <p>The Windows API presents an abstraction of NTFS that makes it appear as a case preserving file system, and it does this via the <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/a...
<p>NTFS is a case sensitive file system and treats files with the same name, but different case, as different files.</p> <p>The Windows API presents an abstraction of NTFS that makes it appear as a case preserving file system, and it does this via the <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/a...
64, 99, 3176
filesystems, ntfs, windows
<h1>Windows NTFS and case sensitivity</h1> <p>According to <a href="https://en.wikipedia.org/wiki/Case_sensitivity" rel="noreferrer">Wikipedia</a> NTFS allows two similar names with different case (like Readme.txt vs. readme.txt) and it is only prevented by the windows file API.</p> <blockquote> <p>Current Windows file...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,682
tvfc
# Windows NTFS and case sensitivity According to [Wikipedia](https://en.wikipedia.org/wiki/Case_sensitivity) NTFS allows two similar names with different case (like Readme.txt vs. readme.txt) and it is only prevented by the windows file API. > Current Windows file systems, like NTFS, are case-sensitive; that is a rea...
NTFS is a case sensitive file system and treats files with the same name, but different case, as different files. The Windows API presents an abstraction of NTFS that makes it appear as a case preserving file system, and it does this via the [CreateFile](https://msdn.microsoft.com/en-us/library/windows/desktop/aa36385...
46421482
Is it able to ignore/disable the first step Get source in vNext Build?
16
2017-09-26 08:32:15
<p>Here is our situation-- sometimes we need to run a vNext build without needing to pull any source code from TFS server. </p> <p>But we don't want to change the workspace mappings. Is there a related setting simply <strong>ignore or disable the get source step</strong> in the build definition. Unlike any other task,...
5,583
6,270,584
2022-05-02 07:33:25
46,422,981
20
2017-09-26 09:43:24
5,391,065
2020-03-13 06:50:54
https://stackoverflow.com/q/46421482
https://stackoverflow.com/a/46422981
<p><strong>Update:</strong></p> <p>Now you should use below to avoid syncing sources at all:</p> <p><strong><em>Classic Editor:</em></strong> <code>agent.source.skip=true</code></p> <p><strong><em>YAML:</em></strong></p> <pre><code>steps: - checkout: none </code></pre> <hr> <p>It's not able to directly disable/re...
<p><strong>Update:</strong></p> <p>Now you should use below to avoid syncing sources at all:</p> <p><strong><em>Classic Editor:</em></strong> <code>agent.source.skip=true</code></p> <p><strong><em>YAML:</em></strong></p> <pre><code>steps: - checkout: none </code></pre> <hr> <p>It's not able to directly disable/re...
733, 16341, 123095
tfs, tfsbuild, visual-studio-2017
<h1>Is it able to ignore/disable the first step Get source in vNext Build?</h1> <p>Here is our situation-- sometimes we need to run a vNext build without needing to pull any source code from TFS server. </p> <p>But we don't want to change the workspace mappings. Is there a related setting simply <strong>ignore or disa...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,683
tvfc
# Is it able to ignore/disable the first step Get source in vNext Build? Here is our situation-- sometimes we need to run a vNext build without needing to pull any source code from TFS server. But we don't want to change the workspace mappings. Is there a related setting simply **ignore or disable the get source step...
**Update:** Now you should use below to avoid syncing sources at all: ***Classic Editor:*** `agent.source.skip=true` ***YAML:*** ``` steps: - checkout: none ``` --- It's not able to directly disable/remove the **Get Sources** task. However, you could **add a variable** to achieve it: **`Build.SyncSources = false...
48501426
TFS Build error MSB4126 (solution configuration is invalid) how to fix
14
2018-01-29 12:35:58
<p>I was working on migrating a website to a web project, I updated the project and everything is fine locally, I've switched to building the solution instead of the project. But when building on the build server, I'm getting an error message </p> <blockquote> <p>c:\agent_work\10\s\mySolution.sln.metaproj(0,0): Err...
31,705
234,954
2024-02-07 05:04:23
48,501,650
20
2018-01-29 12:47:13
234,954
2018-01-29 12:47:13
https://stackoverflow.com/q/48501426
https://stackoverflow.com/a/48501650
<p>The problem is simple as indicated in the error message. The configuration name does not match any of the configurations defined in the solution. </p> <p>The solution is likewise simple: either create a configuration that matches the name and add it to your solution, or change the configuration name being used to ...
<p>The problem is simple as indicated in the error message. The configuration name does not match any of the configurations defined in the solution. </p> <p>The solution is likewise simple: either create a configuration that matches the name and add it to your solution, or change the configuration name being used to ...
733, 1066
continuous-integration, tfs
<h1>TFS Build error MSB4126 (solution configuration is invalid) how to fix</h1> <p>I was working on migrating a website to a web project, I updated the project and everything is fine locally, I've switched to building the solution instead of the project. But when building on the build server, I'm getting an error mess...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,684
tvfc
# TFS Build error MSB4126 (solution configuration is invalid) how to fix I was working on migrating a website to a web project, I updated the project and everything is fine locally, I've switched to building the solution instead of the project. But when building on the build server, I'm getting an error message > c:\...
The problem is simple as indicated in the error message. The configuration name does not match any of the configurations defined in the solution. The solution is likewise simple: either create a configuration that matches the name and add it to your solution, or change the configuration name being used to build the ap...
10249444
Move folder between drives on NTFS and preserve timestamps
14
2012-04-20 15:52:19
<p>Sorry, I know this <em>sounds</em> like a newbie question. But seriously, I'm an experienced developer, and I understand that Windows 7 Pro 64-bit and the like will say, "Oh, if you move an NTFS tree from one drive to another, when I write the children files that really means that I'm modifying the parent folder so ...
36,819
421,049
2013-03-07 23:20:23
10,256,657
20
2012-04-21 05:59:27
421,049
2012-04-21 21:27:32
https://stackoverflow.com/q/10249444
https://stackoverflow.com/a/10256657
<p>Taking a hint from Helge Klein's answer, I looked more closely into <a href="http://technet.microsoft.com/en-us/library/cc733145.aspx">Robocopy</a>. It turns out Robocopy (the latest versions, such as that which comes with Windows 7) can actually duplicate the timestamp of the copied folder structure. There is also ...
<p>Taking a hint from Helge Klein's answer, I looked more closely into <a href="http://technet.microsoft.com/en-us/library/cc733145.aspx">Robocopy</a>. It turns out Robocopy (the latest versions, such as that which comes with Windows 7) can actually duplicate the timestamp of the copied folder structure. There is also ...
218, 2177, 3176, 5480, 5634
ads, directory, move, ntfs, timestamp
<h1>Move folder between drives on NTFS and preserve timestamps</h1> <p>Sorry, I know this <em>sounds</em> like a newbie question. But seriously, I'm an experienced developer, and I understand that Windows 7 Pro 64-bit and the like will say, "Oh, if you move an NTFS tree from one drive to another, when I write the child...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,685
tvfc
# Move folder between drives on NTFS and preserve timestamps Sorry, I know this *sounds* like a newbie question. But seriously, I'm an experienced developer, and I understand that Windows 7 Pro 64-bit and the like will say, "Oh, if you move an NTFS tree from one drive to another, when I write the children files that r...
Taking a hint from Helge Klein's answer, I looked more closely into [Robocopy](http://technet.microsoft.com/en-us/library/cc733145.aspx). It turns out Robocopy (the latest versions, such as that which comes with Windows 7) can actually duplicate the timestamp of the copied folder structure. There is also a "move" optio...
32910754
TFS 2015 Build: NuGet restore from an internal repository
11
2015-10-02 15:33:46
<p>We have set up an internal NuGet server and added that server into the package manager settings to publish our dependencies to our local dev machines. Now we want to use the new TFS 2015 Build system to build our solution. </p> <p>at the start of the build NuGet.exe restore is called passing in the solution file ...
4,219
5,329,765
2020-01-10 08:59:02
32,913,017
20
2015-10-02 17:52:27
1,878,728
2015-10-02 17:52:27
https://stackoverflow.com/q/32910754
https://stackoverflow.com/a/32913017
<p>In root of your repository add file 'nuget.config'</p> <p>and content of file like where you use nuget.org and network share where you have your's nuget fiels.</p> <pre><code>&lt;configuration&gt; &lt;packageSources&gt; &lt;add key="nuget.org" value="https://www.nuget.org/api/v2/" /&gt; &lt;add key="Your...
<p>In root of your repository add file 'nuget.config'</p> <p>and content of file like where you use nuget.org and network share where you have your's nuget fiels.</p> <pre><code>&lt;configuration&gt; &lt;packageSources&gt; &lt;add key="nuget.org" value="https://www.nuget.org/api/v2/" /&gt; &lt;add key="Your...
16341, 62770, 62984, 110393, 116537
azure-devops, nuget, nuget-package, tfs-2015, tfsbuild
<h1>TFS 2015 Build: NuGet restore from an internal repository</h1> <p>We have set up an internal NuGet server and added that server into the package manager settings to publish our dependencies to our local dev machines. Now we want to use the new TFS 2015 Build system to build our solution. </p> <p>at the start of ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,686
tvfc
# TFS 2015 Build: NuGet restore from an internal repository We have set up an internal NuGet server and added that server into the package manager settings to publish our dependencies to our local dev machines. Now we want to use the new TFS 2015 Build system to build our solution. at the start of the build NuGet.exe...
In root of your repository add file 'nuget.config' and content of file like where you use nuget.org and network share where you have your's nuget fiels. ``` <configuration> <packageSources> <add key="nuget.org" value="https://www.nuget.org/api/v2/" /> <add key="YoursNuGet" value="\\YourServerNugetShare\Your...
13793357
How do I create a branch on a TFS/Codeplex hosted project?
11
2012-12-10 00:16:39
<p>Perhaps it's just because I'm not familiar with TFS (I've worked mostly with SVN), but I don't understand how to create a branch on a Codeplex hosted project.</p> <p>I'm using VS2012. In the Source Control Explorer, I select <em>Branching and Merging > Branch...</em> in the context menu, but then I don't know what ...
11,261
98,713
2012-12-10 00:39:06
13,793,500
20
2012-12-10 00:39:06
729,881
2012-12-10 00:39:06
https://stackoverflow.com/q/13793357
https://stackoverflow.com/a/13793500
<p>First, it may help to understand what a "Team Project" is - it's a logical entry in source control at the top-level of the source control tree, and is intended, typically, for a group of developers and various permissions and settings are set at this level. Within a Team Project, you can have multiple development p...
<p>First, it may help to understand what a "Team Project" is - it's a logical entry in source control at the top-level of the source control tree, and is intended, typically, for a group of developers and various permissions and settings are set at this level. Within a Team Project, you can have multiple development p...
456, 733, 1879, 3429
branch, codeplex, tfs, version-control
<h1>How do I create a branch on a TFS/Codeplex hosted project?</h1> <p>Perhaps it's just because I'm not familiar with TFS (I've worked mostly with SVN), but I don't understand how to create a branch on a Codeplex hosted project.</p> <p>I'm using VS2012. In the Source Control Explorer, I select <em>Branching and Mergi...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,687
tvfc
# How do I create a branch on a TFS/Codeplex hosted project? Perhaps it's just because I'm not familiar with TFS (I've worked mostly with SVN), but I don't understand how to create a branch on a Codeplex hosted project. I'm using VS2012. In the Source Control Explorer, I select *Branching and Merging > Branch...* in ...
First, it may help to understand what a "Team Project" is - it's a logical entry in source control at the top-level of the source control tree, and is intended, typically, for a group of developers and various permissions and settings are set at this level. Within a Team Project, you can have multiple development proje...
25047714
Microsoft.WebApplication.targets
7
2014-07-30 22:00:00
<p>I have a problem when I check in my server to my build server (using TFS), but for some reason, return me the next error:</p> <pre><code>Exception Message: MSBuild error 1 has ended this build. You can find more specific information about the cause of this error in above messages. (type BuildProcessTerminateExcepti...
13,020
3,294,396
2022-06-10 15:29:07
25,057,828
20
2014-07-31 11:31:40
592,308
2017-10-11 19:05:59
https://stackoverflow.com/q/25047714
https://stackoverflow.com/a/25057828
<p>Your reference to </p> <blockquote> <p>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets"</p> </blockquote> <p>This works if the build is done on a machine that has Visual studio installed on it. If you change the reference to use nuget instead- <a hre...
<p>Your reference to </p> <blockquote> <p>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets"</p> </blockquote> <p>This works if the build is done on a machine that has Visual studio installed on it. If you change the reference to use nuget instead- <a hre...
265, 733, 16422
build-server, msbuild, tfs
<h1>Microsoft.WebApplication.targets</h1> <p>I have a problem when I check in my server to my build server (using TFS), but for some reason, return me the next error:</p> <pre><code>Exception Message: MSBuild error 1 has ended this build. You can find more specific information about the cause of this error in above me...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,688
tvfc
# Microsoft.WebApplication.targets I have a problem when I check in my server to my build server (using TFS), but for some reason, return me the next error: ``` Exception Message: MSBuild error 1 has ended this build. You can find more specific information about the cause of this error in above messages. (type BuildP...
Your reference to > C:\Program Files > (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets" This works if the build is done on a machine that has Visual studio installed on it. If you change the reference to use nuget instead- <https://www.nuget.org/packages/MSBuild.Microsoft.V...
24528850
Visual Studio gets stuck on opening a SQL project
22
2014-07-02 10:30:57
<p>We are trying to set up a SQL project, on a new machine with Windows 7, VS 2010 with SP1 &amp; SSDT 2010 (installed SSDT 2010 from ISO image). But getting the below message when I open the sqlproj:</p> <blockquote> <p>Verifying your model is synchronized with your source files. Your database will be ready in 12734 o...
6,636
2,742,356
2024-08-12 16:50:59
28,752,371
19
2015-02-26 20:42:40
52,360
2015-02-26 20:42:40
https://stackoverflow.com/q/24528850
https://stackoverflow.com/a/28752371
<p>My suggestion is if you are using source control such as Git and you have just switched branches and you are hitting this issue is to use <code>git clean</code> which will remove untracked files (which VS and SSDT are choking up on)</p> <pre><code>git clean -fdx </code></pre> <p>Not sure what to use if you are on ...
<p>My suggestion is if you are using source control such as Git and you have just switched branches and you are hitting this issue is to use <code>git clean</code> which will remove untracked files (which VS and SSDT are choking up on)</p> <pre><code>git clean -fdx </code></pre> <p>Not sure what to use if you are on ...
1, 733, 14456, 94304, 105671
.net, sqlproj, sql-server-data-tools, tfs, visual-studio-2010
<h1>Visual Studio gets stuck on opening a SQL project</h1> <p>We are trying to set up a SQL project, on a new machine with Windows 7, VS 2010 with SP1 &amp; SSDT 2010 (installed SSDT 2010 from ISO image). But getting the below message when I open the sqlproj:</p> <blockquote> <p>Verifying your model is synchronized wit...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,689
tvfc
# Visual Studio gets stuck on opening a SQL project We are trying to set up a SQL project, on a new machine with Windows 7, VS 2010 with SP1 & SSDT 2010 (installed SSDT 2010 from ISO image). But getting the below message when I open the sqlproj: > Verifying your model is synchronized with your source files. Your data...
My suggestion is if you are using source control such as Git and you have just switched branches and you are hitting this issue is to use `git clean` which will remove untracked files (which VS and SSDT are choking up on) ``` git clean -fdx ``` Not sure what to use if you are on TFS or SVN or HG.. but same idea appli...
52824
Cross-Branch merging in TFS?
19
2008-09-09 20:26:47
<p>Is it possible to merge to a branch that is not a direct parent or child in TFS? I suspect that the answer is no as this is what I've experienced while using it. However, it seems that at certain times it would be really useful when there are different features being worked on that may have different approval cycl...
23,484
5,416
2019-05-31 15:07:14
52,909
19
2008-09-09 21:06:57
3,110
2014-05-02 20:27:45
https://stackoverflow.com/q/52824
https://stackoverflow.com/a/52909
<p>I agree with Harpreet that you may want to revisit how you you have setup you branching structure. However you if you really want to perform this type of merge you can through something called a baseless merge. It runs from the tfs command prompt, </p> <pre><code>Tf merge /baseless &lt;&lt;source path&gt;&gt; &lt...
<p>I agree with Harpreet that you may want to revisit how you you have setup you branching structure. However you if you really want to perform this type of merge you can through something called a baseless merge. It runs from the tfs command prompt, </p> <pre><code>Tf merge /baseless &lt;&lt;source path&gt;&gt; &lt...
456, 717, 733, 1879
branch, merge, tfs, version-control
<h1>Cross-Branch merging in TFS?</h1> <p>Is it possible to merge to a branch that is not a direct parent or child in TFS? I suspect that the answer is no as this is what I've experienced while using it. However, it seems that at certain times it would be really useful when there are different features being worked on...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,690
tvfc
# Cross-Branch merging in TFS? Is it possible to merge to a branch that is not a direct parent or child in TFS? I suspect that the answer is no as this is what I've experienced while using it. However, it seems that at certain times it would be really useful when there are different features being worked on that may h...
I agree with Harpreet that you may want to revisit how you you have setup you branching structure. However you if you really want to perform this type of merge you can through something called a baseless merge. It runs from the tfs command prompt, ``` Tf merge /baseless <<source path>> <<target path>> /recursive ``` ...
17656367
How to query all the files checked out by a user in Visual Studio 2012 TFS
18
2013-07-15 14:14:22
<p>This question is not a duplicate of <a href="https://stackoverflow.com/questions/12621607/other-users-checkouts-are-not-visible-in-source-control-explorer-tfs-express">Other users checkouts are not visible in Source Control Explorer (TFS Express)</a> </p> <p>In contrast to <a href="https://stackoverflow.com/questio...
28,748
2,120,015
2015-04-01 10:21:11
17,662,842
19
2013-07-15 20:02:21
736,079
2013-07-15 20:02:21
https://stackoverflow.com/q/17656367
https://stackoverflow.com/a/17662842
<p>You can do it from the commandline, using <code>tf.exe status</code></p> <pre><code>Microsoft (R) TF - Team Foundation Version Control Tool, Version 11.0.60315.1 Copyright (c) Microsoft Corporation. All rights reserved. Displays information about pending changes to items in one or more workspaces. tf status [ite...
<p>You can do it from the commandline, using <code>tf.exe status</code></p> <pre><code>Microsoft (R) TF - Team Foundation Version Control Tool, Version 11.0.60315.1 Copyright (c) Microsoft Corporation. All rights reserved. Displays information about pending changes to items in one or more workspaces. tf status [ite...
80825, 104161
tfvc, visual-studio-2012
<h1>How to query all the files checked out by a user in Visual Studio 2012 TFS</h1> <p>This question is not a duplicate of <a href="https://stackoverflow.com/questions/12621607/other-users-checkouts-are-not-visible-in-source-control-explorer-tfs-express">Other users checkouts are not visible in Source Control Explorer ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,691
tvfc
# How to query all the files checked out by a user in Visual Studio 2012 TFS This question is not a duplicate of [Other users checkouts are not visible in Source Control Explorer (TFS Express)](https://stackoverflow.com/questions/12621607/other-users-checkouts-are-not-visible-in-source-control-explorer-tfs-express) I...
You can do it from the commandline, using `tf.exe status` ``` Microsoft (R) TF - Team Foundation Version Control Tool, Version 11.0.60315.1 Copyright (c) Microsoft Corporation. All rights reserved. Displays information about pending changes to items in one or more workspaces. tf status [itemspec] [/collection:TeamP...
4605267
How to run nunit with msbuild from VS2010
18
2011-01-05 14:40:11
<p>please tell me how to run nunit with msbuild. I am using TFS for code integration and VS2010 . </p>
10,987
532,422
2013-02-25 17:22:29
4,605,423
19
2011-01-05 14:54:44
266,453
2011-01-05 14:54:44
https://stackoverflow.com/q/4605267
https://stackoverflow.com/a/4605423
<p>You probably want to integrate NUnit with TFSBuild and not MSBuild since you are using Team Foundation Server.</p> <p>You will need MSBuild tasks to be able to run NUnit as explained in the three following tutorials:</p> <ul> <li><a href="http://morten.lyhr.dk/2008/05/using-nunit-and-ncover-with-tfs-build.html">Us...
<p>You probably want to integrate NUnit with TFSBuild and not MSBuild since you are using Team Foundation Server.</p> <p>You will need MSBuild tasks to be able to run NUnit as explained in the three following tutorials:</p> <ul> <li><a href="http://morten.lyhr.dk/2008/05/using-nunit-and-ncover-with-tfs-build.html">Us...
265, 733, 1747, 28884
msbuild, nunit, nunit-console, tfs
<h1>How to run nunit with msbuild from VS2010</h1> <p>please tell me how to run nunit with msbuild. I am using TFS for code integration and VS2010 . </p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,692
tvfc
# How to run nunit with msbuild from VS2010 please tell me how to run nunit with msbuild. I am using TFS for code integration and VS2010 .
You probably want to integrate NUnit with TFSBuild and not MSBuild since you are using Team Foundation Server. You will need MSBuild tasks to be able to run NUnit as explained in the three following tutorials: - [Using NUnit and NCover with TFS Build](http://morten.lyhr.dk/2008/05/using-nunit-and-ncover-with-tfs-buil...
20401385
How can one determine if a csproj is being run on a TFS build agent?
16
2013-12-05 13:32:42
<p>We use TFS 2010.</p> <p>There are a couple of projects with deployment steps which must know whether they are running on a dev machine or on the TFS build agent.</p> <p>Right now they check whether the build is from within Visual Studio assuming that only devs compile from VS. Alas, it means I cannot compile from ...
4,862
80,002
2020-04-05 14:11:34
20,402,204
19
2013-12-05 14:10:34
736,079
2020-04-05 08:49:04
https://stackoverflow.com/q/20401385
https://stackoverflow.com/a/20402204
<p>You have a few options:</p> <ol> <li><code>'$(BuildingInsideVisualStudio)' != ''</code></li> <li><code>'$(TeamBuildConstants)' != ''</code> (supported in team Build 2008)</li> <li><code>'$(IsDesktopBuild)' == 'false'</code></li> <li><code>'$(tf_build)' != ''</code> (supported in recent versions of Azure Pipelines)<...
<p>You have a few options:</p> <ol> <li><code>'$(BuildingInsideVisualStudio)' != ''</code></li> <li><code>'$(TeamBuildConstants)' != ''</code> (supported in team Build 2008)</li> <li><code>'$(IsDesktopBuild)' == 'false'</code></li> <li><code>'$(tf_build)' != ''</code> (supported in recent versions of Azure Pipelines)<...
265, 733, 16341
msbuild, tfs, tfsbuild
<h1>How can one determine if a csproj is being run on a TFS build agent?</h1> <p>We use TFS 2010.</p> <p>There are a couple of projects with deployment steps which must know whether they are running on a dev machine or on the TFS build agent.</p> <p>Right now they check whether the build is from within Visual Studio ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,693
tvfc
# How can one determine if a csproj is being run on a TFS build agent? We use TFS 2010. There are a couple of projects with deployment steps which must know whether they are running on a dev machine or on the TFS build agent. Right now they check whether the build is from within Visual Studio assuming that only devs...
You have a few options: 1. `'$(BuildingInsideVisualStudio)' != ''` 2. `'$(TeamBuildConstants)' != ''` (supported in team Build 2008) 3. `'$(IsDesktopBuild)' == 'false'` 4. `'$(tf_build)' != ''` (supported in recent versions of Azure Pipelines) You can check either one to detect the context the task has been executed ...
5539968
MSDeploy batch file does not handle quotes anymore
16
2011-04-04 14:28:30
<p>As part of our build process we deploy our web applications using MSDeploy. This worked perfect until a few weeks ago (I think when we updated our build/TFS server to SP1 of TFS 2010).</p> <p>In our build definition there is a step to invoke a process. This process will call the generated deploy.cmd file and passes...
3,752
44,954
2013-12-10 20:29:50
5,734,735
19
2011-04-20 18:12:26
25,071
2011-04-20 18:22:01
https://stackoverflow.com/q/5539968
https://stackoverflow.com/a/5734735
<p>This is a bug introduced in the SP1 release. You can work around it by editing <code>%ProgramFiles(x86)%\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets</code> (note 64-bit path). Change lines 3238-3258 to match the respective contents in the old deploy.cmd file; the diff should only be l...
<p>This is a bug introduced in the SP1 release. You can work around it by editing <code>%ProgramFiles(x86)%\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets</code> (note 64-bit path). Change lines 3238-3258 to match the respective contents in the old deploy.cmd file; the diff should only be l...
16341, 25779
msdeploy, tfsbuild
<h1>MSDeploy batch file does not handle quotes anymore</h1> <p>As part of our build process we deploy our web applications using MSDeploy. This worked perfect until a few weeks ago (I think when we updated our build/TFS server to SP1 of TFS 2010).</p> <p>In our build definition there is a step to invoke a process. Thi...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,694
tvfc
# MSDeploy batch file does not handle quotes anymore As part of our build process we deploy our web applications using MSDeploy. This worked perfect until a few weeks ago (I think when we updated our build/TFS server to SP1 of TFS 2010). In our build definition there is a step to invoke a process. This process will c...
This is a bug introduced in the SP1 release. You can work around it by editing `%ProgramFiles(x86)%\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets` (note 64-bit path). Change lines 3238-3258 to match the respective contents in the old deploy.cmd file; the diff should only be like 3 lines, rem...
71940888
Local state cannot be unlocked by another process on terraform
13
2022-04-20 13:47:53
<p>My terraform remote states and lockers are configured on s3 and dynamodb under aws account, On gitlab runner some plan task has been crashed and on the next execution plan the following error pops up:</p> <pre><code>Error: Error locking state: Error acquiring the state lock: ConditionalCheckFailedException: The cond...
32,414
4,692,049
2024-01-04 13:09:39
71,940,889
19
2022-04-20 13:47:53
4,692,049
2023-06-22 20:02:06
https://stackoverflow.com/q/71940888
https://stackoverflow.com/a/71940889
<p>According to reference of terraform command: <code>force-unlock</code></p> <blockquote> <p>Manually unlock the state for the defined configuration.</p> <p>This will not modify your infrastructure. This command removes the lock on the state for the current configuration. The behavior of this lock is dependent on the ...
<p>According to reference of terraform command: <code>force-unlock</code></p> <blockquote> <p>Manually unlock the state for the defined configuration.</p> <p>This will not modify your infrastructure. This command removes the lock on the state for the current configuration. The behavior of this lock is dependent on the ...
76578, 110634, 155876, 155877
amazon-dynamodb, locker, terraform, tfstate
<h1>Local state cannot be unlocked by another process on terraform</h1> <p>My terraform remote states and lockers are configured on s3 and dynamodb under aws account, On gitlab runner some plan task has been crashed and on the next execution plan the following error pops up:</p> <pre><code>Error: Error locking state: E...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,695
tvfc
# Local state cannot be unlocked by another process on terraform My terraform remote states and lockers are configured on s3 and dynamodb under aws account, On gitlab runner some plan task has been crashed and on the next execution plan the following error pops up: ``` Error: Error locking state: Error acquiring the ...
According to reference of terraform command: `force-unlock` > Manually unlock the state for the defined configuration. > > This will not modify your infrastructure. This command removes the > lock on the state for the current configuration. The behavior of this > lock is dependent on the backend being used. **Local st...
7998749
TFS - dll is locked for check-out by user
13
2011-11-03 16:52:49
<p>2 projects under TFS Source Control.</p> <ul> <li><p>DependancyProject.sln</p></li> <li><p>AppProject.sln</p></li> </ul> <p>With AppProject referencing DependancyProject.</p> <p>-</p> <p>The issue I have is with an Installer project in the AppProject. It has DependancyProject.dll as a 'reference'(?) where it tri...
16,529
328,337
2014-08-27 22:19:42
8,000,378
19
2011-11-03 18:56:40
729,881
2011-11-03 18:56:40
https://stackoverflow.com/q/7998749
https://stackoverflow.com/a/8000378
<p>Some files are configured as "non-mergeable" in TFS, which means that they'll be locked when changes are pended on them. The default list includes a variety of binary files, including <code>.dll</code> files. Note that this lock applies to all pending changes - including adds.</p> <p>It's likely that the other de...
<p>Some files are configured as "non-mergeable" in TFS, which means that they'll be locked when changes are pended on them. The default list includes a variety of binary files, including <code>.dll</code> files. Note that this lock applies to all pending changes - including adds.</p> <p>It's likely that the other de...
733, 14456
tfs, visual-studio-2010
<h1>TFS - dll is locked for check-out by user</h1> <p>2 projects under TFS Source Control.</p> <ul> <li><p>DependancyProject.sln</p></li> <li><p>AppProject.sln</p></li> </ul> <p>With AppProject referencing DependancyProject.</p> <p>-</p> <p>The issue I have is with an Installer project in the AppProject. It has Dep...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,696
tvfc
# TFS - dll is locked for check-out by user 2 projects under TFS Source Control. - DependancyProject.sln - AppProject.sln With AppProject referencing DependancyProject. - The issue I have is with an Installer project in the AppProject. It has DependancyProject.dll as a 'reference'(?) where it tries to include it i...
Some files are configured as "non-mergeable" in TFS, which means that they'll be locked when changes are pended on them. The default list includes a variety of binary files, including `.dll` files. Note that this lock applies to all pending changes - including adds. It's likely that the other developer in question acc...
1971316
Connect to TFS with different user credentials
13
2009-12-28 20:13:25
<p>I am connecting to TFS through Visual Studio 2008 Team Explorer. Lets say TFS is on machine A and Visual Studio 2008 is on machine B (my box). I have a local account on machine A (i.e. A\username) that has admin privileges for TFS (installed on machine A). Whenever I connect to TFS from team explorer it always uses ...
27,446
237,121
2016-02-18 15:17:27
2,159,968
19
2010-01-29 04:59:20
8,114
2010-01-29 04:59:20
https://stackoverflow.com/q/1971316
https://stackoverflow.com/a/2159968
<p>I think you're looking for the RUNAS command with the /NETONLY switch:</p> <pre><code>runas /netonly /user:domain\username program.exe </code></pre> <p>When you use the "/netonly" switch, you can log in using remote credentials on a domain that you're not even currently a member of, even if there's no trust set up...
<p>I think you're looking for the RUNAS command with the /NETONLY switch:</p> <pre><code>runas /netonly /user:domain\username program.exe </code></pre> <p>When you use the "/netonly" switch, you can log in using remote credentials on a domain that you're not even currently a member of, even if there's no trust set up...
733, 32472
tfs, visual-studio-2008
<h1>Connect to TFS with different user credentials</h1> <p>I am connecting to TFS through Visual Studio 2008 Team Explorer. Lets say TFS is on machine A and Visual Studio 2008 is on machine B (my box). I have a local account on machine A (i.e. A\username) that has admin privileges for TFS (installed on machine A). When...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,697
tvfc
# Connect to TFS with different user credentials I am connecting to TFS through Visual Studio 2008 Team Explorer. Lets say TFS is on machine A and Visual Studio 2008 is on machine B (my box). I have a local account on machine A (i.e. A\username) that has admin privileges for TFS (installed on machine A). Whenever I co...
I think you're looking for the RUNAS command with the /NETONLY switch: ``` runas /netonly /user:domain\username program.exe ``` When you use the "/netonly" switch, you can log in using remote credentials on a domain that you're not even currently a member of, even if there's no trust set up. It just tells runas that ...
42957331
Force removal of TFS 2017 build agent
12
2017-03-22 16:19:07
<p>Installed the tfs 2017 (update 1) build agent on a machine and ran config.cmd to connect it to a TFS server. That server had to be reconfigured and the original url that the build agent was pointing to is no longer valid. All I want to do is reconfigure the build agent to connect using the new url. When I run config...
9,572
31,672
2018-09-27 15:26:50
42,957,540
19
2017-03-22 16:29:32
736,079
2017-11-22 22:47:30
https://stackoverflow.com/q/42957331
https://stackoverflow.com/a/42957540
<p>Delete/rename the <code>.agent</code> file and then try to unconfigure:</p> <pre><code>C:\TfsData\jessehouwing&gt;config.cmd remove Removing service Waiting for service to stop... Failed: Removing service Could not find file 'C:\TfsData\jessehouwing\.agent'. C:\TfsData\jessehouwing&gt;config.cmd remove Removing se...
<p>Delete/rename the <code>.agent</code> file and then try to unconfigure:</p> <pre><code>C:\TfsData\jessehouwing&gt;config.cmd remove Removing service Waiting for service to stop... Failed: Removing service Could not find file 'C:\TfsData\jessehouwing\.agent'. C:\TfsData\jessehouwing&gt;config.cmd remove Removing se...
733
tfs
<h1>Force removal of TFS 2017 build agent</h1> <p>Installed the tfs 2017 (update 1) build agent on a machine and ran config.cmd to connect it to a TFS server. That server had to be reconfigured and the original url that the build agent was pointing to is no longer valid. All I want to do is reconfigure the build agent ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,698
tvfc
# Force removal of TFS 2017 build agent Installed the tfs 2017 (update 1) build agent on a machine and ran config.cmd to connect it to a TFS server. That server had to be reconfigured and the original url that the build agent was pointing to is no longer valid. All I want to do is reconfigure the build agent to connec...
Delete/rename the `.agent` file and then try to unconfigure: ``` C:\TfsData\jessehouwing>config.cmd remove Removing service Waiting for service to stop... Failed: Removing service Could not find file 'C:\TfsData\jessehouwing\.agent'. C:\TfsData\jessehouwing>config.cmd remove Removing service Succeeded: Removing servi...
6387557
TFS 2010 and the check-in of non-modified files
12
2011-06-17 14:45:43
<p>Is it possible to check-in only files that contain modification with Team Foundation Server? I mean is there an option to activate this somewhere?</p> <p>I need it when an outsourcing company send us almost an hundred source code files and I want to check in only the modified ones.</p>
8,820
261,010
2015-09-27 21:11:47
6,387,656
19
2011-06-17 14:54:49
729,881
2014-01-24 10:31:15
https://stackoverflow.com/q/6387557
https://stackoverflow.com/a/6387656
<p>When you perform a check in, Team Foundation Server will not accept items in your changeset that are unmodified, however the rest of the changeset will succeed. If <strong>all</strong> files are unmodified, you'll get an error and your changeset will not be committed. So if you're just worried about cluttering you...
<p>When you perform a check in, Team Foundation Server will not accept items in your changeset that are unmodified, however the rest of the changeset will succeed. If <strong>all</strong> files are unmodified, you'll get an error and your changeset will not be committed. So if you're just worried about cluttering you...
733, 14456
tfs, visual-studio-2010
<h1>TFS 2010 and the check-in of non-modified files</h1> <p>Is it possible to check-in only files that contain modification with Team Foundation Server? I mean is there an option to activate this somewhere?</p> <p>I need it when an outsourcing company send us almost an hundred source code files and I want to check in ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,699
tvfc
# TFS 2010 and the check-in of non-modified files Is it possible to check-in only files that contain modification with Team Foundation Server? I mean is there an option to activate this somewhere? I need it when an outsourcing company send us almost an hundred source code files and I want to check in only the modifie...
When you perform a check in, Team Foundation Server will not accept items in your changeset that are unmodified, however the rest of the changeset will succeed. If **all** files are unmodified, you'll get an error and your changeset will not be committed. So if you're just worried about cluttering your history with cha...
32562968
TFS History of a deleted file
11
2015-09-14 10:50:28
<p>I have ran into a problem with history of a certain file on TFS. I need to find a file history in TFS so I could investigate why was it deleted, but we have hundreds of changesets so manual finding is out of question. Is there a way to find a certain file history in a specific TFS directory? I know almost nothing ab...
3,447
1,270,970
2019-06-21 07:03:59
32,563,674
19
2015-09-14 11:28:23
736,079
2015-09-14 11:28:23
https://stackoverflow.com/q/32562968
https://stackoverflow.com/a/32563674
<p>From a Visual Studio commandline:</p> <pre><code>tf history $/Project/Path/To/File.Extension /collection:https://yourserver:port/tfs/collection </code></pre> <p>should give you the information you're after.</p> <p>Alternatively, turn on displaying of hidden files in the Source Control Explorer settings:</p> <p><a hr...
<p>From a Visual Studio commandline:</p> <pre><code>tf history $/Project/Path/To/File.Extension /collection:https://yourserver:port/tfs/collection </code></pre> <p>should give you the information you're after.</p> <p>Alternatively, turn on displaying of hidden files in the Source Control Explorer settings:</p> <p><a hr...
733, 33953, 104161
tfs, tfvc, visual-studio
<h1>TFS History of a deleted file</h1> <p>I have ran into a problem with history of a certain file on TFS. I need to find a file history in TFS so I could investigate why was it deleted, but we have hundreds of changesets so manual finding is out of question. Is there a way to find a certain file history in a specific ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,700
tvfc
# TFS History of a deleted file I have ran into a problem with history of a certain file on TFS. I need to find a file history in TFS so I could investigate why was it deleted, but we have hundreds of changesets so manual finding is out of question. Is there a way to find a certain file history in a specific TFS direc...
From a Visual Studio commandline: ``` tf history $/Project/Path/To/File.Extension /collection:https://yourserver:port/tfs/collection ``` should give you the information you're after. Alternatively, turn on displaying of hidden files in the Source Control Explorer settings: [![enter image description here](https://i...
43283432
Excluding an entire folder / contents from 'Copy Files' step in TFS 2017 build definition
10
2017-04-07 16:54:30
<p>I'm struggling with getting a TFS build definition to exclude an entire folder and all of its contents from a "Copy Files" step, as shown here: <a href="https://i.sstatic.net/lYMYf.png" rel="noreferrer"><img src="https://i.sstatic.net/lYMYf.png" alt="enter image description here"></a></p> <p>Here's essentially what...
12,514
3,861,838
2020-07-12 14:24:06
43,315,193
19
2017-04-10 04:51:27
6,936,103
2017-04-10 14:38:21
https://stackoverflow.com/q/43283432
https://stackoverflow.com/a/43315193
<p>You should set the contents with two lines as:</p> <pre><code>**\** !AppsJs\v3\node_modules\** </code></pre>
<p>You should set the contents with two lines as:</p> <pre><code>**\** !AppsJs\v3\node_modules\** </code></pre>
733, 16341, 119596
azure-pipelines, tfs, tfsbuild
<h1>Excluding an entire folder / contents from 'Copy Files' step in TFS 2017 build definition</h1> <p>I'm struggling with getting a TFS build definition to exclude an entire folder and all of its contents from a "Copy Files" step, as shown here: <a href="https://i.sstatic.net/lYMYf.png" rel="noreferrer"><img src="https...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,702
tvfc
# Excluding an entire folder / contents from 'Copy Files' step in TFS 2017 build definition I'm struggling with getting a TFS build definition to exclude an entire folder and all of its contents from a "Copy Files" step, as shown here: [![enter image description here](https://i.sstatic.net/lYMYf.png)](https://i.sstati...
You should set the contents with two lines as: ``` **\** !AppsJs\v3\node_modules\** ```
18079410
tfs build definition with no drop folder
9
2013-08-06 11:51:33
<p>I've recently changed a number of my builds to not have a drop folder but now I'm getting the following error when I do this:</p> <p><code>The drop location for this build was empty. The build definition 'My Nightly Build' (or the build request) must specify a valid UNC path as the drop location for the build. Upda...
3,565
447,341
2015-05-01 21:27:20
18,370,128
19
2013-08-22 01:11:56
564,630
2015-05-01 21:27:20
https://stackoverflow.com/q/18079410
https://stackoverflow.com/a/18370128
<p>If your Build Process Template is based on the DefaultTemplate in TFS 2010, Got to:</p> <ol> <li>Edit Build Definition...</li> <li>Click Process on the left</li> <li>Expand <strong>Advanced</strong></li> <li>Set <code>Copy Outputs to Drop Folder</code> = False </li> </ol> <p>Then it should not require the Drop fo...
<p>If your Build Process Template is based on the DefaultTemplate in TFS 2010, Got to:</p> <ol> <li>Edit Build Definition...</li> <li>Click Process on the left</li> <li>Expand <strong>Advanced</strong></li> <li>Set <code>Copy Outputs to Drop Folder</code> = False </li> </ol> <p>Then it should not require the Drop fo...
487, 733
build-automation, tfs
<h1>tfs build definition with no drop folder</h1> <p>I've recently changed a number of my builds to not have a drop folder but now I'm getting the following error when I do this:</p> <p><code>The drop location for this build was empty. The build definition 'My Nightly Build' (or the build request) must specify a valid...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,703
tvfc
# tfs build definition with no drop folder I've recently changed a number of my builds to not have a drop folder but now I'm getting the following error when I do this: `The drop location for this build was empty. The build definition 'My Nightly Build' (or the build request) must specify a valid UNC path as the drop...
If your Build Process Template is based on the DefaultTemplate in TFS 2010, Got to: 1. Edit Build Definition... 2. Click Process on the left 3. Expand **Advanced** 4. Set `Copy Outputs to Drop Folder` = False Then it should not require the Drop folder to be defined.
3150260
How do you connect to a TFS server in C# using specific credentials?
9
2010-06-30 14:33:40
<p>I am attempting to write a c# application that connects to TFS and retrieves work item information. Unfortunately, it seems like all examples of using the TFS SDK are using the default credentials for the current user (i.e. my domain login information). The closest piece of information I found is to use the <code>...
22,431
231,002
2018-10-02 17:35:21
3,150,730
19
2010-06-30 15:25:54
345,708
2010-06-30 15:25:54
https://stackoverflow.com/q/3150260
https://stackoverflow.com/a/3150730
<p>The following code should help you:</p> <pre><code>NetworkCredential cred = new NetworkCredential("Username", "Password", "Domain"); tfs = new TeamFoundationServer("http://tfs:8080/tfs", cred); tfs.EnsureAuthenticated(); </code></pre> <p>Domain is either the actual domain, or in a Workgroup situation, it would be ...
<p>The following code should help you:</p> <pre><code>NetworkCredential cred = new NetworkCredential("Username", "Password", "Domain"); tfs = new TeamFoundationServer("http://tfs:8080/tfs", cred); tfs.EnsureAuthenticated(); </code></pre> <p>Domain is either the actual domain, or in a Workgroup situation, it would be ...
9, 183, 733, 32354
authentication, c#, tfs, tfs-sdk
<h1>How do you connect to a TFS server in C# using specific credentials?</h1> <p>I am attempting to write a c# application that connects to TFS and retrieves work item information. Unfortunately, it seems like all examples of using the TFS SDK are using the default credentials for the current user (i.e. my domain logi...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,704
tvfc
# How do you connect to a TFS server in C# using specific credentials? I am attempting to write a c# application that connects to TFS and retrieves work item information. Unfortunately, it seems like all examples of using the TFS SDK are using the default credentials for the current user (i.e. my domain login informat...
The following code should help you: ``` NetworkCredential cred = new NetworkCredential("Username", "Password", "Domain"); tfs = new TeamFoundationServer("http://tfs:8080/tfs", cred); tfs.EnsureAuthenticated(); ``` Domain is either the actual domain, or in a Workgroup situation, it would be the name of the server that...
5098814
TfsConfigurationServer.GetService<VersionControlServer>() always returns null
8
2011-02-23 23:51:23
<p>I'm trying to connect to TFS 2010 using TFS SDK, but can't get VersionControlServer service.</p> <pre><code>var servers = RegisteredTfsConnections.GetConfigurationServers(); // ok </code></pre> <p>then</p> <pre><code>var tfs = new TfsConfigurationServer(servers.First().Uri, CredentialCache.DefaultNetworkCredentia...
11,235
41,956
2015-06-19 17:14:48
5,099,819
19
2011-02-24 02:48:40
186,848
2011-02-24 02:48:40
https://stackoverflow.com/q/5098814
https://stackoverflow.com/a/5099819
<p>You don't want the configuration server, you want the project collection. The version control service is scoped to a team project collection. For example:</p> <pre><code>var projectCollection = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(registeredProjectCollection); var versionControl = projectCo...
<p>You don't want the configuration server, you want the project collection. The version control service is scoped to a team project collection. For example:</p> <pre><code>var projectCollection = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(registeredProjectCollection); var versionControl = projectCo...
1, 9, 733, 32354
.net, c#, tfs, tfs-sdk
<h1>TfsConfigurationServer.GetService<VersionControlServer>() always returns null</h1> <p>I'm trying to connect to TFS 2010 using TFS SDK, but can't get VersionControlServer service.</p> <pre><code>var servers = RegisteredTfsConnections.GetConfigurationServers(); // ok </code></pre> <p>then</p> <pre><code>var tfs = ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,705
tvfc
# TfsConfigurationServer.GetService() always returns null I'm trying to connect to TFS 2010 using TFS SDK, but can't get VersionControlServer service. ``` var servers = RegisteredTfsConnections.GetConfigurationServers(); // ok ``` then ``` var tfs = new TfsConfigurationServer(servers.First().Uri, CredentialCache.De...
You don't want the configuration server, you want the project collection. The version control service is scoped to a team project collection. For example: ``` var projectCollection = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(registeredProjectCollection); var versionControl = projectCollection.GetSe...
1977309
Unified Diff in TFS
18
2009-12-29 22:23:06
<p>Anyone know if this (generating a unified diff) is possible and if so, how?</p> <p>Thanks.</p>
6,690
205,856
2013-07-02 09:37:57
1,977,316
18
2009-12-29 22:24:38
75,170
2009-12-30 00:00:06
https://stackoverflow.com/q/1977309
https://stackoverflow.com/a/1977316
<p>It's <code>tf diff /shelveset:&lt;set&gt; /format:unified</code>. However, note that unlike most modern version-control systems, TFS can't actually work with patch files afaik. That is, you can't take the result of the diff and apply it to a set of files to get the resulting changes. (What most people do is zip up t...
<p>It's <code>tf diff /shelveset:&lt;set&gt; /format:unified</code>. However, note that unlike most modern version-control systems, TFS can't actually work with patch files afaik. That is, you can't take the result of the diff and apply it to a set of files to get the resulting changes. (What most people do is zip up t...
733
tfs
<h1>Unified Diff in TFS</h1> <p>Anyone know if this (generating a unified diff) is possible and if so, how?</p> <p>Thanks.</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,706
tvfc
# Unified Diff in TFS Anyone know if this (generating a unified diff) is possible and if so, how? Thanks.
It's `tf diff /shelveset:<set> /format:unified`. However, note that unlike most modern version-control systems, TFS can't actually work with patch files afaik. That is, you can't take the result of the diff and apply it to a set of files to get the resulting changes. (What most people do is zip up the files that change...
30196129
What are "Excluded Changes" in Team Foundation Server?
16
2015-05-12 16:05:46
<p>When I check in changes in TFS Express 2013 using Visual Studio 2013 Professional, there is a list of "Excluded Changes" that has 1541 items in it.</p> <p>I have never told TFS to exclude a change, and do not understand why anyone would even want to "exclude" a change (isn't source control all about SAVING changes?...
10,865
3,852,958
2019-06-11 08:36:27
30,196,272
18
2015-05-12 16:12:04
736,079
2015-10-27 09:22:34
https://stackoverflow.com/q/30196129
https://stackoverflow.com/a/30196272
<p>There are a number of things that can cause a &quot;change&quot; to be excluded:</p> <ol> <li>Team Explorer will, by default, ignore files in <code>obj/*</code> and <code>bin/*</code> and a few other folders. As well as certain extensions like <code>.csproj.user</code>.</li> <li>They're not loaded in your current so...
<p>There are a number of things that can cause a &quot;change&quot; to be excluded:</p> <ol> <li>Team Explorer will, by default, ignore files in <code>obj/*</code> and <code>bin/*</code> and a few other folders. As well as certain extensions like <code>.csproj.user</code>.</li> <li>They're not loaded in your current so...
733, 93364, 104161
tfs, tfvc, visual-studio-2013
<h1>What are "Excluded Changes" in Team Foundation Server?</h1> <p>When I check in changes in TFS Express 2013 using Visual Studio 2013 Professional, there is a list of "Excluded Changes" that has 1541 items in it.</p> <p>I have never told TFS to exclude a change, and do not understand why anyone would even want to "e...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,707
tvfc
# What are "Excluded Changes" in Team Foundation Server? When I check in changes in TFS Express 2013 using Visual Studio 2013 Professional, there is a list of "Excluded Changes" that has 1541 items in it. I have never told TFS to exclude a change, and do not understand why anyone would even want to "exclude" a change...
There are a number of things that can cause a "change" to be excluded: 1. Team Explorer will, by default, ignore files in `obj/*` and `bin/*` and a few other folders. As well as certain extensions like `.csproj.user`. 2. They're not loaded in your current solution, so Team Explorer assumes they're made as part of eith...
49390416
dotnet test not creating test results folder
15
2018-03-20 17:16:23
<p>As part of our <strong>ASP.NET Core 2.0</strong> build process I have added a <em>dotnet test</em> command which I have added as a Windows batch file. </p> <p>Here is my command.</p> <pre><code>dotnet test "MyProject.csproj" --no-restore --results-directory "MyProject\TestResults" --verbosity minimal </code></pre>...
33,091
3,668,703
2019-04-10 09:36:38
49,401,154
18
2018-03-21 08:13:29
7,466,674
2019-01-25 06:27:00
https://stackoverflow.com/q/49390416
https://stackoverflow.com/a/49401154
<p>To output the test results from dotnet test, you can try pass <code>-xml /some/path/out.xml</code> or use the <code>work</code> parameter, like this: <code>dotnet test --work:"mypath/myresult.xml"</code>. See below threads for details:</p> <ul> <li><a href="https://github.com/dotnet/cli/issues/3114" rel="noreferrer...
<p>To output the test results from dotnet test, you can try pass <code>-xml /some/path/out.xml</code> or use the <code>work</code> parameter, like this: <code>dotnet test --work:"mypath/myresult.xml"</code>. See below threads for details:</p> <ul> <li><a href="https://github.com/dotnet/cli/issues/3114" rel="noreferrer...
733, 16341, 110393, 117274, 127396
asp.net-core, dotnet-test, tfs, tfs-2015, tfsbuild
<h1>dotnet test not creating test results folder</h1> <p>As part of our <strong>ASP.NET Core 2.0</strong> build process I have added a <em>dotnet test</em> command which I have added as a Windows batch file. </p> <p>Here is my command.</p> <pre><code>dotnet test "MyProject.csproj" --no-restore --results-directory "My...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,708
tvfc
# dotnet test not creating test results folder As part of our **ASP.NET Core 2.0** build process I have added a *dotnet test* command which I have added as a Windows batch file. Here is my command. ``` dotnet test "MyProject.csproj" --no-restore --results-directory "MyProject\TestResults" --verbosity minimal ``` An...
To output the test results from dotnet test, you can try pass `-xml /some/path/out.xml` or use the `work` parameter, like this: `dotnet test --work:"mypath/myresult.xml"`. See below threads for details: - [dotnet test - Output test results](https://github.com/dotnet/cli/issues/3114) - [Is there a way to specify TestRe...
42923272
Custom TFS Check-In Policy in Visual Studio 2017
15
2017-03-21 09:41:50
<p>A while ago I developed a custom TFS check-in policy that was <strong>working fine with Visual Studio 2015</strong>. Now I installed Visual Studio 2017 and wanted to register the check-in policy assembly the same way as I did with VS2015 before. But this does not work. <strong>How can I register custom check-in poli...
4,906
5,528,593
2017-05-22 13:17:02
42,933,610
18
2017-03-21 16:57:38
112,196
2017-03-21 17:12:44
https://stackoverflow.com/q/42923272
https://stackoverflow.com/a/42933610
<p>In Visual Studio 2017 there are <a href="https://learn.microsoft.com/en-us/visualstudio/extensibility/breaking-changes-2017" rel="noreferrer">breaking changes</a> to extensibility. Much of the registry configuration has been moved into a "private" registry:</p> <blockquote> <p>To reduce the impact on the registry...
<p>In Visual Studio 2017 there are <a href="https://learn.microsoft.com/en-us/visualstudio/extensibility/breaking-changes-2017" rel="noreferrer">breaking changes</a> to extensibility. Much of the registry configuration has been moved into a "private" registry:</p> <blockquote> <p>To reduce the impact on the registry...
9, 733, 33953, 123095
c#, tfs, visual-studio, visual-studio-2017
<h1>Custom TFS Check-In Policy in Visual Studio 2017</h1> <p>A while ago I developed a custom TFS check-in policy that was <strong>working fine with Visual Studio 2015</strong>. Now I installed Visual Studio 2017 and wanted to register the check-in policy assembly the same way as I did with VS2015 before. But this does...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,709
tvfc
# Custom TFS Check-In Policy in Visual Studio 2017 A while ago I developed a custom TFS check-in policy that was **working fine with Visual Studio 2015**. Now I installed Visual Studio 2017 and wanted to register the check-in policy assembly the same way as I did with VS2015 before. But this does not work. **How can I...
In Visual Studio 2017 there are [breaking changes](https://learn.microsoft.com/en-us/visualstudio/extensibility/breaking-changes-2017) to extensibility. Much of the registry configuration has been moved into a "private" registry: > To reduce the impact on the registry, Visual Studio now uses the > RegLoadAppKey functi...
3354089
WriteBuildMessage not displayed
12
2010-07-28 14:51:28
<p>Consider this simple msbuild script (xaml):</p> <pre><code>&lt;Activity xmlns=[....]&gt; &lt;Sequence&gt; &lt;mtbwa:WriteBuildMessage Message="Test message"/&gt; &lt;mtbwa:WriteBuildWarning Message="Test warning"/&gt; &lt;/Sequence&gt; &lt;/Activity&gt; </code></pre> <p>I have a tfs build definition ba...
5,031
138,078
2012-11-05 16:43:23
3,405,790
18
2010-08-04 13:08:15
138,078
2010-08-04 13:08:15
https://stackoverflow.com/q/3354089
https://stackoverflow.com/a/3405790
<p>This is approx. a <em>minimal</em> workflow xaml file that works:</p> <pre><code>&lt;Activity xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mtbwa="clr-namespace:Microsoft.TeamFoundation.Build.Workflow.Activities;assembly=Microsoft.TeamFoundation.Build.Workflow"&gt; &lt;Sequence&g...
<p>This is approx. a <em>minimal</em> workflow xaml file that works:</p> <pre><code>&lt;Activity xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mtbwa="clr-namespace:Microsoft.TeamFoundation.Build.Workflow.Activities;assembly=Microsoft.TeamFoundation.Build.Workflow"&gt; &lt;Sequence&g...
1117, 14456, 16341, 47853
build-definition, tfsbuild, visual-studio-2010, xaml
<h1>WriteBuildMessage not displayed</h1> <p>Consider this simple msbuild script (xaml):</p> <pre><code>&lt;Activity xmlns=[....]&gt; &lt;Sequence&gt; &lt;mtbwa:WriteBuildMessage Message="Test message"/&gt; &lt;mtbwa:WriteBuildWarning Message="Test warning"/&gt; &lt;/Sequence&gt; &lt;/Activity&gt; </code></...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,710
tvfc
# WriteBuildMessage not displayed Consider this simple msbuild script (xaml): ``` <Activity xmlns=[....]> <Sequence> <mtbwa:WriteBuildMessage Message="Test message"/> <mtbwa:WriteBuildWarning Message="Test warning"/> </Sequence> </Activity> ``` I have a tfs build definition based on this script. When I q...
This is approx. a *minimal* workflow xaml file that works: ``` <Activity xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mtbwa="clr-namespace:Microsoft.TeamFoundation.Build.Workflow.Activities;assembly=Microsoft.TeamFoundation.Build.Workflow"> <Sequence> <mtbwa:WriteBuildMessage I...
896638
Checking folder/file ntfs permissions using python
11
2009-05-22 06:48:03
<p>As the question title might suggest, I would very much like to know of the way to check the ntfs permissions of the given file or folder (hint: those are the ones you see in the "security" tab). Basically, what I need is to take a path to a file or directory (on a local machine, or, preferrably, on a share on a remo...
12,280
96,282
2025-03-03 00:21:54
897,963
18
2009-05-22 13:56:50
40,211
2025-03-03 00:21:54
https://stackoverflow.com/q/896638
https://stackoverflow.com/a/897963
<p>Unless you fancy rolling your own, win32security is the way to go. There's the beginnings of an example here:</p> <p><a href="http://timgolden.me.uk/python/win32_how_do_i/get-the-owner-of-a-file.html" rel="nofollow noreferrer">http://timgolden.me.uk/python/win32_how_do_i/get-the-owner-of-a-file.html</a></p> <p>If yo...
<p>Unless you fancy rolling your own, win32security is the way to go. There's the beginnings of an example here:</p> <p><a href="http://timgolden.me.uk/python/win32_how_do_i/get-the-owner-of-a-file.html" rel="nofollow noreferrer">http://timgolden.me.uk/python/win32_how_do_i/get-the-owner-of-a-file.html</a></p> <p>If yo...
16, 359, 889, 1576, 3176
acl, ntfs, permissions, python, winapi
<h1>Checking folder/file ntfs permissions using python</h1> <p>As the question title might suggest, I would very much like to know of the way to check the ntfs permissions of the given file or folder (hint: those are the ones you see in the "security" tab). Basically, what I need is to take a path to a file or director...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,711
tvfc
# Checking folder/file ntfs permissions using python As the question title might suggest, I would very much like to know of the way to check the ntfs permissions of the given file or folder (hint: those are the ones you see in the "security" tab). Basically, what I need is to take a path to a file or directory (on a l...
Unless you fancy rolling your own, win32security is the way to go. There's the beginnings of an example here: <http://timgolden.me.uk/python/win32_how_do_i/get-the-owner-of-a-file.html> If you want to live slightly dangerously (!) my in-progress winsys package is designed to do exactly what you're after. It is availa...
30777054
TFS 2013: HTTP code 503: Service Unavailable
8
2015-06-11 09:40:00
<p>All of a sudden, our TFS server down. When I checked in IIS, <a href="http://localhost:8080/tfs" rel="noreferrer">http://localhost:8080/tfs</a> is giving 503 service error.</p> <p>Below application pools are getting stopped automatically, even though I manually made them start in IIS manager. Microsoft Team Foundat...
22,181
4,242,659
2017-11-28 12:31:56
30,803,268
18
2015-06-12 12:37:28
4,242,659
2017-11-28 12:31:56
https://stackoverflow.com/q/30777054
https://stackoverflow.com/a/30803268
<p>This problem occurred due to network problem. Below steps solved the issue.</p> <ol> <li>I changed the server from domain to workgroup and restarted the machine.</li> <li>Again I changed from workgroup to domain and restarted the machine. </li> <li>Goto IIS manager->Application Pools->Right click on Microsoft Team ...
<p>This problem occurred due to network problem. Below steps solved the issue.</p> <ol> <li>I changed the server from domain to workgroup and restarted the machine.</li> <li>Again I changed from workgroup to domain and restarted the machine. </li> <li>Goto IIS manager->Application Pools->Right click on Microsoft Team ...
215, 733
iis, tfs
<h1>TFS 2013: HTTP code 503: Service Unavailable</h1> <p>All of a sudden, our TFS server down. When I checked in IIS, <a href="http://localhost:8080/tfs" rel="noreferrer">http://localhost:8080/tfs</a> is giving 503 service error.</p> <p>Below application pools are getting stopped automatically, even though I manually ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,712
tvfc
# TFS 2013: HTTP code 503: Service Unavailable All of a sudden, our TFS server down. When I checked in IIS, <http://localhost:8080/tfs> is giving 503 service error. Below application pools are getting stopped automatically, even though I manually made them start in IIS manager. Microsoft Team Foundation Server Applic...
This problem occurred due to network problem. Below steps solved the issue. 1. I changed the server from domain to workgroup and restarted the machine. 2. Again I changed from workgroup to domain and restarted the machine. 3. Goto IIS manager->Application Pools->Right click on Microsoft Team Foundation Server Applicat...
17399116
Can I use Grunt with TFS?
7
2013-07-01 07:11:05
<p>My new project needs me to work with TFS + Git.</p> <p>Confession: I know nothing about TFS.</p> <p>I want to setup a build for my JavaScript project. I want to use Grunt.</p> <p>Is this possible? Has anybody used Grunt with TFS?</p>
6,215
156,225
2016-08-05 20:03:54
17,400,935
18
2013-07-01 09:15:23
466,761
2013-07-01 09:15:23
https://stackoverflow.com/q/17399116
https://stackoverflow.com/a/17400935
<p>On our current project, we're using Grunt and TFS. I've integrated Grunt with TFS by caling it from a bat file which you can hook up in the <a href="http://msdn.microsoft.com/en-us/library/42x5kfw4%28v=vs.80%29.aspx">Pre- or Post-BuildEvents</a> section of your project file.</p> <p>However, because TFS will execute...
<p>On our current project, we're using Grunt and TFS. I've integrated Grunt with TFS by caling it from a bat file which you can hook up in the <a href="http://msdn.microsoft.com/en-us/library/42x5kfw4%28v=vs.80%29.aspx">Pre- or Post-BuildEvents</a> section of your project file.</p> <p>However, because TFS will execute...
3, 733, 1066, 16341, 80988
continuous-integration, gruntjs, javascript, tfs, tfsbuild
<h1>Can I use Grunt with TFS?</h1> <p>My new project needs me to work with TFS + Git.</p> <p>Confession: I know nothing about TFS.</p> <p>I want to setup a build for my JavaScript project. I want to use Grunt.</p> <p>Is this possible? Has anybody used Grunt with 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,713
tvfc
# Can I use Grunt with TFS? My new project needs me to work with TFS + Git. Confession: I know nothing about TFS. I want to setup a build for my JavaScript project. I want to use Grunt. Is this possible? Has anybody used Grunt with TFS?
On our current project, we're using Grunt and TFS. I've integrated Grunt with TFS by caling it from a bat file which you can hook up in the [Pre- or Post-BuildEvents](http://msdn.microsoft.com/en-us/library/42x5kfw4%28v=vs.80%29.aspx) section of your project file. However, because TFS will execute your builds with spe...
67112327
Deleting & Recreating NTFS Journals (Or How to Properly run the 'fsutil usn' Command)
6
2021-04-15 16:26:10
<p>I have a <code>chkdsk</code> Stage 3 error (which relates to NTFS usn journals and security descriptors).</p> <p>Corrupted NTFS journals prevent <code>chkdsk /f</code> from running a repair of the volume. So <code>chkdsk</code> repairs won't run and this is not a solution.</p> <p>However, I have heard the corruptio...
14,909
5,618,307
2021-04-21 18:47:46
67,199,611
18
2021-04-21 16:14:52
5,618,307
2021-04-21 18:47:46
https://stackoverflow.com/q/67112327
https://stackoverflow.com/a/67199611
<p>OK, for the benefit of others, I will provide you with all the knowledge I have acquired which has helped me to resolve this issue.</p> <p>To recreate the NTFS USN journals, first delete, then recreate the journal.</p> <p><strong>Deleting The Journal</strong><br> You can delete the NTFS USN journal using...</p> <pre...
<p>OK, for the benefit of others, I will provide you with all the knowledge I have acquired which has helped me to resolve this issue.</p> <p>To recreate the NTFS USN journals, first delete, then recreate the journal.</p> <p><strong>Deleting The Journal</strong><br> You can delete the NTFS USN journal using...</p> <pre...
99, 3176, 4963, 10816, 62653
corruption, filesystems, fsutil, ntfs, window
<h1>Deleting & Recreating NTFS Journals (Or How to Properly run the 'fsutil usn' Command)</h1> <p>I have a <code>chkdsk</code> Stage 3 error (which relates to NTFS usn journals and security descriptors).</p> <p>Corrupted NTFS journals prevent <code>chkdsk /f</code> from running a repair of the volume. So <code>chkdsk<...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,714
tvfc
# Deleting & Recreating NTFS Journals (Or How to Properly run the 'fsutil usn' Command) I have a `chkdsk` Stage 3 error (which relates to NTFS usn journals and security descriptors). Corrupted NTFS journals prevent `chkdsk /f` from running a repair of the volume. So `chkdsk` repairs won't run and this is not a soluti...
OK, for the benefit of others, I will provide you with all the knowledge I have acquired which has helped me to resolve this issue. To recreate the NTFS USN journals, first delete, then recreate the journal. **Deleting The Journal** You can delete the NTFS USN journal using... ``` fsutil usn deletejournal /d /n c:...
755645
ASP.NET MVC 1.0 AfterBuilding Views fails on TFS Build
63
2009-04-16 11:07:00
<p>I've upgraded from ASP.NET MVC Beta to 1.0 and did the following changes to the MVC project (as descibed in the RC release notes):</p> <pre><code>&lt;Project ...&gt; ... &lt;MvcBuildViews&gt;true&lt;/MvcBuildViews&gt; ... &lt;Target Name="AfterBuild" Condition="'$(MvcBuildViews)'=='true'"&gt; &lt;AspNet...
14,645
91,516
2012-11-27 17:07:21
1,098,441
17
2009-07-08 14:24:50
78,815
2009-07-08 14:24:50
https://stackoverflow.com/q/755645
https://stackoverflow.com/a/1098441
<p>The problem stems from the fact that the AspNetCompiler MSBuild task used within the AfterBuild target of an ASP.NET MVC project expects to reference the dll's in the bin folder of the Web project.</p> <p>On a desktop build the bin folder is where you would expect it under your source tree.</p> <p>However TFS Team...
<p>The problem stems from the fact that the AspNetCompiler MSBuild task used within the AfterBuild target of an ASP.NET MVC project expects to reference the dll's in the bin folder of the Web project.</p> <p>On a desktop build the bin folder is where you would expect it under your source tree.</p> <p>However TFS Team...
96, 470, 16341
asp.net, asp.net-mvc, tfsbuild
<h1>ASP.NET MVC 1.0 AfterBuilding Views fails on TFS Build</h1> <p>I've upgraded from ASP.NET MVC Beta to 1.0 and did the following changes to the MVC project (as descibed in the RC release notes):</p> <pre><code>&lt;Project ...&gt; ... &lt;MvcBuildViews&gt;true&lt;/MvcBuildViews&gt; ... &lt;Target Name="After...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,715
tvfc
# ASP.NET MVC 1.0 AfterBuilding Views fails on TFS Build I've upgraded from ASP.NET MVC Beta to 1.0 and did the following changes to the MVC project (as descibed in the RC release notes): ``` <Project ...> ... <MvcBuildViews>true</MvcBuildViews> ... <Target Name="AfterBuild" Condition="'$(MvcBuildViews)'=='tr...
The problem stems from the fact that the AspNetCompiler MSBuild task used within the AfterBuild target of an ASP.NET MVC project expects to reference the dll's in the bin folder of the Web project. On a desktop build the bin folder is where you would expect it under your source tree. However TFS Teambuild compiles th...
1434554
Entity Framework Merge Nightmare
33
2009-09-16 17:58:17
<p>We've adopted the Entity Framework and we're finding that when multiple people make isolated changes in their individual source control branches, there are massive conflicts when they come together in a merge, resulting in broken model files.</p> <p>We're leaning in the direction of forcing exclusive check outs on ...
16,776
146,828
2019-10-30 06:34:46
6,381,934
17
2011-06-17 06:04:05
81,595
2016-05-03 08:50:59
https://stackoverflow.com/q/1434554
https://stackoverflow.com/a/6381934
<p><a href="http://community.embarcadero.com/component/easyblog/?view=entry&amp;id=4127:entity-framework-models-and-source-control-38542" rel="noreferrer">Craig Stuntz</a> does a good job of explaining that it is the designer related xml (the positions of entities and associations etc on the design surface) that causes...
<p><a href="http://community.embarcadero.com/component/easyblog/?view=entry&amp;id=4127:entity-framework-models-and-source-control-38542" rel="noreferrer">Craig Stuntz</a> does a good job of explaining that it is the designer related xml (the positions of entities and associations etc on the design surface) that causes...
456, 717, 733, 2535, 27250
edmx, entity-framework, merge, tfs, version-control
<h1>Entity Framework Merge Nightmare</h1> <p>We've adopted the Entity Framework and we're finding that when multiple people make isolated changes in their individual source control branches, there are massive conflicts when they come together in a merge, resulting in broken model files.</p> <p>We're leaning in the dir...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,717
tvfc
# Entity Framework Merge Nightmare We've adopted the Entity Framework and we're finding that when multiple people make isolated changes in their individual source control branches, there are massive conflicts when they come together in a merge, resulting in broken model files. We're leaning in the direction of forcin...
[Craig Stuntz](http://community.embarcadero.com/component/easyblog/?view=entry&id=4127:entity-framework-models-and-source-control-38542) does a good job of explaining that it is the designer related xml (the positions of entities and associations etc on the design surface) that causes most of the problems here. Conflic...
2341186
Safely delete a TFS branch project
27
2010-02-26 11:26:28
<p>I'm currently reorganising our TFS source control for a very large set of solutions, and I've done this successfully so far.</p> <p>I have a problem at the moment where I need to delete a legacy "Release Branch" TFS project that was branched for the old structure, and is no-longer required since I now host a releas...
38,772
209,668
2021-05-05 12:09:10
2,341,284
17
2010-02-26 11:42:41
67,392
2010-02-26 14:40:39
https://stackoverflow.com/q/2341186
https://stackoverflow.com/a/2341284
<p>In TFS you generally cannot permanently delete anything inside a team project (and <code>TfsDeleteProject</code> deletes a complete team project, but it is not clear if the source control content will actually be removed as a team project is just the top level of the source control tree).</p> <p>A delete of a file,...
<p>In TFS you generally cannot permanently delete anything inside a team project (and <code>TfsDeleteProject</code> deletes a complete team project, but it is not clear if the source control content will actually be removed as a team project is just the top level of the source control tree).</p> <p>A delete of a file,...
456, 733, 1879
branch, tfs, version-control
<h1>Safely delete a TFS branch project</h1> <p>I'm currently reorganising our TFS source control for a very large set of solutions, and I've done this successfully so far.</p> <p>I have a problem at the moment where I need to delete a legacy "Release Branch" TFS project that was branched for the old structure, and is ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,718
tvfc
# Safely delete a TFS branch project I'm currently reorganising our TFS source control for a very large set of solutions, and I've done this successfully so far. I have a problem at the moment where I need to delete a legacy "Release Branch" TFS project that was branched for the old structure, and is no-longer requir...
In TFS you generally cannot permanently delete anything inside a team project (and `TfsDeleteProject` deletes a complete team project, but it is not clear if the source control content will actually be removed as a team project is just the top level of the source control tree). A delete of a file, or whole set of file...
1400549
In .NET, how do I Create a Junction in NTFS, as opposed to a Symlink?
19
2009-09-09 15:56:25
<p>I'm trying to create an NTFS Junction. From the cmd line I can do this using the <a href="http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx" rel="noreferrer">junction.exe tool from sysinternals</a>. The output of a DIR cmd for a junction looks like this: </p> <pre><code> Volume in drive C has no label...
12,418
48,082
2021-07-28 07:52:42
1,401,719
17
2009-09-09 19:49:52
8,114
2009-09-23 01:51:10
https://stackoverflow.com/q/1400549
https://stackoverflow.com/a/1401719
<p>It looks like you can, and somebody's created a library on CodeProject that has a number of functions they've built in C# to work with Junction points.</p> <p><a href="http://www.codeproject.com/KB/files/JunctionPointsNet.aspx" rel="noreferrer">http://www.codeproject.com/KB/files/JunctionPointsNet.aspx</a></p> <p>...
<p>It looks like you can, and somebody's created a library on CodeProject that has a number of functions they've built in C# to work with Junction points.</p> <p><a href="http://www.codeproject.com/KB/files/JunctionPointsNet.aspx" rel="noreferrer">http://www.codeproject.com/KB/files/JunctionPointsNet.aspx</a></p> <p>...
1, 778, 889, 3176, 71327
.net, deviceiocontrol, ntfs, pinvoke, winapi
<h1>In .NET, how do I Create a Junction in NTFS, as opposed to a Symlink?</h1> <p>I'm trying to create an NTFS Junction. From the cmd line I can do this using the <a href="http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx" rel="noreferrer">junction.exe tool from sysinternals</a>. The output of a DIR cmd f...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,719
tvfc
# In .NET, how do I Create a Junction in NTFS, as opposed to a Symlink? I'm trying to create an NTFS Junction. From the cmd line I can do this using the [junction.exe tool from sysinternals](http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx). The output of a DIR cmd for a junction looks like this: ``` Vo...
It looks like you can, and somebody's created a library on CodeProject that has a number of functions they've built in C# to work with Junction points. <http://www.codeproject.com/KB/files/JunctionPointsNet.aspx> It looks like he's actually using the following DllImport to accomplish it: ``` [DllImport("kernel32...