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
9039866
How can I get SVN to take a specific resolution for all binary conflicts without prompting me for each one?
8
2012-01-27 20:49:35
<p>When running an <code>svn up</code> I regularly encounter this prompt:</p> <pre><code>Conflict discovered in 'lib/somelibrary.so'. Select: (p) postpone, (mf) mine-full, (tf) theirs-full, (s) show all options: </code></pre> <p>Hitting <code>s</code> reveals the options <code>mc</code> and <code>tc</...
5,943
507,761
2012-01-28 14:35:28
9,046,025
11
2012-01-28 14:35:28
1,101,036
2012-01-28 14:35:28
https://stackoverflow.com/q/9039866
https://stackoverflow.com/a/9046025
<p>To automatically resolve conflicts on <code>svn update</code>, <code>svn switch</code>, <code>svn merge</code>, use the <code>--accept</code> flag.</p> <p>From the <a href="http://svnbook.red-bean.com/en/1.7/svn-book.html#svn.ref.svn.sw.accept">SVN Book - svn options</a>:</p> <blockquote> <p><strong>--accept ACT...
<p>To automatically resolve conflicts on <code>svn update</code>, <code>svn switch</code>, <code>svn merge</code>, use the <code>--accept</code> flag.</p> <p>From the <a href="http://svnbook.red-bean.com/en/1.7/svn-book.html#svn.ref.svn.sw.accept">SVN Book - svn options</a>:</p> <blockquote> <p><strong>--accept ACT...
63, 3146, 31130
conflict, svn, svn-update
<h1>How can I get SVN to take a specific resolution for all binary conflicts without prompting me for each one?</h1> <p>When running an <code>svn up</code> I regularly encounter this prompt:</p> <pre><code>Conflict discovered in 'lib/somelibrary.so'. Select: (p) postpone, (mf) mine-full, (tf) theirs-full, ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,924
svn
# How can I get SVN to take a specific resolution for all binary conflicts without prompting me for each one? When running an `svn up` I regularly encounter this prompt: ``` Conflict discovered in 'lib/somelibrary.so'. Select: (p) postpone, (mf) mine-full, (tf) theirs-full, (s) show all options: ``` ...
To automatically resolve conflicts on `svn update`, `svn switch`, `svn merge`, use the `--accept` flag. From the [SVN Book - svn options](http://svnbook.red-bean.com/en/1.7/svn-book.html#svn.ref.svn.sw.accept): > **--accept ACTION** > Specifies an action for automatic conflict resolution. > Possible actions are pos...
7889801
Move SVN project within repository without checkout
8
2011-10-25 13:14:00
<p>Suppose you have this SVN repository structure</p> <pre><code>Root Foo Project1 Project2 Bar Project3 </code></pre> <p>And you want to move Project1 to the top level:</p> <pre><code>Root Foo Project2 Bar Project3 Project1 </code></pre> <p>The developers...
3,837
142,163
2016-02-15 16:04:46
7,889,940
11
2011-10-25 13:23:54
879,574
2011-10-25 13:23:54
https://stackoverflow.com/q/7889801
https://stackoverflow.com/a/7889940
<p>Best thing would be to do an SVN move, to move the Project1 under root, and do an SVN switch on the already checked out ones.</p> <p>Moving the Project1</p> <pre><code>svn move -m "message" http://&lt;svn-url&gt;/Foo/Project1 http://&lt;svn-url&gt;/Project1 </code></pre> <p>Switching already checked-out repositor...
<p>Best thing would be to do an SVN move, to move the Project1 under root, and do an SVN switch on the already checked out ones.</p> <p>Moving the Project1</p> <pre><code>svn move -m "message" http://&lt;svn-url&gt;/Foo/Project1 http://&lt;svn-url&gt;/Project1 </code></pre> <p>Switching already checked-out repositor...
63, 5634, 6922, 7330
move, project, repository, svn
<h1>Move SVN project within repository without checkout</h1> <p>Suppose you have this SVN repository structure</p> <pre><code>Root Foo Project1 Project2 Bar Project3 </code></pre> <p>And you want to move Project1 to the top level:</p> <pre><code>Root Foo Project2 Bar ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,925
svn
# Move SVN project within repository without checkout Suppose you have this SVN repository structure ``` Root Foo Project1 Project2 Bar Project3 ``` And you want to move Project1 to the top level: ``` Root Foo Project2 Bar Project3 Project1 ``` The develo...
Best thing would be to do an SVN move, to move the Project1 under root, and do an SVN switch on the already checked out ones. Moving the Project1 ``` svn move -m "message" http://<svn-url>/Foo/Project1 http://<svn-url>/Project1 ``` Switching already checked-out repositories on local machines ``` svn switch http://<...
5545989
SVN command line: svnlook history mypath, can't open file
8
2011-04-05 00:50:56
<p>I use this command to display the history of commits.</p> <p><code>svnlook history -r 2 mypath</code></p> <p>and I get this:</p> <p><code>svnlook: Can't open file 'mypath/format': No such file or directory</code></p> <p>I'm sure that "mypath" is correct. I also tried going into deeper directories. I tried with a...
10,391
672,226
2013-05-30 19:35:33
6,948,278
11
2011-08-04 20:44:28
319,006
2013-05-30 19:35:33
https://stackoverflow.com/q/5545989
https://stackoverflow.com/a/6948278
<p>The <code>svnlook</code> command is used on the server that is hosting the repository (i.e., it's not what you need).</p> <p>You can use <code>svn</code> to query the working copy for what data you're looking for. Refer to <a href="http://svnbook.red-bean.com/en/1.5/svn.tour.history.html" rel="noreferrer">http://s...
<p>The <code>svnlook</code> command is used on the server that is hosting the repository (i.e., it's not what you need).</p> <p>You can use <code>svn</code> to query the working copy for what data you're looking for. Refer to <a href="http://svnbook.red-bean.com/en/1.5/svn.tour.history.html" rel="noreferrer">http://s...
63, 49514
svn, svnlook
<h1>SVN command line: svnlook history mypath, can't open file</h1> <p>I use this command to display the history of commits.</p> <p><code>svnlook history -r 2 mypath</code></p> <p>and I get this:</p> <p><code>svnlook: Can't open file 'mypath/format': No such file or directory</code></p> <p>I'm sure that "mypath" is ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,926
svn
# SVN command line: svnlook history mypath, can't open file I use this command to display the history of commits. `svnlook history -r 2 mypath` and I get this: `svnlook: Can't open file 'mypath/format': No such file or directory` I'm sure that "mypath" is correct. I also tried going into deeper directories. I trie...
The `svnlook` command is used on the server that is hosting the repository (i.e., it's not what you need). You can use `svn` to query the working copy for what data you're looking for. Refer to <http://svnbook.red-bean.com/en/1.5/svn.tour.history.html> and check out `svn log` or `svn diff` to get a history of the chan...
4744142
Synchronize a SVN repository and later make it independent (copy a repository)
8
2011-01-20 06:33:46
<p>I am synchronizing an SVN repository between two systems using svnsync and I am not 100% sure if its possible to make it independent for my "new users" after the sync is finished.</p> <p>What do I need to do to make it a completely independent entity? Is it enough just to change the passwd file?</p>
2,150
878,354
2011-01-21 11:03:34
4,750,637
11
2011-01-20 17:48:18
52,626
2011-01-21 11:03:34
https://stackoverflow.com/q/4744142
https://stackoverflow.com/a/4750637
<blockquote> <p>What do I need to do to make it a completely independent entity?</p> </blockquote> <p>The only link between the new repository and the original are a number of revision properties that are used by <code>svnsync synchronize</code>. You can safely remove those like this:</p> <pre><code>svn propdel --r...
<blockquote> <p>What do I need to do to make it a completely independent entity?</p> </blockquote> <p>The only link between the new repository and the original are a number of revision properties that are used by <code>svnsync synchronize</code>. You can safely remove those like this:</p> <pre><code>svn propdel --r...
63, 7330, 13553
repository, svn, svnsync
<h1>Synchronize a SVN repository and later make it independent (copy a repository)</h1> <p>I am synchronizing an SVN repository between two systems using svnsync and I am not 100% sure if its possible to make it independent for my "new users" after the sync is finished.</p> <p>What do I need to do to make it a complet...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,928
svn
# Synchronize a SVN repository and later make it independent (copy a repository) I am synchronizing an SVN repository between two systems using svnsync and I am not 100% sure if its possible to make it independent for my "new users" after the sync is finished. What do I need to do to make it a completely independent ...
> What do I need to do to make it a completely independent entity? The only link between the new repository and the original are a number of revision properties that are used by `svnsync synchronize`. You can safely remove those like this: ``` svn propdel --revprop -r 0 svn:sync-from-uuid http://svn.example.com svn p...
2366421
Auto-Back Up of Subversion Repository
8
2010-03-02 20:16:09
<p>How do I backup my Subversion Repository nightly? I have a network drive I'd like to dump the repository to on a nightly basis.</p>
5,930
77,538
2013-05-29 10:29:33
2,366,437
11
2010-03-02 20:18:15
187,606
2010-03-02 21:24:41
https://stackoverflow.com/q/2366421
https://stackoverflow.com/a/2366437
<p>Check out the <a href="http://svnbook.red-bean.com/en/1.5/svn.reposadmin.maint.html" rel="noreferrer"><strong>Repository Maintenance</strong></a> chapter in The Book on how to pull a dump out of the repository. Then use a timed service (<code>at</code> or <code>cron</code> for example, or the very nice task schedule...
<p>Check out the <a href="http://svnbook.red-bean.com/en/1.5/svn.reposadmin.maint.html" rel="noreferrer"><strong>Repository Maintenance</strong></a> chapter in The Book on how to pull a dump out of the repository. Then use a timed service (<code>at</code> or <code>cron</code> for example, or the very nice task schedule...
63, 493
backup, svn
<h1>Auto-Back Up of Subversion Repository</h1> <p>How do I backup my Subversion Repository nightly? I have a network drive I'd like to dump the repository to on a nightly basis.</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,930
svn
# Auto-Back Up of Subversion Repository How do I backup my Subversion Repository nightly? I have a network drive I'd like to dump the repository to on a nightly basis.
Check out the [**Repository Maintenance**](http://svnbook.red-bean.com/en/1.5/svn.reposadmin.maint.html) chapter in The Book on how to pull a dump out of the repository. Then use a timed service (`at` or `cron` for example, or the very nice task scheduler in Windows OS's, depends on your server's system) to execute the...
2252063
How do I remove all traces of a file from Subversion?
8
2010-02-12 13:30:44
<p>Is it possible to remove a file, with all version history, from SVN? For instance if you add a file with confidential financial information simply to have it backed up, and then realise it's in a SVN sub-directory all your developers can see...</p>
542
197,229
2010-02-15 07:47:03
2,252,081
11
2010-02-12 13:34:24
75,170
2010-02-12 13:34:24
https://stackoverflow.com/q/2252063
https://stackoverflow.com/a/2252081
<p>Yes, but it's not easy. You must be an administrator on the server where the Subversion server is running. Then use <code>svnadmin dump</code> to dump the repository, and <code>svndumpfilter</code> to exclude the appropriate file, and then reconstitute the repository. This is a costly and expensive operation which w...
<p>Yes, but it's not easy. You must be an administrator on the server where the Subversion server is running. Then use <code>svnadmin dump</code> to dump the repository, and <code>svndumpfilter</code> to exclude the appropriate file, and then reconstitute the repository. This is a costly and expensive operation which w...
63
svn
<h1>How do I remove all traces of a file from Subversion?</h1> <p>Is it possible to remove a file, with all version history, from SVN? For instance if you add a file with confidential financial information simply to have it backed up, and then realise it's in a SVN sub-directory all your developers can see...</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,931
svn
# How do I remove all traces of a file from Subversion? Is it possible to remove a file, with all version history, from SVN? For instance if you add a file with confidential financial information simply to have it backed up, and then realise it's in a SVN sub-directory all your developers can see...
Yes, but it's not easy. You must be an administrator on the server where the Subversion server is running. Then use `svnadmin dump` to dump the repository, and `svndumpfilter` to exclude the appropriate file, and then reconstitute the repository. This is a costly and expensive operation which will take a long time for ...
20610783
svn repository checkout without branches
7
2013-12-16 12:17:36
<p>I have to checkout a repository that has 8 branches which I don't wont to download each branch size ~400MB. Only need to checkout the folder structure and the trunk. </p> <pre><code>repo/trunk repo/tags/&lt;do not download content of this directory&gt; repo/branches/&lt;do not download content of this directory&gt;...
2,883
625,144
2013-12-16 12:23:02
20,610,882
11
2013-12-16 12:23:02
1,324,345
2013-12-16 12:23:02
https://stackoverflow.com/q/20610783
https://stackoverflow.com/a/20610882
<p>You want to use Subversion's <a href="http://svnbook.red-bean.com/en/1.7/svn.advanced.sparsedirs.html">sparse directories</a> feature.</p> <pre><code>svn co --depth immediates URL_TO_REPOSITORY PATH_TO_WORKING_COPY svn update --set-depth infinity PATH_TO_WORKING_COPY/trunk </code></pre> <p>Or, just check out the <...
<p>You want to use Subversion's <a href="http://svnbook.red-bean.com/en/1.7/svn.advanced.sparsedirs.html">sparse directories</a> feature.</p> <pre><code>svn co --depth immediates URL_TO_REPOSITORY PATH_TO_WORKING_COPY svn update --set-depth infinity PATH_TO_WORKING_COPY/trunk </code></pre> <p>Or, just check out the <...
63, 456
svn, version-control
<h1>svn repository checkout without branches</h1> <p>I have to checkout a repository that has 8 branches which I don't wont to download each branch size ~400MB. Only need to checkout the folder structure and the trunk. </p> <pre><code>repo/trunk repo/tags/&lt;do not download content of this directory&gt; repo/branches...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,936
svn
# svn repository checkout without branches I have to checkout a repository that has 8 branches which I don't wont to download each branch size ~400MB. Only need to checkout the folder structure and the trunk. ``` repo/trunk repo/tags/<do not download content of this directory> repo/branches/<do not download content o...
You want to use Subversion's [sparse directories](http://svnbook.red-bean.com/en/1.7/svn.advanced.sparsedirs.html) feature. ``` svn co --depth immediates URL_TO_REPOSITORY PATH_TO_WORKING_COPY svn update --set-depth infinity PATH_TO_WORKING_COPY/trunk ``` Or, just check out the `trunk` directory, if you're not going ...
11878258
how can I get the SVN head version number in shell?
7
2012-08-09 06:58:32
<p>I use svn in command line. How can I get the head version number in command line. I need the number,not only to see the info . I want to use this number to build my project automatic.</p>
8,096
786,791
2023-01-23 09:42:54
11,878,545
11
2012-08-09 07:21:15
298,455
2023-01-23 09:42:54
https://stackoverflow.com/q/11878258
https://stackoverflow.com/a/11878545
<p>As the comment below mentioned, this can be achieved by the following command in the newer SVN clients:</p> <pre class="lang-bash prettyprint-override"><code>svn info -rHEAD --show-item revision </code></pre> <hr /> <p><em>Original Answer</em></p> <p>Here is simple shell script thingy for you. Execute: <code>svn inf...
<p>As the comment below mentioned, this can be achieved by the following command in the newer SVN clients:</p> <pre class="lang-bash prettyprint-override"><code>svn info -rHEAD --show-item revision </code></pre> <hr /> <p><em>Original Answer</em></p> <p>Here is simple shell script thingy for you. Execute: <code>svn inf...
63
svn
<h1>how can I get the SVN head version number in shell?</h1> <p>I use svn in command line. How can I get the head version number in command line. I need the number,not only to see the info . I want to use this number to build my project automatic.</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,937
svn
# how can I get the SVN head version number in shell? I use svn in command line. How can I get the head version number in command line. I need the number,not only to see the info . I want to use this number to build my project automatic.
As the comment below mentioned, this can be achieved by the following command in the newer SVN clients: ``` svn info -rHEAD --show-item revision ``` --- *Original Answer* Here is simple shell script thingy for you. Execute: `svn info -rHEAD | grep Revision | cut -d' ' -f2` See it in action: ``` main$ svn info -rH...
4103830
How can I un-delete an uncommitted `svn rm foo`?
7
2010-11-05 05:43:35
<p>I've used <code>svn rm foo</code> on a number of files that I now no longer want to delete. I haven't yet committed the changes. How do I nullify the <code>svn rm</code> commands, either file-by-file or in one fell swoop?</p> <p>I know how to restore deleted files that have been removed from the repo, but I don't w...
1,514
165,716
2010-11-05 05:47:30
4,103,843
11
2010-11-05 05:47:17
399,815
2010-11-05 05:47:17
https://stackoverflow.com/q/4103830
https://stackoverflow.com/a/4103843
<p><code>svn revert whateveryoudeleted</code></p>
<p><code>svn revert whateveryoudeleted</code></p>
63
svn
<h1>How can I un-delete an uncommitted `svn rm foo`?</h1> <p>I've used <code>svn rm foo</code> on a number of files that I now no longer want to delete. I haven't yet committed the changes. How do I nullify the <code>svn rm</code> commands, either file-by-file or in one fell swoop?</p> <p>I know how to restore deleted...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,938
svn
# How can I un-delete an uncommitted `svn rm foo`? I've used `svn rm foo` on a number of files that I now no longer want to delete. I haven't yet committed the changes. How do I nullify the `svn rm` commands, either file-by-file or in one fell swoop? I know how to restore deleted files that have been removed from the...
`svn revert whateveryoudeleted`
3456930
How to update the svn properties but not all files of a folder
7
2010-08-11 09:14:44
<p>In my coding environment I've got a dev, test and production machine. Sometimes I have to add files to svn:ignore for all machines. But if I want to update these properties, I have to make an update on a whole folder instead of only some stable files.</p> <p>Is there any chance to get only the update of the folder ...
3,045
299,375
2010-08-23 15:02:45
3,548,810
11
2010-08-23 15:02:45
383,793
2010-08-23 15:02:45
https://stackoverflow.com/q/3456930
https://stackoverflow.com/a/3548810
<p><code>svn update --depth empty &lt;path&gt;</code> will do that.</p> <p>The deprecated <code>svn update --non-recursive &lt;path&gt;</code> suggested in a different answer also updates the directory-contents too; just like you suspected.</p>
<p><code>svn update --depth empty &lt;path&gt;</code> will do that.</p> <p>The deprecated <code>svn update --non-recursive &lt;path&gt;</code> suggested in a different answer also updates the directory-contents too; just like you suspected.</p>
63, 4898
properties, svn
<h1>How to update the svn properties but not all files of a folder</h1> <p>In my coding environment I've got a dev, test and production machine. Sometimes I have to add files to svn:ignore for all machines. But if I want to update these properties, I have to make an update on a whole folder instead of only some stable ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,939
svn
# How to update the svn properties but not all files of a folder In my coding environment I've got a dev, test and production machine. Sometimes I have to add files to svn:ignore for all machines. But if I want to update these properties, I have to make an update on a whole folder instead of only some stable files. I...
`svn update --depth empty <path>` will do that. The deprecated `svn update --non-recursive <path>` suggested in a different answer also updates the directory-contents too; just like you suspected.
2729556
Svn log - svn: '.' is not a working copy
7
2010-04-28 12:55:31
<p>I'm getting "svn: '.' is not a working copy" when i use the svn log command. </p> <p>I know that i need a working copy for the log command to work but can this be done directly on a repository? </p> <p>My goal is to display the information (change history) of a repository. I think updating the working copy wheneve...
7,953
324,238
2013-08-16 18:43:17
2,729,586
11
2010-04-28 12:59:10
125,871
2010-04-28 12:59:10
https://stackoverflow.com/q/2729556
https://stackoverflow.com/a/2729586
<p>Try <code>svn log [repository_url]</code></p> <p>That will get the log of a particular repository rather than the local, checked-out repository.</p> <p>See <a href="http://svnbook.red-bean.com/en/1.0/re15.html" rel="noreferrer">this documentation</a>.</p>
<p>Try <code>svn log [repository_url]</code></p> <p>That will get the log of a particular repository rather than the local, checked-out repository.</p> <p>See <a href="http://svnbook.red-bean.com/en/1.0/re15.html" rel="noreferrer">this documentation</a>.</p>
63, 942, 7330, 19697
logging, repository, svn, working-copy
<h1>Svn log - svn: '.' is not a working copy</h1> <p>I'm getting "svn: '.' is not a working copy" when i use the svn log command. </p> <p>I know that i need a working copy for the log command to work but can this be done directly on a repository? </p> <p>My goal is to display the information (change history) of a rep...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,940
svn
# Svn log - svn: '.' is not a working copy I'm getting "svn: '.' is not a working copy" when i use the svn log command. I know that i need a working copy for the log command to work but can this be done directly on a repository? My goal is to display the information (change history) of a repository. I think updating...
Try `svn log [repository_url]` That will get the log of a particular repository rather than the local, checked-out repository. See [this documentation](http://svnbook.red-bean.com/en/1.0/re15.html).
795096
How to programatically do file versioning with SVN and .NET?
7
2009-04-27 20:14:08
<p>We have a report generator. Daily, it writes its data into a Excel file.</p> <p>For reasons of version controlling and file data safety, we need to alter this file, and commit the changes into a repository.</p> <p>Do you recommend any .net SVN API you've used?</p>
5,341
21,668
2024-07-24 18:05:39
795,183
11
2009-04-27 20:36:10
5,555
2009-04-27 20:36:10
https://stackoverflow.com/q/795096
https://stackoverflow.com/a/795183
<p>You should take a look at the <a href="http://sharpsvn.net/" rel="noreferrer">SharpSvn</a> .NET library. You will probably need checkout and commit commands:</p> <p>Checking out:</p> <pre><code>string wcPath = "c:\\my working copy"; using (SvnClient client = new SvnClient()) { client.CheckOut(new Uri("http://s...
<p>You should take a look at the <a href="http://sharpsvn.net/" rel="noreferrer">SharpSvn</a> .NET library. You will probably need checkout and commit commands:</p> <p>Checking out:</p> <pre><code>string wcPath = "c:\\my working copy"; using (SvnClient client = new SvnClient()) { client.CheckOut(new Uri("http://s...
1, 9, 63, 64136
.net, c#, c#-3.0, svn
<h1>How to programatically do file versioning with SVN and .NET?</h1> <p>We have a report generator. Daily, it writes its data into a Excel file.</p> <p>For reasons of version controlling and file data safety, we need to alter this file, and commit the changes into a repository.</p> <p>Do you recommend any .net SVN API...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,942
svn
# How to programatically do file versioning with SVN and .NET? We have a report generator. Daily, it writes its data into a Excel file. For reasons of version controlling and file data safety, we need to alter this file, and commit the changes into a repository. Do you recommend any .net SVN API you've used?
You should take a look at the [SharpSvn](http://sharpsvn.net/) .NET library. You will probably need checkout and commit commands: Checking out: ``` string wcPath = "c:\\my working copy"; using (SvnClient client = new SvnClient()) { client.CheckOut(new Uri("http://server/path/to/repos"), wcPath); } ``` Committing...
705054
Where do you put your app-config-files when deploying rails with capistrano and svn
7
2009-04-01 11:17:45
<p>I have two config-files</p> <pre><code>/app/config/database.yml </code></pre> <p>and</p> <pre><code>/app/config/userconfig.yml </code></pre> <p>i don't want to put the database credentials and userconfig in the svn-repository, so i have database.yml.dist and userconfig.yml.dist checked in.</p> <p>What is the be...
3,942
53,800
2014-04-10 11:09:32
706,985
11
2009-04-01 19:22:51
1,191
2009-04-01 19:22:51
https://stackoverflow.com/q/705054
https://stackoverflow.com/a/706985
<p>You should place your config files in</p> <pre><code>/path/to/deployed_app/shared </code></pre> <p>Then in a capistrano task, sym link to those files:</p> <pre><code>namespace :deploy do task :symlink_shared do run "ln -s #{shared_path}/database.yml #{release_path}/config/" end end before "deploy:restart...
<p>You should place your config files in</p> <pre><code>/path/to/deployed_app/shared </code></pre> <p>Then in a capistrano task, sym link to those files:</p> <pre><code>namespace :deploy do task :symlink_shared do run "ln -s #{shared_path}/database.yml #{release_path}/config/" end end before "deploy:restart...
63, 190, 2831, 4984, 9084
capistrano, configuration-files, deployment, ruby-on-rails, svn
<h1>Where do you put your app-config-files when deploying rails with capistrano and svn</h1> <p>I have two config-files</p> <pre><code>/app/config/database.yml </code></pre> <p>and</p> <pre><code>/app/config/userconfig.yml </code></pre> <p>i don't want to put the database credentials and userconfig in the svn-repos...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,943
svn
# Where do you put your app-config-files when deploying rails with capistrano and svn I have two config-files ``` /app/config/database.yml ``` and ``` /app/config/userconfig.yml ``` i don't want to put the database credentials and userconfig in the svn-repository, so i have database.yml.dist and userconfig.yml.dis...
You should place your config files in ``` /path/to/deployed_app/shared ``` Then in a capistrano task, sym link to those files: ``` namespace :deploy do task :symlink_shared do run "ln -s #{shared_path}/database.yml #{release_path}/config/" end end before "deploy:restart", "deploy:symlink_shared" ```
662898
What to do with multiple projects depending on the same source?
7
2009-03-19 16:19:37
<p>This is something I've come across twice in the past month and I'm not even certain how to phrase this as a Google query.</p> <p>I'm actually using SVN for all of this, but it seems like this should be a general versioning problem.</p> <p>We have two projects and one of them is dependent on some of the other's cod...
12,498
57,191
2009-03-26 09:17:02
662,905
11
2009-03-19 16:21:02
3,043
2009-03-20 13:30:32
https://stackoverflow.com/q/662898
https://stackoverflow.com/a/662905
<p>Look into <a href="https://stackoverflow.com/questions/663155/how-to-get-started-with-svnexternals"><code>svn:externals</code></a></p>
<p>Look into <a href="https://stackoverflow.com/questions/663155/how-to-get-started-with-svnexternals"><code>svn:externals</code></a></p>
63, 456
svn, version-control
<h1>What to do with multiple projects depending on the same source?</h1> <p>This is something I've come across twice in the past month and I'm not even certain how to phrase this as a Google query.</p> <p>I'm actually using SVN for all of this, but it seems like this should be a general versioning problem.</p> <p>We ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,944
svn
# What to do with multiple projects depending on the same source? This is something I've come across twice in the past month and I'm not even certain how to phrase this as a Google query. I'm actually using SVN for all of this, but it seems like this should be a general versioning problem. We have two projects and o...
Look into [`svn:externals`](https://stackoverflow.com/questions/663155/how-to-get-started-with-svnexternals)
626399
Folders to ignore on subversion commit
7
2009-03-09 14:15:00
<p>Which folders may I not commit to subversion server? </p> <p>I'm talking about an standard asp.net web application in Visual Studio 2.008. I think the bin folder because it's files are regenerated, is there any other?</p>
3,344
32,173
2012-11-29 13:24:28
626,425
11
2009-03-09 14:21:14
2,972
2009-03-09 14:21:14
https://stackoverflow.com/q/626399
https://stackoverflow.com/a/626425
<p>We put this string as the svn:ignore property on all our projects:</p> <pre><code>*.pdb *.exe *.dll debug/* release/* *.user *.suo obj/* bin/* obj bin VSMacros80 </code></pre>
<p>We put this string as the svn:ignore property on all our projects:</p> <pre><code>*.pdb *.exe *.dll debug/* release/* *.user *.suo obj/* bin/* obj bin VSMacros80 </code></pre>
63, 96, 33953
asp.net, svn, visual-studio
<h1>Folders to ignore on subversion commit</h1> <p>Which folders may I not commit to subversion server? </p> <p>I'm talking about an standard asp.net web application in Visual Studio 2.008. I think the bin folder because it's files are regenerated, is there any other?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,945
svn
# Folders to ignore on subversion commit Which folders may I not commit to subversion server? I'm talking about an standard asp.net web application in Visual Studio 2.008. I think the bin folder because it's files are regenerated, is there any other?
We put this string as the svn:ignore property on all our projects: ``` *.pdb *.exe *.dll debug/* release/* *.user *.suo obj/* bin/* obj bin VSMacros80 ```
386265
TortoiseSVN is showing the Question mark decorators
7
2008-12-22 13:42:00
<p>At the root of my d: drive, TortoiseSVN is showing the question mark decorators on all the folders. The d: drive is not a SVN working copy. How do I remove the decorators?</p>
17,834
6,013
2017-06-20 05:44:03
386,279
11
2008-12-22 13:49:47
8,709
2008-12-22 13:56:53
https://stackoverflow.com/q/386265
https://stackoverflow.com/a/386279
<p>TSVNCache, which TortoiseSVN uses to keep those icons uptodate, doesn't always make the correct choices about which directories need decoration. You can limit which directories it will consider by:</p> <ul> <li>In <strong>TortoiseSVN|Settings|Look and Feel|Icon Overlays</strong> </li> <li><p>In the <strong>Drive T...
<p>TSVNCache, which TortoiseSVN uses to keep those icons uptodate, doesn't always make the correct choices about which directories need decoration. You can limit which directories it will consider by:</p> <ul> <li>In <strong>TortoiseSVN|Settings|Look and Feel|Icon Overlays</strong> </li> <li><p>In the <strong>Drive T...
63, 277, 656
debugging, svn, tortoisesvn
<h1>TortoiseSVN is showing the Question mark decorators</h1> <p>At the root of my d: drive, TortoiseSVN is showing the question mark decorators on all the folders. The d: drive is not a SVN working copy. How do I remove the decorators?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,946
svn
# TortoiseSVN is showing the Question mark decorators At the root of my d: drive, TortoiseSVN is showing the question mark decorators on all the folders. The d: drive is not a SVN working copy. How do I remove the decorators?
TSVNCache, which TortoiseSVN uses to keep those icons uptodate, doesn't always make the correct choices about which directories need decoration. You can limit which directories it will consider by: - In **TortoiseSVN|Settings|Look and Feel|Icon Overlays** - In the **Drive Types** section - Mark the drive types ...
45979672
SVN not working in command line
6
2017-08-31 10:50:39
<p>I work with Eclipse and use SVN as a VersionControlSystem. I also have TortoiseSVN installed on my PC. </p> <p>When I'm updating or commiting via mouse by right-click and the Team list option everything works. But I read, that it is even easier to use the command prompt.</p> <p>Now when I try ty input <code>svn --...
22,508
7,838,332
2020-09-14 10:41:10
45,980,542
11
2017-08-31 11:36:36
1,324,345
2020-09-14 10:41:10
https://stackoverflow.com/q/45979672
https://stackoverflow.com/a/45980542
<p>You can fix this by re-running the Tortoise SVN installer and opting to install the command-line utilities. If you've previously done this and it's still not working (even after a reboot), then you'll need to add <code>C:\Program Files\TortoiseSVN\bin</code> (or whatever is the appropriate path to your TortoiseSVN i...
<p>You can fix this by re-running the Tortoise SVN installer and opting to install the command-line utilities. If you've previously done this and it's still not working (even after a reboot), then you'll need to add <code>C:\Program Files\TortoiseSVN\bin</code> (or whatever is the appropriate path to your TortoiseSVN i...
63, 656
svn, tortoisesvn
<h1>SVN not working in command line</h1> <p>I work with Eclipse and use SVN as a VersionControlSystem. I also have TortoiseSVN installed on my PC. </p> <p>When I'm updating or commiting via mouse by right-click and the Team list option everything works. But I read, that it is even easier to use the command prompt.</p>...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,947
svn
# SVN not working in command line I work with Eclipse and use SVN as a VersionControlSystem. I also have TortoiseSVN installed on my PC. When I'm updating or commiting via mouse by right-click and the Team list option everything works. But I read, that it is even easier to use the command prompt. Now when I try ty i...
You can fix this by re-running the Tortoise SVN installer and opting to install the command-line utilities. If you've previously done this and it's still not working (even after a reboot), then you'll need to add `C:\Program Files\TortoiseSVN\bin` (or whatever is the appropriate path to your TortoiseSVN installation) t...
11691391
svn:ignore not ignoring xcuserdata
6
2012-07-27 15:53:25
<p>I am using the svn:ignore property for the first time, so I may be misunderstanding something.</p> <p>I am working on an iOS application. I have an Xcode project and I want to ignore the xcuserdata folder. Using the Mac Terminal application, I go to the root of my svn repository and try to ignore the folder using:<...
6,426
472,344
2017-09-19 16:56:21
11,691,698
11
2012-07-27 16:14:34
1,506,440
2012-07-27 16:14:34
https://stackoverflow.com/q/11691391
https://stackoverflow.com/a/11691698
<p>I think you want:</p> <pre><code>svn propset svn:ignore xcuserdata path/to/my/folder/MyProject.xcodeproj </code></pre> <p>ie you want to ignore <code>xcuserdata</code> at the path.</p>
<p>I think you want:</p> <pre><code>svn propset svn:ignore xcuserdata path/to/my/folder/MyProject.xcodeproj </code></pre> <p>ie you want to ignore <code>xcuserdata</code> at the path.</p>
63, 908
svn, xcode
<h1>svn:ignore not ignoring xcuserdata</h1> <p>I am using the svn:ignore property for the first time, so I may be misunderstanding something.</p> <p>I am working on an iOS application. I have an Xcode project and I want to ignore the xcuserdata folder. Using the Mac Terminal application, I go to the root of my svn rep...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,950
svn
# svn:ignore not ignoring xcuserdata I am using the svn:ignore property for the first time, so I may be misunderstanding something. I am working on an iOS application. I have an Xcode project and I want to ignore the xcuserdata folder. Using the Mac Terminal application, I go to the root of my svn repository and try ...
I think you want: ``` svn propset svn:ignore xcuserdata path/to/my/folder/MyProject.xcodeproj ``` ie you want to ignore `xcuserdata` at the path.
8121880
How can i create a branch in svn using SharpSVN
6
2011-11-14 12:53:25
<p>I am using SharpSVN to access my subversion repository using SharpSVN, i need a means to create a branch programatically using SharpSVN, how is this done!!</p>
1,799
626,308
2011-11-16 11:46:42
8,151,130
11
2011-11-16 11:46:42
2,094
2011-11-16 11:46:42
https://stackoverflow.com/q/8121880
https://stackoverflow.com/a/8151130
<p>Usually a branch is created with <code>svn copy &lt;path&gt; &lt;URL&gt;</code> or <code>svn copy &lt;URL1&gt; &lt;URL2&gt;</code>.</p> <p>With SharpSvn you can perform this operation using <code>SvnClient.RemoteCopy()</code>. The function <code>SvnClient.Copy()</code> is only used when the target is a local path.<...
<p>Usually a branch is created with <code>svn copy &lt;path&gt; &lt;URL&gt;</code> or <code>svn copy &lt;URL1&gt; &lt;URL2&gt;</code>.</p> <p>With SharpSvn you can perform this operation using <code>SvnClient.RemoteCopy()</code>. The function <code>SvnClient.Copy()</code> is only used when the target is a local path.<...
1, 16557
.net, sharpsvn
<h1>How can i create a branch in svn using SharpSVN</h1> <p>I am using SharpSVN to access my subversion repository using SharpSVN, i need a means to create a branch programatically using SharpSVN, how is this done!!</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,951
svn
# How can i create a branch in svn using SharpSVN I am using SharpSVN to access my subversion repository using SharpSVN, i need a means to create a branch programatically using SharpSVN, how is this done!!
Usually a branch is created with `svn copy <path> <URL>` or `svn copy <URL1> <URL2>`. With SharpSvn you can perform this operation using `SvnClient.RemoteCopy()`. The function `SvnClient.Copy()` is only used when the target is a local path.
7985426
AnkhSVN Upgrade causing problems: Working copy too old (format 10, created by Subversion 1.6)
6
2011-11-02 18:25:41
<p>I just upgraded to AnkhSVN 2.3.10509.1073 and now if I try to commit via VS2010, I get the error:</p> <blockquote> <p>Working copy</p> <p>'C:\path\to\build' is too old</p> <p>(format 10, created by Subversion 1.6)</p> </blockquote> <p>Any idea how I can get this working?</p> <p>I was previously using Ankh 2.1.10129....
12,118
14,777
2013-11-24 09:02:44
7,985,498
11
2011-11-02 18:30:38
401,728
2012-02-04 00:20:50
https://stackoverflow.com/q/7985426
https://stackoverflow.com/a/7985498
<p>Ankh 2.3 use SVN 1.7 that has a new working copy format. You need to upgrade your working copy manually.</p> <p>You need to run <code>svn upgrade</code> from a command line on your working copy or right click->'Upgrade Working Copy' in AnkhSVN</p>
<p>Ankh 2.3 use SVN 1.7 that has a new working copy format. You need to upgrade your working copy manually.</p> <p>You need to run <code>svn upgrade</code> from a command line on your working copy or right click->'Upgrade Working Copy' in AnkhSVN</p>
63, 2018, 14456, 33953
ankhsvn, svn, visual-studio, visual-studio-2010
<h1>AnkhSVN Upgrade causing problems: Working copy too old (format 10, created by Subversion 1.6)</h1> <p>I just upgraded to AnkhSVN 2.3.10509.1073 and now if I try to commit via VS2010, I get the error:</p> <blockquote> <p>Working copy</p> <p>'C:\path\to\build' is too old</p> <p>(format 10, created by Subversion 1.6)<...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,952
svn
# AnkhSVN Upgrade causing problems: Working copy too old (format 10, created by Subversion 1.6) I just upgraded to AnkhSVN 2.3.10509.1073 and now if I try to commit via VS2010, I get the error: > Working copy > > 'C:\path\to\build' is too old > > (format 10, created by Subversion 1.6) Any idea how I can get this wor...
Ankh 2.3 use SVN 1.7 that has a new working copy format. You need to upgrade your working copy manually. You need to run `svn upgrade` from a command line on your working copy or right click->'Upgrade Working Copy' in AnkhSVN
4160783
"Merge" new file in trunk into a branch
6
2010-11-12 01:08:59
<p>This should be trivial and obvious but I can't find any examples of this. (I'm certain that's because I'm just searching for the wrong words.)</p> <p>I need to merge a file from the trunk of my repository down into a branch. The file is new in the trunk, and not yet in the branch; therefore, the normal way that I k...
9,282
182,668
2015-05-05 03:59:20
4,160,807
11
2010-11-12 01:14:23
47,552
2010-11-12 01:14:23
https://stackoverflow.com/q/4160783
https://stackoverflow.com/a/4160807
<p>You can do something like <code>svn cp ^/trunk/file1 ^/branches/mybranch/file1</code> to copy individual files from the trunk to the branch.</p>
<p>You can do something like <code>svn cp ^/trunk/file1 ^/branches/mybranch/file1</code> to copy individual files from the trunk to the branch.</p>
63, 717
merge, svn
<h1>"Merge" new file in trunk into a branch</h1> <p>This should be trivial and obvious but I can't find any examples of this. (I'm certain that's because I'm just searching for the wrong words.)</p> <p>I need to merge a file from the trunk of my repository down into a branch. The file is new in the trunk, and not yet ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,954
svn
# "Merge" new file in trunk into a branch This should be trivial and obvious but I can't find any examples of this. (I'm certain that's because I'm just searching for the wrong words.) I need to merge a file from the trunk of my repository down into a branch. The file is new in the trunk, and not yet in the branch; t...
You can do something like `svn cp ^/trunk/file1 ^/branches/mybranch/file1` to copy individual files from the trunk to the branch.
3671057
svn log first 10 only
6
2010-09-08 19:03:21
<p>how do I get the first 10 entries on svn log for a file svn log myfile.php</p> <p>thanks</p>
3,014
295,189
2010-09-08 19:26:35
3,671,081
11
2010-09-08 19:06:51
40,468
2010-09-08 19:06:51
https://stackoverflow.com/q/3671057
https://stackoverflow.com/a/3671081
<p>As described in <a href="http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.log.html" rel="noreferrer">the manual</a>:</p> <p><code>svn log -l10 myfile.php</code></p>
<p>As described in <a href="http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.log.html" rel="noreferrer">the manual</a>:</p> <p><code>svn log -l10 myfile.php</code></p>
63
svn
<h1>svn log first 10 only</h1> <p>how do I get the first 10 entries on svn log for a file svn log myfile.php</p> <p>thanks</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,955
svn
# svn log first 10 only how do I get the first 10 entries on svn log for a file svn log myfile.php thanks
As described in [the manual](http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.log.html): `svn log -l10 myfile.php`
2524402
SVN Error 403 Forbidden
6
2010-03-26 15:26:18
<p>I can't figure this out. I try to import a new project into a svn repository from Netbeans and get 403 Forbidden. I just setup svn on my serverbox today. I can get to it through a browser just fine, though its empty as I haven't imported my project yet.</p> <p>Apache's path for html files is /var/www I setup the sv...
12,336
302,642
2010-03-26 20:17:15
2,526,455
11
2010-03-26 20:17:15
302,642
2010-03-26 20:17:15
https://stackoverflow.com/q/2524402
https://stackoverflow.com/a/2526455
<p>I fixed it. I didn't think about it, but mod_security was stopping it.</p> <p>I just had to add </p> <pre><code>SecRule REQUEST_METHOD “^(PROPFIND|PROPPATCH)$” allow SecRule REQUEST_METHOD “^(REPORT|OPTIONS)$” allow SecRule REQUEST_METHOD “^(MKACTIVITY|CHECKOUT)$” allow SecRule REQUEST_METHOD “^(PUT|DELETE|MERGE)$...
<p>I fixed it. I didn't think about it, but mod_security was stopping it.</p> <p>I just had to add </p> <pre><code>SecRule REQUEST_METHOD “^(PROPFIND|PROPPATCH)$” allow SecRule REQUEST_METHOD “^(REPORT|OPTIONS)$” allow SecRule REQUEST_METHOD “^(MKACTIVITY|CHECKOUT)$” allow SecRule REQUEST_METHOD “^(PUT|DELETE|MERGE)$...
58, 63
linux, svn
<h1>SVN Error 403 Forbidden</h1> <p>I can't figure this out. I try to import a new project into a svn repository from Netbeans and get 403 Forbidden. I just setup svn on my serverbox today. I can get to it through a browser just fine, though its empty as I haven't imported my project yet.</p> <p>Apache's path for html...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,956
svn
# SVN Error 403 Forbidden I can't figure this out. I try to import a new project into a svn repository from Netbeans and get 403 Forbidden. I just setup svn on my serverbox today. I can get to it through a browser just fine, though its empty as I haven't imported my project yet. Apache's path for html files is /var/w...
I fixed it. I didn't think about it, but mod_security was stopping it. I just had to add ``` SecRule REQUEST_METHOD “^(PROPFIND|PROPPATCH)$” allow SecRule REQUEST_METHOD “^(REPORT|OPTIONS)$” allow SecRule REQUEST_METHOD “^(MKACTIVITY|CHECKOUT)$” allow SecRule REQUEST_METHOD “^(PUT|DELETE|MERGE)$” allow ``` to modsec...
1767272
SVN Repository Structure
6
2009-11-19 23:16:55
<p>I am getting ready to set up an SVN repository, and was wondering if anyone had a good example for a repo structure. I am currently thinking:</p> <blockquote> <p>Development<br> .. Applications<br> .... App1<br> ...... trunk<br> ...... branches<br> ...... tags<br> .. Database<br> .. Third Party</p>...
2,790
214,704
2009-11-19 23:42:06
1,767,301
11
2009-11-19 23:23:39
197,772
2009-11-19 23:32:41
https://stackoverflow.com/q/1767272
https://stackoverflow.com/a/1767301
<p>We started with a similar model, but found it to be a bit cumbersome. The main problem is that if you want to branch your codebase at a release, you have to go make branches for each component.</p> <p>Instead, we've considered a scheme like the following:</p> <pre><code> trunk app1 app2 lib1 lib2...
<p>We started with a similar model, but found it to be a bit cumbersome. The main problem is that if you want to branch your codebase at a release, you have to go make branches for each component.</p> <p>Instead, we've considered a scheme like the following:</p> <pre><code> trunk app1 app2 lib1 lib2...
63, 7330, 8951
repository, repository-design, svn
<h1>SVN Repository Structure</h1> <p>I am getting ready to set up an SVN repository, and was wondering if anyone had a good example for a repo structure. I am currently thinking:</p> <blockquote> <p>Development<br> .. Applications<br> .... App1<br> ...... trunk<br> ...... branches<br> ...... tags<br> .....
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,957
svn
# SVN Repository Structure I am getting ready to set up an SVN repository, and was wondering if anyone had a good example for a repo structure. I am currently thinking: > Development > .. Applications > .... App1 > ...... trunk > ...... branches > ...... tags > .. Database > .. Third Party While this s...
We started with a similar model, but found it to be a bit cumbersome. The main problem is that if you want to branch your codebase at a release, you have to go make branches for each component. Instead, we've considered a scheme like the following: ``` trunk app1 app2 lib1 lib2 branches rc-2.0...
1516140
Upgrading Subversion server from 1.5.5 to 1.6.5 - dump/upgrade/reload, exact steps?
6
2009-10-04 10:51:09
<p>I'm about to upgrade a SVN server from version 1.5.5 to 1.6.5 - all is fine with the actual upgrade, but I'm a little confused about upgrading the actual repositories. </p> <p>I've read in a few places (<a href="https://stackoverflow.com/questions/1160761/how-to-upgrade-svn-1-4-4-r25188-to-svn-1-6/1161408#1161408">...
7,077
43,140
2012-02-28 12:12:06
1,516,201
11
2009-10-04 11:36:48
68,939
2011-05-16 17:00:58
https://stackoverflow.com/q/1516140
https://stackoverflow.com/a/1516201
<p>there is a <a href="http://subversion.apache.org/faq.html#dumpload" rel="noreferrer">quick step-by-step</a> in the Subversion FAQ:</p> <blockquote> <ol> <li>Shut down svnserve, Apache, and anything else that might be accessing the repository.</li> <li><code>svnadmin dump /path/to/repository &gt; dumpfile.txt<...
<p>there is a <a href="http://subversion.apache.org/faq.html#dumpload" rel="noreferrer">quick step-by-step</a> in the Subversion FAQ:</p> <blockquote> <ol> <li>Shut down svnserve, Apache, and anything else that might be accessing the repository.</li> <li><code>svnadmin dump /path/to/repository &gt; dumpfile.txt<...
63, 5137
svn, upgrade
<h1>Upgrading Subversion server from 1.5.5 to 1.6.5 - dump/upgrade/reload, exact steps?</h1> <p>I'm about to upgrade a SVN server from version 1.5.5 to 1.6.5 - all is fine with the actual upgrade, but I'm a little confused about upgrading the actual repositories. </p> <p>I've read in a few places (<a href="https://sta...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%svn%'; a.Body contains code block; q.Score > 5; a.Score > 10
28,958
svn
# Upgrading Subversion server from 1.5.5 to 1.6.5 - dump/upgrade/reload, exact steps? I'm about to upgrade a SVN server from version 1.5.5 to 1.6.5 - all is fine with the actual upgrade, but I'm a little confused about upgrading the actual repositories. I've read in a few places ([here](https://stackoverflow.com/ques...
there is a [quick step-by-step](http://subversion.apache.org/faq.html#dumpload) in the Subversion FAQ: > 1. Shut down svnserve, Apache, and anything else that might be accessing the repository. > 2. `svnadmin dump /path/to/repository > dumpfile.txt` , using version X of svnadmin. > 3. `mv /path/to/repository /path/to/...
24143925
Get TFS to ignore my packages folder
356
2014-06-10 14:43:49
<p>I'm trying to get TFS (2013) to ignore my <code>packages</code> folder. I passionately don't want it source controlled as I'm using NuGet and it's great!</p> <p>I've tried cloaking (doesn't seem to work), I've tried adding <code>.tfignore</code> files - nothing is ignored. Why don't the TFS team just add an option ...
109,001
127,525
2019-11-15 15:44:14
28,682,504
531
2015-02-23 20:09:30
2,045,257
2019-11-15 15:44:14
https://stackoverflow.com/q/24143925
https://stackoverflow.com/a/28682504
<p>Here's the deal: We have to tell both NuGet <em>and</em> TFS to ignore the packages, because NuGet is trying to do source-control related stuff that it absolutely shouldn't be doing (bad form, Microsoft!). So you have to do two things. </p> <p>First, add a file named <code>.tfignore</code> to the solution folder (n...
<p>Here's the deal: We have to tell both NuGet <em>and</em> TFS to ignore the packages, because NuGet is trying to do source-control related stuff that it absolutely shouldn't be doing (bad form, Microsoft!). So you have to do two things. </p> <p>First, add a file named <code>.tfignore</code> to the solution folder (n...
733, 62770
nuget, tfs
<h1>Get TFS to ignore my packages folder</h1> <p>I'm trying to get TFS (2013) to ignore my <code>packages</code> folder. I passionately don't want it source controlled as I'm using NuGet and it's great!</p> <p>I've tried cloaking (doesn't seem to work), I've tried adding <code>.tfignore</code> files - nothing is ignor...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,515
tvfc
# Get TFS to ignore my packages folder I'm trying to get TFS (2013) to ignore my `packages` folder. I passionately don't want it source controlled as I'm using NuGet and it's great! I've tried cloaking (doesn't seem to work), I've tried adding `.tfignore` files - nothing is ignored. Why don't the TFS team just add an...
Here's the deal: We have to tell both NuGet *and* TFS to ignore the packages, because NuGet is trying to do source-control related stuff that it absolutely shouldn't be doing (bad form, Microsoft!). So you have to do two things. First, add a file named `.tfignore` to the solution folder (note the lack of `s` after the...
265769
Maximum filename length in NTFS (Windows XP and Windows Vista)?
292
2008-11-05 16:39:04
<p>I'm designing a database table which will hold filenames of uploaded files. What is the maximum length of a filename in NTFS as used by Windows XP or Vista?</p>
534,786
383
2025-11-22 05:24:44
265,782
315
2008-11-05 16:41:17
9,530
2025-11-22 05:24:44
https://stackoverflow.com/q/265769
https://stackoverflow.com/a/265782
<p>Individual components of a filename (i.e. each subdirectory along the path, and the final filename) are limited to 255 characters, and the total path length is limited to approximately 32,000 characters.</p> <p>However, on Windows, you can't exceed <code>MAX_PATH</code> value (<strong>259 characters for files</stron...
<p>Individual components of a filename (i.e. each subdirectory along the path, and the final filename) are limited to 255 characters, and the total path length is limited to approximately 32,000 characters.</p> <p>However, on Windows, you can't exceed <code>MAX_PATH</code> value (<strong>259 characters for files</stron...
1062, 2216, 3176, 28223, 44399
filenames, name-length, ntfs, windows-vista, windows-xp
<h1>Maximum filename length in NTFS (Windows XP and Windows Vista)?</h1> <p>I'm designing a database table which will hold filenames of uploaded files. What is the maximum length of a filename in NTFS as used by Windows XP or Vista?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,516
tvfc
# Maximum filename length in NTFS (Windows XP and Windows Vista)? I'm designing a database table which will hold filenames of uploaded files. What is the maximum length of a filename in NTFS as used by Windows XP or Vista?
Individual components of a filename (i.e. each subdirectory along the path, and the final filename) are limited to 255 characters, and the total path length is limited to approximately 32,000 characters. However, on Windows, you can't exceed `MAX_PATH` value (**259 characters for files**, **248 for folders**). See <ht...
13915636
specify project file of a solution using msbuild
148
2012-12-17 14:03:57
<p>I want the commandline for building a particular project of a solution using msbuild like we do with devenv.com.In devenv.com we can specify a project of a solution using following commandline </p> <pre><code>devenv.com /Build Release|x86 test.sln /project "testproject" </code></pre> <p>Using the above commandline...
140,224
1,490,489
2019-04-25 20:25:13
19,534,376
262
2013-10-23 06:29:19
2,003,136
2019-04-25 20:25:13
https://stackoverflow.com/q/13915636
https://stackoverflow.com/a/19534376
<pre><code>msbuild test.sln /t:project /p:Configuration="Release" /p:Platform="x86" /p:BuildProjectReferences=false </code></pre> <p>Notice that what is assigned to <code>/t</code> is the project name in the solution, it can be different from the project file name.</p> <p>Also, as stated in <a href="https://learn.mic...
<pre><code>msbuild test.sln /t:project /p:Configuration="Release" /p:Platform="x86" /p:BuildProjectReferences=false </code></pre> <p>Notice that what is assigned to <code>/t</code> is the project name in the solution, it can be different from the project file name.</p> <p>Also, as stated in <a href="https://learn.mic...
265, 733, 4243, 5647, 39980
build, devenv, msbuild, release, tfs
<h1>specify project file of a solution using msbuild</h1> <p>I want the commandline for building a particular project of a solution using msbuild like we do with devenv.com.In devenv.com we can specify a project of a solution using following commandline </p> <pre><code>devenv.com /Build Release|x86 test.sln /project "...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,517
tvfc
# specify project file of a solution using msbuild I want the commandline for building a particular project of a solution using msbuild like we do with devenv.com.In devenv.com we can specify a project of a solution using following commandline ``` devenv.com /Build Release|x86 test.sln /project "testproject" ``` Usi...
``` msbuild test.sln /t:project /p:Configuration="Release" /p:Platform="x86" /p:BuildProjectReferences=false ``` Notice that what is assigned to `/t` is the project name in the solution, it can be different from the project file name. Also, as stated in [How to: Build specific targets in solutions by using MSBuild.ex...
8435135
Change computer name for a TFS Workspace
139
2011-12-08 17:33:00
<p>My System Administrator renamed my computer. So where it was "MyLaptop2" it is now just "MyLaptop".</p> <p>So now all my source control bindings and checked out files are looking for a workspace with "MyLaptop2".</p> <p>Is there a way to redirect that workspace to my renamed (but still the same) computer?</p>
108,731
16,241
2022-04-05 16:38:50
8,435,216
245
2011-12-08 17:40:50
16,241
2019-02-13 10:46:40
https://stackoverflow.com/q/8435135
https://stackoverflow.com/a/8435216
<p>This command run in the Developer Command Prompt for Visual Studio did the trick:</p> <pre><code>tf workspaces /updateComputerName:MyOldComputerName /s:"http://MyServer:8080/tfs/MyCollection" </code></pre> <p>It had to be run from the computer I wanted to assign the workspace to (that is how it gets the new comput...
<p>This command run in the Developer Command Prompt for Visual Studio did the trick:</p> <pre><code>tf workspaces /updateComputerName:MyOldComputerName /s:"http://MyServer:8080/tfs/MyCollection" </code></pre> <p>It had to be run from the computer I wanted to assign the workspace to (that is how it gets the new comput...
422, 733
tfs, workspace
<h1>Change computer name for a TFS Workspace</h1> <p>My System Administrator renamed my computer. So where it was "MyLaptop2" it is now just "MyLaptop".</p> <p>So now all my source control bindings and checked out files are looking for a workspace with "MyLaptop2".</p> <p>Is there a way to redirect that workspace to...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,518
tvfc
# Change computer name for a TFS Workspace My System Administrator renamed my computer. So where it was "MyLaptop2" it is now just "MyLaptop". So now all my source control bindings and checked out files are looking for a workspace with "MyLaptop2". Is there a way to redirect that workspace to my renamed (but still t...
This command run in the Developer Command Prompt for Visual Studio did the trick: ``` tf workspaces /updateComputerName:MyOldComputerName /s:"http://MyServer:8080/tfs/MyCollection" ``` It had to be run from the computer I wanted to assign the workspace to (that is how it gets the new computer name.
544253
TFS: How can you Undo Checkout of Unmodified files in a batch file
180
2009-02-13 00:44:50
<p>We use a batch file to generate code, and it automatically checks out the generated files from Team Foundation Server (TFS) so that it can regenerate them. The majority of these files are not modified, but the generator does not know this ahead of time.</p> <p>The "tfs undo" command undoes the checkout, but prompts...
76,949
10,784
2023-01-09 09:29:12
544,285
204
2009-02-13 00:59:18
38,975
2012-03-10 22:04:30
https://stackoverflow.com/q/544253
https://stackoverflow.com/a/544285
<p>Take a look on Undo Unchanged command of the <a href="http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f" rel="noreferrer">Team Foundation Server Power Tools August 2011</a></p> <pre><code>c:\myProject&gt; tfpt uu . /noget /recursive </code></pre> <p><em>Thanks Matt Florence for lin...
<p>Take a look on Undo Unchanged command of the <a href="http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f" rel="noreferrer">Team Foundation Server Power Tools August 2011</a></p> <pre><code>c:\myProject&gt; tfpt uu . /noget /recursive </code></pre> <p><em>Thanks Matt Florence for lin...
456, 733, 104161
tfs, tfvc, version-control
<h1>TFS: How can you Undo Checkout of Unmodified files in a batch file</h1> <p>We use a batch file to generate code, and it automatically checks out the generated files from Team Foundation Server (TFS) so that it can regenerate them. The majority of these files are not modified, but the generator does not know this ah...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,519
tvfc
# TFS: How can you Undo Checkout of Unmodified files in a batch file We use a batch file to generate code, and it automatically checks out the generated files from Team Foundation Server (TFS) so that it can regenerate them. The majority of these files are not modified, but the generator does not know this ahead of ti...
Take a look on Undo Unchanged command of the [Team Foundation Server Power Tools August 2011](http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f) ``` c:\myProject> tfpt uu . /noget /recursive ``` *Thanks Matt Florence for link update.* *Thanks Ray Vega for [actual syntax](https://stac...
12685111
Error TF30063: You are not authorized to access ... \DefaultCollection
256
2012-10-02 05:46:25
<p>I'm using <a href="https://tfspreview.com/" rel="noreferrer">TFS Preview</a> (Team Foundation Service) with one of my projects with Visual Studio 2012. I'm also using an on-premises TFS server with most of my projects. When I use my on-premises TFS after using TFS preview and go back to using TFS preview, I get this...
293,777
1,407,225
2024-06-11 01:30:42
13,989,712
196
2012-12-21 11:54:13
2,629,391
2019-01-30 10:56:59
https://stackoverflow.com/q/12685111
https://stackoverflow.com/a/13989712
<p>I solved this issue by using the browser from within Visual Studio, View->Other Windows->Web Browser; <code>Ctrl+Alt+R</code> (or * <code>Ctrl+W, W</code>* in VS versions before VS2010) to navigate to the TFS page and log out of the wrong account and log back in.</p> <p>For me, the issue was caused by using another...
<p>I solved this issue by using the browser from within Visual Studio, View->Other Windows->Web Browser; <code>Ctrl+Alt+R</code> (or * <code>Ctrl+W, W</code>* in VS versions before VS2010) to navigate to the TFS page and log out of the wrong account and log back in.</p> <p>For me, the issue was caused by using another...
733, 80825, 116537
azure-devops, tfs, visual-studio-2012
<h1>Error TF30063: You are not authorized to access ... \DefaultCollection</h1> <p>I'm using <a href="https://tfspreview.com/" rel="noreferrer">TFS Preview</a> (Team Foundation Service) with one of my projects with Visual Studio 2012. I'm also using an on-premises TFS server with most of my projects. When I use my on-p...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,520
tvfc
# Error TF30063: You are not authorized to access ... \DefaultCollection I'm using [TFS Preview](https://tfspreview.com/) (Team Foundation Service) with one of my projects with Visual Studio 2012. I'm also using an on-premises TFS server with most of my projects. When I use my on-premises TFS after using TFS preview a...
I solved this issue by using the browser from within Visual Studio, View->Other Windows->Web Browser; `Ctrl+Alt+R` (or * `Ctrl+W, W`* in VS versions before VS2010) to navigate to the TFS page and log out of the wrong account and log back in. For me, the issue was caused by using another live-id to unlock a windows pho...
81236
How can I view the allocation unit size of a NTFS partition in Vista?
107
2008-09-17 08:50:23
<p>Which built in (if any) tool can I use to determine the allocation unit size of a certain NTFS partition ?</p>
391,361
null
2023-06-14 04:58:53
81,257
188
2008-09-17 08:54:20
14,829
2015-12-26 03:14:35
https://stackoverflow.com/q/81236
https://stackoverflow.com/a/81257
<p>Open an administrator command prompt, and do this command:</p> <pre><code>fsutil fsinfo ntfsinfo [your drive] </code></pre> <p>The Bytes Per Cluster is the equivalent of the allocation unit. </p>
<p>Open an administrator command prompt, and do this command:</p> <pre><code>fsutil fsinfo ntfsinfo [your drive] </code></pre> <p>The Bytes Per Cluster is the equivalent of the allocation unit. </p>
3176, 28223
ntfs, windows-vista
<h1>How can I view the allocation unit size of a NTFS partition in Vista?</h1> <p>Which built in (if any) tool can I use to determine the allocation unit size of a certain NTFS partition ?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,521
tvfc
# How can I view the allocation unit size of a NTFS partition in Vista? Which built in (if any) tool can I use to determine the allocation unit size of a certain NTFS partition ?
Open an administrator command prompt, and do this command: ``` fsutil fsinfo ntfsinfo [your drive] ``` The Bytes Per Cluster is the equivalent of the allocation unit.
5317703
TFS: Updating branch with changes from main
103
2011-03-15 20:34:23
<p>So, we have our main dev line, I create a branch, and developer b creates a branch. We both do some work. developer b finishes his work, merges back into the main dev line. I know his changes will affect me, and rather than deal with the conflicts later, I would like to update my branch, with the changes that are...
62,493
54,746
2022-12-26 23:29:06
5,317,973
181
2011-03-15 20:58:22
384,489
2022-12-26 23:29:06
https://stackoverflow.com/q/5317703
https://stackoverflow.com/a/5317973
<p>From Visual Studio, open Source Control Explorer:</p> <ul> <li><strong>View | Team Explorer</strong></li> <li>Select your <em>Team Project</em> from Team Explorer, expand it, and double click <strong>Source Control</strong></li> <li>In the left-hand pane of Source Control Explorer, select your <em>Team Project</em>....
<p>From Visual Studio, open Source Control Explorer:</p> <ul> <li><strong>View | Team Explorer</strong></li> <li>Select your <em>Team Project</em> from Team Explorer, expand it, and double click <strong>Source Control</strong></li> <li>In the left-hand pane of Source Control Explorer, select your <em>Team Project</em>....
733, 53847
branching-and-merging, tfs
<h1>TFS: Updating branch with changes from main</h1> <p>So, we have our main dev line, I create a branch, and developer b creates a branch. We both do some work. developer b finishes his work, merges back into the main dev line. I know his changes will affect me, and rather than deal with the conflicts later, I woul...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,522
tvfc
# TFS: Updating branch with changes from main So, we have our main dev line, I create a branch, and developer b creates a branch. We both do some work. developer b finishes his work, merges back into the main dev line. I know his changes will affect me, and rather than deal with the conflicts later, I would like to up...
From Visual Studio, open Source Control Explorer: - **View | Team Explorer** - Select your *Team Project* from Team Explorer, expand it, and double click **Source Control** - In the left-hand pane of Source Control Explorer, select your *Team Project*. - In the right-hand pane, find your mainline branch, right-click a...
3762812
Scripting TFS Command Line for Get Latest Version, Check Out and Check in, programmatically
108
2010-09-21 17:25:48
<p>I use WinXP, VS 2008 and Team Explorer to connect to Team Foundation Server.</p> <p>I need to script (e.g. BAT file script) the following:</p> <ul> <li>Get latest version of folder in Team Project.</li> <li>Check out files of folder in Team Project.</li> <li>Check in files of folder in Team Project.</li> </ul> <p...
99,426
206,730
2021-12-02 06:06:09
3,763,449
166
2010-09-21 18:51:01
422,565
2015-05-27 13:18:49
https://stackoverflow.com/q/3762812
https://stackoverflow.com/a/3763449
<p>Use tf.exe in the command line.</p> <p>In the following examples, the <code>%PathToIde%</code> is usually on a path like this: <code>%ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE</code>, or on Windows x64: <code>%ProgramFiles(x86)%\Microsoft Visual Studio 10.0\Common7\IDE</code> (depending on Visual Studio...
<p>Use tf.exe in the command line.</p> <p>In the following examples, the <code>%PathToIde%</code> is usually on a path like this: <code>%ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE</code>, or on Windows x64: <code>%ProgramFiles(x86)%\Microsoft Visual Studio 10.0\Common7\IDE</code> (depending on Visual Studio...
531, 733, 27128, 58871, 130914
checkin, getlatest, scripting, tfs, vcs-checkout
<h1>Scripting TFS Command Line for Get Latest Version, Check Out and Check in, programmatically</h1> <p>I use WinXP, VS 2008 and Team Explorer to connect to Team Foundation Server.</p> <p>I need to script (e.g. BAT file script) the following:</p> <ul> <li>Get latest version of folder in Team Project.</li> <li>Check o...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,523
tvfc
# Scripting TFS Command Line for Get Latest Version, Check Out and Check in, programmatically I use WinXP, VS 2008 and Team Explorer to connect to Team Foundation Server. I need to script (e.g. BAT file script) the following: - Get latest version of folder in Team Project. - Check out files of folder in Team Project...
Use tf.exe in the command line. In the following examples, the `%PathToIde%` is usually on a path like this: `%ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE`, or on Windows x64: `%ProgramFiles(x86)%\Microsoft Visual Studio 10.0\Common7\IDE` (depending on Visual Studio version and installation settings). **Exa...
1690520
How to undo another user’s checkout in TFS?
102
2009-11-06 21:18:27
<p>As the resident TFS admin, on occasion I am asked to undo a checkout (usually a lock) that a user has on a certain file checked into source control. </p> <p>How do you undo another user's checkout?</p>
111,052
66,173
2018-07-24 12:52:57
1,690,545
154
2009-11-06 21:21:41
66,173
2014-10-06 10:04:08
https://stackoverflow.com/q/1690520
https://stackoverflow.com/a/1690545
<p>There are at least 2 different ways to do this:</p> <p><strong>Command Line</strong></p> <p>There is a command-line utility called Tf.exe that comes with Team Explorer. Find the documentation <a href="http://msdn.microsoft.com/en-us/library/c72skhw4.aspx" rel="noreferrer">here</a>. It can be accessed by launching ...
<p>There are at least 2 different ways to do this:</p> <p><strong>Command Line</strong></p> <p>There is a command-line utility called Tf.exe that comes with Team Explorer. Find the documentation <a href="http://msdn.microsoft.com/en-us/library/c72skhw4.aspx" rel="noreferrer">here</a>. It can be accessed by launching ...
733
tfs
<h1>How to undo another user’s checkout in TFS?</h1> <p>As the resident TFS admin, on occasion I am asked to undo a checkout (usually a lock) that a user has on a certain file checked into source control. </p> <p>How do you undo another user's checkout?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,524
tvfc
# How to undo another user’s checkout in TFS? As the resident TFS admin, on occasion I am asked to undo a checkout (usually a lock) that a user has on a certain file checked into source control. How do you undo another user's checkout?
There are at least 2 different ways to do this: **Command Line** There is a command-line utility called Tf.exe that comes with Team Explorer. Find the documentation [here](http://msdn.microsoft.com/en-us/library/c72skhw4.aspx). It can be accessed by launching a Visual Studio Command Prompt window. The syntax of the c...
4128759
Environment Variable for AppData\Local / Access Downloaded custom assemblies
75
2010-11-08 22:28:08
<p>I am trying to setup my TFS2010 Build and I want to access the files that are downloaded via the "Version control path to custom assemblies".</p> <p>From what I can tell those files are downloaded to:</p> <p><code>C:\User\&lt;Build User&gt;\AppData\Local\BuildAgent\&lt;Built Agent Number&gt;</code></p> <p>I can d...
94,912
16,241
2025-02-26 21:19:34
4,130,654
151
2010-11-09 04:59:58
168,460
2025-02-26 21:19:34
https://stackoverflow.com/q/4128759
https://stackoverflow.com/a/4130654
<p>You can use <code>%LocalAppData%</code>. It expands to:</p> <blockquote> <p><code>%SystemDrive%\%Username%\LoggedInUser\AppData\Local</code></p> </blockquote> <p>Example: <code>%LocalAppData%\BuildAgent</code>.</p> <hr /> <p>Note that <code>%AppData%</code> will expand to:</p> <blockquote> <p><code>%SystemDrive%\%Us...
<p>You can use <code>%LocalAppData%</code>. It expands to:</p> <blockquote> <p><code>%SystemDrive%\%Username%\LoggedInUser\AppData\Local</code></p> </blockquote> <p>Example: <code>%LocalAppData%\BuildAgent</code>.</p> <hr /> <p>Note that <code>%AppData%</code> will expand to:</p> <blockquote> <p><code>%SystemDrive%\%Us...
16341, 34595, 36466
tfsbuild, windows-7, windows-server-2008-r2
<h1>Environment Variable for AppData\Local / Access Downloaded custom assemblies</h1> <p>I am trying to setup my TFS2010 Build and I want to access the files that are downloaded via the "Version control path to custom assemblies".</p> <p>From what I can tell those files are downloaded to:</p> <p><code>C:\User\&lt;Bui...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,525
tvfc
# Environment Variable for AppData\Local / Access Downloaded custom assemblies I am trying to setup my TFS2010 Build and I want to access the files that are downloaded via the "Version control path to custom assemblies". From what I can tell those files are downloaded to: `C:\User\<Build User>\AppData\Local\BuildAge...
You can use `%LocalAppData%`. It expands to: > `%SystemDrive%\%Username%\LoggedInUser\AppData\Local` Example: `%LocalAppData%\BuildAgent`. --- Note that `%AppData%` will expand to: > `%SystemDrive%\%Username%\LoggedInUser\AppData\Roaming`
770726
Moving multiple files in TFS Source Control
180
2009-04-21 01:36:43
<p>I'm using Team Foundation Server 2008 (SP 1) and I need to move multiple files from one folder to another (to retain file history). In addition to Team Explorer (with SP 1) I've also got the latest TFS Power Tools (October 2008) installed (for Windows Shell integration).</p> <p>Now, the problem is that I can't see...
53,039
18,471
2022-05-03 11:24:45
772,728
150
2009-04-21 14:01:40
72,211
2013-11-06 17:14:54
https://stackoverflow.com/q/770726
https://stackoverflow.com/a/772728
<p>Use the tf.exe tool from the Visual studio commandline - it can handle wildcards:</p> <pre><code>tf.exe move &lt;olditem&gt; &lt;newitem&gt; </code></pre> <p>Example:</p> <pre><code>tf.exe move "$/My Project/V*" "$/My Project/Archive" </code></pre> <p>[EDIT] As noted in the comments: move is an alias for rename....
<p>Use the tf.exe tool from the Visual studio commandline - it can handle wildcards:</p> <pre><code>tf.exe move &lt;olditem&gt; &lt;newitem&gt; </code></pre> <p>Example:</p> <pre><code>tf.exe move "$/My Project/V*" "$/My Project/Archive" </code></pre> <p>[EDIT] As noted in the comments: move is an alias for rename....
456, 733
tfs, version-control
<h1>Moving multiple files in TFS Source Control</h1> <p>I'm using Team Foundation Server 2008 (SP 1) and I need to move multiple files from one folder to another (to retain file history). In addition to Team Explorer (with SP 1) I've also got the latest TFS Power Tools (October 2008) installed (for Windows Shell integ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,526
tvfc
# Moving multiple files in TFS Source Control I'm using Team Foundation Server 2008 (SP 1) and I need to move multiple files from one folder to another (to retain file history). In addition to Team Explorer (with SP 1) I've also got the latest TFS Power Tools (October 2008) installed (for Windows Shell integration). ...
Use the tf.exe tool from the Visual studio commandline - it can handle wildcards: ``` tf.exe move <olditem> <newitem> ``` Example: ``` tf.exe move "$/My Project/V*" "$/My Project/Archive" ``` [EDIT] As noted in the comments: move is an alias for rename. Both commands move history.
226288
Team Build Error: The Path ... is already mapped to workspace
182
2008-10-22 15:26:40
<p>When creating a new build in Team Foundation Server, I get the following error when attempting to run the new build:</p> <blockquote> <p>The path C:\Build\ProductReleases\FullBuildv5.4.2x\Sources is already mapped to workspace BuildServer_23.</p> </blockquote> <p>I am unable to see a workspace by that name...
170,260
303
2021-12-10 23:45:14
226,304
149
2008-10-22 15:30:16
303
2013-03-25 19:59:14
https://stackoverflow.com/q/226288
https://stackoverflow.com/a/226304
<p>Use the command line utility <em>TF - Team Foundation Version Control Tool</em> (<strong>tf</strong>).</p> <p>You can get a list of all workspaces by bringing up a <em>Visual Studio Command Prompt</em> then changing to your workspace folder and issuing the following commands:</p> <pre><code>C:\YourWorkspaceFolder&...
<p>Use the command line utility <em>TF - Team Foundation Version Control Tool</em> (<strong>tf</strong>).</p> <p>You can get a list of all workspaces by bringing up a <em>Visual Studio Command Prompt</em> then changing to your workspace folder and issuing the following commands:</p> <pre><code>C:\YourWorkspaceFolder&...
733, 16422
build-server, tfs
<h1>Team Build Error: The Path ... is already mapped to workspace </h1> <p>When creating a new build in Team Foundation Server, I get the following error when attempting to run the new build:</p> <blockquote> <p>The path C:\Build\ProductReleases\FullBuildv5.4.2x\Sources is already mapped to workspace BuildServ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,527
tvfc
# Team Build Error: The Path ... is already mapped to workspace When creating a new build in Team Foundation Server, I get the following error when attempting to run the new build: > The path > C:\Build\ProductReleases\FullBuildv5.4.2x\Sources > is already mapped to workspace > BuildServer_23. I am unable to see a w...
Use the command line utility *TF - Team Foundation Version Control Tool* (**tf**). You can get a list of all workspaces by bringing up a *Visual Studio Command Prompt* then changing to your workspace folder and issuing the following commands: ``` C:\YourWorkspaceFolder>tf workspaces /owner:* ``` You should see your ...
13635889
Delete team project from Visual Studio Team Services
77
2012-11-29 22:25:15
<p>I am using Team Services on domain visualstudio.com and I need to delete one project, I found out that I need to use command prompt to delete projects, but when I tried the script it seemed that it doesn't work</p> <p>My Script is,</p> <pre><code>TfsDeleteProject /force collection:https://mytfs.visualstudio.com...
35,846
1,252,969
2018-09-24 05:44:49
13,645,729
137
2012-11-30 12:56:02
1,252,969
2013-01-03 21:58:03
https://stackoverflow.com/q/13635889
https://stackoverflow.com/a/13645729
<p>Thanks to @Christopher I was able to make the script work. </p> <p>You can use the following command from the "Developer Command Prompt":</p> <pre><code>TfsDeleteProject /collection:https://mytfs.visualstudio.com/DefaultCollection MyProject </code></pre> <p><img src="https://i.sstatic.net/FPIY1.png" alt="Printscr...
<p>Thanks to @Christopher I was able to make the script work. </p> <p>You can use the following command from the "Developer Command Prompt":</p> <pre><code>TfsDeleteProject /collection:https://mytfs.visualstudio.com/DefaultCollection MyProject </code></pre> <p><img src="https://i.sstatic.net/FPIY1.png" alt="Printscr...
733, 19391, 80825, 116537
azure-devops, team-project, tfs, visual-studio-2012
<h1>Delete team project from Visual Studio Team Services</h1> <p>I am using Team Services on domain visualstudio.com and I need to delete one project, I found out that I need to use command prompt to delete projects, but when I tried the script it seemed that it doesn't work</p> <p>My Script is,</p> <pre><code>TfsDel...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,528
tvfc
# Delete team project from Visual Studio Team Services I am using Team Services on domain visualstudio.com and I need to delete one project, I found out that I need to use command prompt to delete projects, but when I tried the script it seemed that it doesn't work My Script is, ``` TfsDeleteProject /force collec...
Thanks to @Christopher I was able to make the script work. You can use the following command from the "Developer Command Prompt": ``` TfsDeleteProject /collection:https://mytfs.visualstudio.com/DefaultCollection MyProject ``` ![Printscreen of command prompt with working script](https://i.sstatic.net/FPIY1.png)
923235
Why does it say "Project with that name already opened in the solution"?
139
2009-05-28 21:12:36
<p>I recently migrated a VSS database to TFS 2008. Using Source Control Explorer, I got the latest version of a solution with 12 projects. </p> <p>When I opened the solution in VS 2005, two of the projects were not found. I am not sure why these two projects were not found, but thought it easiest to just delete and re...
126,247
60,757
2025-12-04 17:31:51
1,196,928
128
2009-07-28 21:44:05
17,791
2023-11-02 23:20:08
https://stackoverflow.com/q/923235
https://stackoverflow.com/a/1196928
<p>I had the same message... Seems like it comes from (.csproj) project file. Under first propertygroup there is a section named</p> <pre><code>&lt;ProjectTypeGuids&gt;...&lt;/ProjectTypeGuids&gt; </code></pre> <p>which generally tells Visual Studio to handle that project in some specific way. Some Guids can be found ...
<p>I had the same message... Seems like it comes from (.csproj) project file. Under first propertygroup there is a section named</p> <pre><code>&lt;ProjectTypeGuids&gt;...&lt;/ProjectTypeGuids&gt; </code></pre> <p>which generally tells Visual Studio to handle that project in some specific way. Some Guids can be found ...
733, 33953
tfs, visual-studio
<h1>Why does it say "Project with that name already opened in the solution"?</h1> <p>I recently migrated a VSS database to TFS 2008. Using Source Control Explorer, I got the latest version of a solution with 12 projects. </p> <p>When I opened the solution in VS 2005, two of the projects were not found. I am not sure w...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,529
tvfc
# Why does it say "Project with that name already opened in the solution"? I recently migrated a VSS database to TFS 2008. Using Source Control Explorer, I got the latest version of a solution with 12 projects. When I opened the solution in VS 2005, two of the projects were not found. I am not sure why these two proj...
I had the same message... Seems like it comes from (.csproj) project file. Under first propertygroup there is a section named ``` <ProjectTypeGuids>...</ProjectTypeGuids> ``` which generally tells Visual Studio to handle that project in some specific way. Some Guids can be found [here](https://github.com/JamesW75/vis...
117337
Can I unshelve to a different branch in tfs 2008?
104
2008-09-22 20:19:25
<p>Let's assume that some developer in my team shelved his changes that he did in branch A. And I am working on branch B. Can I unshelve his changes into branch B? (By GUI or command prompt) </p>
26,035
11,374
2019-09-09 14:12:07
117,376
128
2008-09-22 20:24:11
533
2016-10-06 14:47:57
https://stackoverflow.com/q/117337
https://stackoverflow.com/a/117376
<p>The <a href="http://msdn.microsoft.com/en-us/vstudio/bb980963.aspx" rel="noreferrer">Visual Studio Power Tools</a> should let you do this.</p> <pre><code>C:\src\2\Merlin\Main&gt;tfpt unshelve /? tfpt unshelve - Unshelve into workspace with pending changes Allows a shelveset to be unshelved into a workspace with pe...
<p>The <a href="http://msdn.microsoft.com/en-us/vstudio/bb980963.aspx" rel="noreferrer">Visual Studio Power Tools</a> should let you do this.</p> <pre><code>C:\src\2\Merlin\Main&gt;tfpt unshelve /? tfpt unshelve - Unshelve into workspace with pending changes Allows a shelveset to be unshelved into a workspace with pe...
733, 1879, 8103, 8104
branch, shelve, tfs, unshelve
<h1>Can I unshelve to a different branch in tfs 2008?</h1> <p>Let's assume that some developer in my team shelved his changes that he did in branch A. And I am working on branch B. Can I unshelve his changes into branch B? (By GUI or command prompt) </p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,530
tvfc
# Can I unshelve to a different branch in tfs 2008? Let's assume that some developer in my team shelved his changes that he did in branch A. And I am working on branch B. Can I unshelve his changes into branch B? (By GUI or command prompt)
The [Visual Studio Power Tools](http://msdn.microsoft.com/en-us/vstudio/bb980963.aspx) should let you do this. ``` C:\src\2\Merlin\Main>tfpt unshelve /? tfpt unshelve - Unshelve into workspace with pending changes Allows a shelveset to be unshelved into a workspace with pending changes. Merges content between local a...
2694644
How to revert (Roll Back) a checkin in TFS 2010
112
2010-04-22 21:28:31
<p>Can anyone tell me how to revert (roll back) a checkin in TFS 2010?</p>
91,995
206,463
2016-06-23 15:16:48
7,124,274
123
2011-08-19 15:58:52
250,290
2015-04-23 08:01:29
https://stackoverflow.com/q/2694644
https://stackoverflow.com/a/7124274
<p>You have two options for rolling back (reverting) a changeset in <strong>Team Foundation Server 2010</strong> Version Control. First option is using the User Interface (if you have the latest version of the <a href="http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f" rel="noreferrer"...
<p>You have two options for rolling back (reverting) a changeset in <strong>Team Foundation Server 2010</strong> Version Control. First option is using the User Interface (if you have the latest version of the <a href="http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f" rel="noreferrer"...
733, 12196
rollback, tfs
<h1>How to revert (Roll Back) a checkin in TFS 2010</h1> <p>Can anyone tell me how to revert (roll back) a checkin in TFS 2010?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,531
tvfc
# How to revert (Roll Back) a checkin in TFS 2010 Can anyone tell me how to revert (roll back) a checkin in TFS 2010?
You have two options for rolling back (reverting) a changeset in **Team Foundation Server 2010** Version Control. First option is using the User Interface (if you have the latest version of the [TFS 2010 Power Tools](http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f68-8f4e-cd473d6b971f) installed). ![Roll...
5598668
Valid Parameters for MSDeploy via MSBuild
61
2011-04-08 17:29:49
<p>I'm trying to deploy a web application using MSDeploy, on Team Build in TFS. There are several questions that address the properties that have to be passed in MSBuild in order to call MSDeploy, but I haven't found sufficient documentation for what properties are available. Does someone have a list of available prope...
28,051
698,871
2018-10-03 00:21:03
5,598,737
120
2011-04-08 17:36:50
5,192
2012-03-28 15:23:29
https://stackoverflow.com/q/5598668
https://stackoverflow.com/a/5598737
<p>Here's a list I've compiled for my own reference, along with some of the legal values that can be used. Note that these are passed into MSBuild using the <code>/p:&lt;PropertyName&gt;=&lt;Value&gt;</code> syntax.</p> <ul> <li><strong>DeployOnBuild</strong> <ul> <li>True</li> <li>False</li> </ul></li> <li><strong>De...
<p>Here's a list I've compiled for my own reference, along with some of the legal values that can be used. Note that these are passed into MSBuild using the <code>/p:&lt;PropertyName&gt;=&lt;Value&gt;</code> syntax.</p> <ul> <li><strong>DeployOnBuild</strong> <ul> <li>True</li> <li>False</li> </ul></li> <li><strong>De...
265, 733, 25779
msbuild, msdeploy, tfs
<h1>Valid Parameters for MSDeploy via MSBuild</h1> <p>I'm trying to deploy a web application using MSDeploy, on Team Build in TFS. There are several questions that address the properties that have to be passed in MSBuild in order to call MSDeploy, but I haven't found sufficient documentation for what properties are ava...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,532
tvfc
# Valid Parameters for MSDeploy via MSBuild I'm trying to deploy a web application using MSDeploy, on Team Build in TFS. There are several questions that address the properties that have to be passed in MSBuild in order to call MSDeploy, but I haven't found sufficient documentation for what properties are available. D...
Here's a list I've compiled for my own reference, along with some of the legal values that can be used. Note that these are passed into MSBuild using the `/p:<PropertyName>=<Value>` syntax. - **DeployOnBuild** - True - False - **DeployTarget** - MsDeployPublish - Package - **Configuration** - Name of a valid...
7748039
Get current changeset id on workspace for TFS
89
2011-10-13 00:15:11
<p>How do I figure out what changeset I currently have in my local workspace?</p> <p>Sure, I can pick one file and view its history. However, if that file was not recently updated, its changeset is probably older than the more recently updated files in the same solution.</p> <p>One possible mistake that we may make i...
27,160
534,668
2022-01-04 18:20:29
7,760,096
117
2011-10-13 20:31:56
913,021
2021-02-16 12:06:54
https://stackoverflow.com/q/7748039
https://stackoverflow.com/a/7760096
<p>Your answer is on a MSDN blog by Buck Hodges: <a href="https://devblogs.microsoft.com/buckh/how-to-determine-the-latest-changeset-in-your-workspace/" rel="noreferrer">How to determine the latest changeset in your workspace</a></p> <p>from the root (top) of your workspace, in cmd perform:</p> <pre><code>tf history . ...
<p>Your answer is on a MSDN blog by Buck Hodges: <a href="https://devblogs.microsoft.com/buckh/how-to-determine-the-latest-changeset-in-your-workspace/" rel="noreferrer">How to determine the latest changeset in your workspace</a></p> <p>from the root (top) of your workspace, in cmd perform:</p> <pre><code>tf history . ...
733, 104161
tfs, tfvc
<h1>Get current changeset id on workspace for TFS</h1> <p>How do I figure out what changeset I currently have in my local workspace?</p> <p>Sure, I can pick one file and view its history. However, if that file was not recently updated, its changeset is probably older than the more recently updated files in the same so...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,533
tvfc
# Get current changeset id on workspace for TFS How do I figure out what changeset I currently have in my local workspace? Sure, I can pick one file and view its history. However, if that file was not recently updated, its changeset is probably older than the more recently updated files in the same solution. One pos...
Your answer is on a MSDN blog by Buck Hodges: [How to determine the latest changeset in your workspace](https://devblogs.microsoft.com/buckh/how-to-determine-the-latest-changeset-in-your-workspace/) from the root (top) of your workspace, in cmd perform: ``` tf history . /r /noprompt /stopafter:1 /version:W ```
35357257
Every time I open my VS solution I get “Projects have recently been added to this solution. Do you want to get them from source control?”
73
2016-02-12 07:43:53
<p>I don't know exactly how, but on a certain moment we ruined our complete visual studio solution. It wouldn't build anymore, nor clean, nor find any reference.</p> <p>Afters hours of searching and trying to fix everything we got to the point that everything was building and running again.</p> <p>However.. every tim...
19,430
5,740,408
2021-01-13 10:26:23
35,357,387
108
2016-02-12 07:53:03
5,740,408
2016-02-12 07:59:05
https://stackoverflow.com/q/35357257
https://stackoverflow.com/a/35357387
<p>Thanks to some research and trying some various options this is what solved it in our case.</p> <p><strong>1. Unbinding the solution file from TFS</strong></p> <p>Unbind the solution file (.sln) from TFS. We did this (in visual studio of course) by going to the menu <code>File =&gt; Source Control =&gt; Change Sou...
<p>Thanks to some research and trying some various options this is what solved it in our case.</p> <p><strong>1. Unbinding the solution file from TFS</strong></p> <p>Unbind the solution file (.sln) from TFS. We did this (in visual studio of course) by going to the menu <code>File =&gt; Source Control =&gt; Change Sou...
9, 733, 33953
c#, tfs, visual-studio
<h1>Every time I open my VS solution I get “Projects have recently been added to this solution. Do you want to get them from source control?”</h1> <p>I don't know exactly how, but on a certain moment we ruined our complete visual studio solution. It wouldn't build anymore, nor clean, nor find any reference.</p> <p>Aft...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,534
tvfc
# Every time I open my VS solution I get “Projects have recently been added to this solution. Do you want to get them from source control?” I don't know exactly how, but on a certain moment we ruined our complete visual studio solution. It wouldn't build anymore, nor clean, nor find any reference. Afters hours of sea...
Thanks to some research and trying some various options this is what solved it in our case. **1. Unbinding the solution file from TFS** Unbind the solution file (.sln) from TFS. We did this (in visual studio of course) by going to the menu `File => Source Control => Change Source Control`. [![Unbinding the solution ...
922798
How to ignore files/directories in TFS for avoiding them to go to central source repository?
273
2009-05-28 19:39:20
<p>Is it possible to set up files/folders to ignore on a per-project basis in TFS source control?</p> <p>For example, I've a website with an assets folder that I do not want to go in to source control. These assets are maintained by a separate system. Also, I don't want to put several gigabytes of assets into source c...
200,779
21,909
2019-06-24 13:21:45
40,409,464
106
2016-11-03 19:09:58
294,863
2019-06-24 13:21:45
https://stackoverflow.com/q/922798
https://stackoverflow.com/a/40409464
<h1>For VS2015 and VS2017</h1> <h3>Works with TFS (on-prem) or VSO (Visual Studio Online - the Azure-hosted offering)</h3> <p>The NuGet documentation provides <a href="http://docs.nuget.org/ndocs/consume-packages/packages-and-source-control#omitting-packages-with-team-foundation-version-control" rel="noreferrer">instru...
<h1>For VS2015 and VS2017</h1> <h3>Works with TFS (on-prem) or VSO (Visual Studio Online - the Azure-hosted offering)</h3> <p>The NuGet documentation provides <a href="http://docs.nuget.org/ndocs/consume-packages/packages-and-source-control#omitting-packages-with-team-foundation-version-control" rel="noreferrer">instru...
733
tfs
<h1>How to ignore files/directories in TFS for avoiding them to go to central source repository?</h1> <p>Is it possible to set up files/folders to ignore on a per-project basis in TFS source control?</p> <p>For example, I've a website with an assets folder that I do not want to go in to source control. These assets ar...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,535
tvfc
# How to ignore files/directories in TFS for avoiding them to go to central source repository? Is it possible to set up files/folders to ignore on a per-project basis in TFS source control? For example, I've a website with an assets folder that I do not want to go in to source control. These assets are maintained by ...
# For VS2015 and VS2017 ### Works with TFS (on-prem) or VSO (Visual Studio Online - the Azure-hosted offering) The NuGet documentation provides [instructions on how to accomplish this](http://docs.nuget.org/ndocs/consume-packages/packages-and-source-control#omitting-packages-with-team-foundation-version-control) and ...
14496098
Why are all files write protected and how can I check-in?
49
2013-01-24 07:35:59
<p>I currently work with a Team Foundation Server and Visual Studio. Since two days, I keep getting error messages that I can't write to files (it seems not to matter which file I try to access). I am the only one in my team who has those problems. </p> <p>So when I try to check-in, I get:</p> <p><img src="https://i....
28,563
562,769
2015-02-25 10:28:52
14,498,234
106
2013-01-24 09:46:37
562,769
2013-01-24 09:46:37
https://stackoverflow.com/q/14496098
https://stackoverflow.com/a/14498234
<ol> <li>Go to <code>Solution Explorer</code></li> <li>Right click on your solution</li> <li>Click <code>Go online</code></li> </ol>
<ol> <li>Go to <code>Solution Explorer</code></li> <li>Right click on your solution</li> <li>Click <code>Go online</code></li> </ol>
733, 80825
tfs, visual-studio-2012
<h1>Why are all files write protected and how can I check-in?</h1> <p>I currently work with a Team Foundation Server and Visual Studio. Since two days, I keep getting error messages that I can't write to files (it seems not to matter which file I try to access). I am the only one in my team who has those problems. </p>...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,536
tvfc
# Why are all files write protected and how can I check-in? I currently work with a Team Foundation Server and Visual Studio. Since two days, I keep getting error messages that I can't write to files (it seems not to matter which file I try to access). I am the only one in my team who has those problems. So when I tr...
1. Go to `Solution Explorer` 2. Right click on your solution 3. Click `Go online`
25573424
VS2013: Error Loading Solution ('JavascriptWebExtensionsPackage did not load correctly')
40
2014-08-29 17:36:32
<p>Visual Studio 2013 Professional just started throwing this error on me, in the middle of switching solutions. A full reboot of the computer didn't resolve it.</p> <p>Here's the error I see when I try loading a solution: <img src="https://i.sstatic.net/3P24p.png" alt="main error" /></p> <p>Now, when I go look at ...
10,914
229,324
2017-02-23 23:04:23
25,573,496
106
2014-08-29 17:41:34
229,324
2015-12-20 15:28:31
https://stackoverflow.com/q/25573424
https://stackoverflow.com/a/25573496
<p>So -- after posting this and adding that last screenshot (the No EditorOptionDefinition export... business) -- I decided to google on that phrase as well (the other key phrases brought me nothing).</p> <p>It brought me to this page: <a href="https://stackoverflow.com/questions/23893497/no-editoroptiondefinition-exp...
<p>So -- after posting this and adding that last screenshot (the No EditorOptionDefinition export... business) -- I decided to google on that phrase as well (the other key phrases brought me nothing).</p> <p>It brought me to this page: <a href="https://stackoverflow.com/questions/23893497/no-editoroptiondefinition-exp...
733, 33953, 93364
tfs, visual-studio, visual-studio-2013
<h1>VS2013: Error Loading Solution ('JavascriptWebExtensionsPackage did not load correctly')</h1> <p>Visual Studio 2013 Professional just started throwing this error on me, in the middle of switching solutions. A full reboot of the computer didn't resolve it.</p> <p>Here's the error I see when I try loading a solut...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,537
tvfc
# VS2013: Error Loading Solution ('JavascriptWebExtensionsPackage did not load correctly') Visual Studio 2013 Professional just started throwing this error on me, in the middle of switching solutions. A full reboot of the computer didn't resolve it. Here's the error I see when I try loading a solution: ![main error](...
So -- after posting this and adding that last screenshot (the No EditorOptionDefinition export... business) -- I decided to google on that phrase as well (the other key phrases brought me nothing). It brought me to this page: [No EditorOptionDefinition Export Found Error](https://stackoverflow.com/questions/23893497/n...
26163793
TFS Current Sprint URL
67
2014-10-02 15:05:06
<p>Is there a URL that I can bookmark for my team's TFS <em>Current Sprint</em> task board? We have 2-week sprints so the URL changes every 2 weeks.</p> <p>The default URL is of the form:</p> <pre><code>http://[Server]/tfs/[Project]/[Team]/_backlogs/TaskBoard/[SprintName]#_a=people </code></pre> <p>The <code>[Sprint...
12,686
33,791
2018-10-31 09:08:13
26,163,794
100
2014-10-02 15:05:06
33,791
2018-10-31 09:08:13
https://stackoverflow.com/q/26163793
https://stackoverflow.com/a/26163794
<p>Just found the answer. If you remove the sprint name altogether, it redirects to the current sprint. </p> <blockquote> <p><strong>EDIT</strong>: Updated Oct. 2018 for Azure DevOps</p> </blockquote> <p>For Azure DevOps, the following URL works:</p> <p>New Azure DevOps URL format:</p> <pre><code>https://dev.azu...
<p>Just found the answer. If you remove the sprint name altogether, it redirects to the current sprint. </p> <blockquote> <p><strong>EDIT</strong>: Updated Oct. 2018 for Azure DevOps</p> </blockquote> <p>For Azure DevOps, the following URL works:</p> <p>New Azure DevOps URL format:</p> <pre><code>https://dev.azu...
733, 116537
azure-devops, tfs
<h1>TFS Current Sprint URL</h1> <p>Is there a URL that I can bookmark for my team's TFS <em>Current Sprint</em> task board? We have 2-week sprints so the URL changes every 2 weeks.</p> <p>The default URL is of the form:</p> <pre><code>http://[Server]/tfs/[Project]/[Team]/_backlogs/TaskBoard/[SprintName]#_a=people </c...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,538
tvfc
# TFS Current Sprint URL Is there a URL that I can bookmark for my team's TFS *Current Sprint* task board? We have 2-week sprints so the URL changes every 2 weeks. The default URL is of the form: ``` http://[Server]/tfs/[Project]/[Team]/_backlogs/TaskBoard/[SprintName]#_a=people ``` The `[SprintName]` part of the U...
Just found the answer. If you remove the sprint name altogether, it redirects to the current sprint. > **EDIT**: Updated Oct. 2018 for Azure DevOps For Azure DevOps, the following URL works: New Azure DevOps URL format: ``` https://dev.azure.com/[Company]/[Project]/_sprints/backlog/[Team] ``` Old Azure DevOps (VST...
5503858
How to get tf.exe (TFS command line client)?
109
2011-03-31 17:30:43
<p>What's the minimum amount of software I need to install to get the 'tf.exe' program?</p>
151,265
618,286
2023-04-19 18:54:49
5,507,337
98
2011-03-31 22:53:55
568,475
2021-04-21 06:12:02
https://stackoverflow.com/q/5503858
https://stackoverflow.com/a/5507337
<p>You need to install <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=fe4f9904-0480-4c9d-a264-02fedd78ab38" rel="noreferrer">Team Explorer</a>, it's best to install the version of Team Explorer that matches the version of TFS you are using e.g. if you're using TFS 2010 then install Team Explorer 2...
<p>You need to install <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=fe4f9904-0480-4c9d-a264-02fedd78ab38" rel="noreferrer">Team Explorer</a>, it's best to install the version of Team Explorer that matches the version of TFS you are using e.g. if you're using TFS 2010 then install Team Explorer 2...
529, 733, 11225, 26212
command-line-interface, installation, tf-cli, tfs
<h1>How to get tf.exe (TFS command line client)?</h1> <p>What's the minimum amount of software I need to install to get the 'tf.exe' program?</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,539
tvfc
# How to get tf.exe (TFS command line client)? What's the minimum amount of software I need to install to get the 'tf.exe' program?
You need to install [Team Explorer](http://www.microsoft.com/downloads/en/details.aspx?FamilyID=fe4f9904-0480-4c9d-a264-02fedd78ab38), it's best to install the version of Team Explorer that matches the version of TFS you are using e.g. if you're using TFS 2010 then install Team Explorer 2010. 2012 version <http://www....
8923485
TFS: submit changes done locally in one branch to another branch
75
2012-01-19 09:11:45
<p>I made changes to a lot of files, and in the meantime I figured I rather commit this untested code to a yet-to-be-created branch, so that users of the existing code base are not affected.</p> <p>As I touched really many, many files and created and added new sub-projects etc., I want to avoid copying files and folde...
23,137
709,537
2013-05-23 16:40:04
8,925,277
93
2012-01-19 11:29:40
11,210
2012-01-19 11:29:40
https://stackoverflow.com/q/8923485
https://stackoverflow.com/a/8925277
<p>This functionality is provided using <code>tfpt unshelve /migrate</code>. To use it, follow these steps:</p> <ol> <li>Create a shelveset of your changes (from the UI, or <code>tf shelve . /R</code>)</li> <li>Create the new branch</li> <li>Download and install the <a href="http://visualstudiogallery.msdn.microsoft.c...
<p>This functionality is provided using <code>tfpt unshelve /migrate</code>. To use it, follow these steps:</p> <ol> <li>Create a shelveset of your changes (from the UI, or <code>tf shelve . /R</code>)</li> <li>Create the new branch</li> <li>Download and install the <a href="http://visualstudiogallery.msdn.microsoft.c...
733, 1879, 14456, 50162
branch, tfs, tfs-power-tools, visual-studio-2010
<h1>TFS: submit changes done locally in one branch to another branch</h1> <p>I made changes to a lot of files, and in the meantime I figured I rather commit this untested code to a yet-to-be-created branch, so that users of the existing code base are not affected.</p> <p>As I touched really many, many files and create...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,542
tvfc
# TFS: submit changes done locally in one branch to another branch I made changes to a lot of files, and in the meantime I figured I rather commit this untested code to a yet-to-be-created branch, so that users of the existing code base are not affected. As I touched really many, many files and created and added new ...
This functionality is provided using `tfpt unshelve /migrate`. To use it, follow these steps: 1. Create a shelveset of your changes (from the UI, or `tf shelve . /R`) 2. Create the new branch 3. Download and install the [Team Foundation Server Power Tools](http://visualstudiogallery.msdn.microsoft.com/c255a1e4-04ba-4f...
18654162
Enable native NTFS symbolic links for Cygwin
57
2013-09-06 09:14:53
<p>Recent NTFS and Windows implement symlinks:</p> <ul> <li><a href="http://en.wikipedia.org/wiki/NTFS_junction_point">NTFS junction point</a> can be used as directory symlink since NTFS 3.0 (Windows 2000) using <code>linkd</code> or <code>junction</code> tools.</li> <li><a href="http://en.wikipedia.org/wiki/NTFS_symb...
22,597
938,111
2022-09-27 00:22:22
18,659,632
92
2013-09-06 13:59:43
938,111
2022-09-27 00:22:22
https://stackoverflow.com/q/18654162
https://stackoverflow.com/a/18659632
<h1>⸻⸻  Short answer  ⸻⸻</h1> <p>Define environment variable:</p> <pre class="lang-bash prettyprint-override"><code>CYGWIN=winsymlinks:nativestrict </code></pre> <p>As pointed out by <a href="https://stackoverflow.com/users/353752/mwm">mwm</a> you may also have to go to the settings or to run <a href="/questions/tagge...
<h1>⸻⸻  Short answer  ⸻⸻</h1> <p>Define environment variable:</p> <pre class="lang-bash prettyprint-override"><code>CYGWIN=winsymlinks:nativestrict </code></pre> <p>As pointed out by <a href="https://stackoverflow.com/users/353752/mwm">mwm</a> you may also have to go to the settings or to run <a href="/questions/tagge...
1122, 1731, 3176, 4086, 7553
cygwin, ln, mingw, ntfs, symlink
<h1>Enable native NTFS symbolic links for Cygwin</h1> <p>Recent NTFS and Windows implement symlinks:</p> <ul> <li><a href="http://en.wikipedia.org/wiki/NTFS_junction_point">NTFS junction point</a> can be used as directory symlink since NTFS 3.0 (Windows 2000) using <code>linkd</code> or <code>junction</code> tools.</l...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,543
tvfc
# Enable native NTFS symbolic links for Cygwin Recent NTFS and Windows implement symlinks: - [NTFS junction point](http://en.wikipedia.org/wiki/NTFS_junction_point) can be used as directory symlink since NTFS 3.0 (Windows 2000) using `linkd` or `junction` tools. - [NTFS symbolic link](http://en.wikipedia.org/wiki/NTF...
# ⸻⸻  Short answer  ⸻⸻ Define environment variable: ``` CYGWIN=winsymlinks:nativestrict ``` As pointed out by [mwm](https://stackoverflow.com/users/353752/mwm) you may also have to go to the settings or to run [bash](/questions/tagged/bash "show questions tagged 'bash'") as Administrator. See the **Notes** section. ...
9741975
How can I always block checkin of a specific file in TFS
68
2012-03-16 17:38:48
<p>There is one file that I always made changes to, but that I never want to be checked in. I would like TFS to block me from ever checking it in or committing the changes. How can I configure TFS to do this?</p> <p>Details: There is another developer on the project that has checked in some bad code that I prefer to...
34,433
62,539
2016-06-03 21:31:10
9,742,947
91
2012-03-16 18:53:48
147,211
2015-07-22 20:44:57
https://stackoverflow.com/q/9741975
https://stackoverflow.com/a/9742947
<p>One of TFS undervalued features is <a href="http://msdn.microsoft.com/en-us/library/ms181378.aspx" rel="noreferrer"><strong>cloaking</strong></a>. Like SVN's <code>ignore</code>, cloaking will let you ignore a certain folder or files.</p> <h2>Cloaking a Folder</h2> <p>Cloaking a folder is easy: just right click a ...
<p>One of TFS undervalued features is <a href="http://msdn.microsoft.com/en-us/library/ms181378.aspx" rel="noreferrer"><strong>cloaking</strong></a>. Like SVN's <code>ignore</code>, cloaking will let you ignore a certain folder or files.</p> <h2>Cloaking a Folder</h2> <p>Cloaking a folder is easy: just right click a ...
733
tfs
<h1>How can I always block checkin of a specific file in TFS</h1> <p>There is one file that I always made changes to, but that I never want to be checked in. I would like TFS to block me from ever checking it in or committing the changes. How can I configure TFS to do this?</p> <p>Details: There is another developer...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,544
tvfc
# How can I always block checkin of a specific file in TFS There is one file that I always made changes to, but that I never want to be checked in. I would like TFS to block me from ever checking it in or committing the changes. How can I configure TFS to do this? Details: There is another developer on the project th...
One of TFS undervalued features is [**cloaking**](http://msdn.microsoft.com/en-us/library/ms181378.aspx). Like SVN's `ignore`, cloaking will let you ignore a certain folder or files. ## Cloaking a Folder Cloaking a folder is easy: just right click a folder on the source control explorer and select `Cloak` ## Cloakin...
47188210
Clear stored TFS credentials in Visual Studio 2017
51
2017-11-08 19:35:14
<p>I had to change my password for my account which is not the same account i log into my machine with. When connected to the local tfs server, I supplied my password to VS2017 and checked remember password. Now that the password has changed, I cannot connect. </p> <p>I have tried to remove the tfs in credential ma...
85,590
854,780
2021-11-10 21:28:01
47,198,510
91
2017-11-09 09:43:35
7,466,674
2018-05-15 11:26:00
https://stackoverflow.com/q/47188210
https://stackoverflow.com/a/47198510
<p>Please try below items to narrow down the issue:</p> <ul> <li>Remove the TFS related credentials from <strong>Credential Manager</strong></li> <li><p>In Credential Manager add the new updated <strong>Generic Credentials</strong> for the TFS account. Generally, this would overwrite the cached credentials.</p></li> <...
<p>Please try below items to narrow down the issue:</p> <ul> <li>Remove the TFS related credentials from <strong>Credential Manager</strong></li> <li><p>In Credential Manager add the new updated <strong>Generic Credentials</strong> for the TFS account. Generally, this would overwrite the cached credentials.</p></li> <...
733, 123095
tfs, visual-studio-2017
<h1>Clear stored TFS credentials in Visual Studio 2017</h1> <p>I had to change my password for my account which is not the same account i log into my machine with. When connected to the local tfs server, I supplied my password to VS2017 and checked remember password. Now that the password has changed, I cannot connec...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,545
tvfc
# Clear stored TFS credentials in Visual Studio 2017 I had to change my password for my account which is not the same account i log into my machine with. When connected to the local tfs server, I supplied my password to VS2017 and checked remember password. Now that the password has changed, I cannot connect. I have ...
Please try below items to narrow down the issue: - Remove the TFS related credentials from **Credential Manager** - In Credential Manager add the new updated **Generic Credentials** for the TFS account. Generally, this would overwrite the cached credentials. - Close all Visual Studio instances, delete `%LOCALAPPDA...
23264653
"No appropriate mapping exists" error while unshelving shelveset in TFS
48
2014-04-24 09:14:58
<p>I am using TFS 2012. In TFS there are more than 15 users. When I try to unshelve a shelveset files it shows error as shown below</p> <p><img src="https://i.sstatic.net/efBnN.jpg" alt="enter image description here"></p> <p>Interesting is that this error does not comes for few users, and they are able to unshelve it...
26,418
1,997,066
2019-05-01 13:15:59
23,264,830
91
2014-04-24 09:22:34
383,710
2018-01-18 22:02:12
https://stackoverflow.com/q/23264653
https://stackoverflow.com/a/23264830
<p>Check the <strong>workspace</strong> you have selected in Team Explorer > Pending Changes. You must have a workspace selected that has a mapping which includes the server path of the file you are trying to unshelve.</p> <p>(Note: make sure you are using the workspace mapping in Team Explorer, NOT the workspace show...
<p>Check the <strong>workspace</strong> you have selected in Team Explorer > Pending Changes. You must have a workspace selected that has a mapping which includes the server path of the file you are trying to unshelve.</p> <p>(Note: make sure you are using the workspace mapping in Team Explorer, NOT the workspace show...
733, 33953
tfs, visual-studio
<h1>"No appropriate mapping exists" error while unshelving shelveset in TFS</h1> <p>I am using TFS 2012. In TFS there are more than 15 users. When I try to unshelve a shelveset files it shows error as shown below</p> <p><img src="https://i.sstatic.net/efBnN.jpg" alt="enter image description here"></p> <p>Interesting ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,546
tvfc
# "No appropriate mapping exists" error while unshelving shelveset in TFS I am using TFS 2012. In TFS there are more than 15 users. When I try to unshelve a shelveset files it shows error as shown below ![enter image description here](https://i.sstatic.net/efBnN.jpg) Interesting is that this error does not comes for...
Check the **workspace** you have selected in Team Explorer > Pending Changes. You must have a workspace selected that has a mapping which includes the server path of the file you are trying to unshelve. (Note: make sure you are using the workspace mapping in Team Explorer, NOT the workspace shown in Source Control Exp...
8069724
Why is TFS ignoring a project in my solution?
38
2011-11-09 18:27:57
<p>I have multiple projects in our solution that is in our TFS 2010 repository. I've added about 5 new projects to this solution in recent days.</p> <p>I have found that for one of the projects, that the project file itself will not check-in to TFS. All of the artifacts contained in this project are working fine; they...
28,388
520
2019-08-27 09:13:17
8,069,914
83
2011-11-09 18:44:17
750,796
2019-08-27 09:13:17
https://stackoverflow.com/q/8069724
https://stackoverflow.com/a/8069914
<p>Your project doesn't have appropriate Source Control Bindings! With the solution open, you'll need to go to <code>File -&gt; Source Control -&gt; Change Source Control</code> to view the bindings for your projects. The failing one probably will show an "Unknown" or not binded status. You can then use that dialog ...
<p>Your project doesn't have appropriate Source Control Bindings! With the solution open, you'll need to go to <code>File -&gt; Source Control -&gt; Change Source Control</code> to view the bindings for your projects. The failing one probably will show an "Unknown" or not binded status. You can then use that dialog ...
733, 32472, 33953
tfs, visual-studio, visual-studio-2008
<h1>Why is TFS ignoring a project in my solution?</h1> <p>I have multiple projects in our solution that is in our TFS 2010 repository. I've added about 5 new projects to this solution in recent days.</p> <p>I have found that for one of the projects, that the project file itself will not check-in to TFS. All of the art...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,549
tvfc
# Why is TFS ignoring a project in my solution? I have multiple projects in our solution that is in our TFS 2010 repository. I've added about 5 new projects to this solution in recent days. I have found that for one of the projects, that the project file itself will not check-in to TFS. All of the artifacts contained...
Your project doesn't have appropriate Source Control Bindings! With the solution open, you'll need to go to `File -> Source Control -> Change Source Control` to view the bindings for your projects. The failing one probably will show an "Unknown" or not binded status. You can then use that dialog to correct the binding ...
6259405
How to ignore white space when comparing source in Visual Studio / TFS?
85
2011-06-07 00:05:09
<p>The compare tool in Visual Source Safe (pre TFS) had a handy checkbox to select "Ignore White Space".</p> <p>Now we are using TFS with Visual Studio 2010, and the compare dialog no longer has this option. (A ridiculous oversight from Microsoft!)</p> <p>So, is it possible somehow to work around this?</p>
64,624
1,885
2020-06-04 13:35:32
6,259,412
82
2011-06-07 00:05:54
1,885
2017-08-18 23:01:44
https://stackoverflow.com/q/6259405
https://stackoverflow.com/a/6259412
<p>This is a workaround that seems to get around the problem.</p> <p>In Visual Studio, select Tools / Options / Source Control / Visual Studio Team Foundation System and click the Configure User Tools button.</p> <p>In the dialog, Add an item with the following settings.</p> <ul> <li>Extension : .* </li> <li>Operati...
<p>This is a workaround that seems to get around the problem.</p> <p>In Visual Studio, select Tools / Options / Source Control / Visual Studio Team Foundation System and click the Configure User Tools button.</p> <p>In the dialog, Add an item with the following settings.</p> <ul> <li>Extension : .* </li> <li>Operati...
733, 14456
tfs, visual-studio-2010
<h1>How to ignore white space when comparing source in Visual Studio / TFS?</h1> <p>The compare tool in Visual Source Safe (pre TFS) had a handy checkbox to select "Ignore White Space".</p> <p>Now we are using TFS with Visual Studio 2010, and the compare dialog no longer has this option. (A ridiculous oversight from M...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,550
tvfc
# How to ignore white space when comparing source in Visual Studio / TFS? The compare tool in Visual Source Safe (pre TFS) had a handy checkbox to select "Ignore White Space". Now we are using TFS with Visual Studio 2010, and the compare dialog no longer has this option. (A ridiculous oversight from Microsoft!) So, ...
This is a workaround that seems to get around the problem. In Visual Studio, select Tools / Options / Source Control / Visual Studio Team Foundation System and click the Configure User Tools button. In the dialog, Add an item with the following settings. - Extension : .* - Operation : Compare - Command : C:\Program ...
15113652
Rollback a changeset in tfs
59
2013-02-27 13:45:58
<p>Using visual studio 2012 and TFS 2012, I would like to rollback a changeset to the prior one.</p>
117,887
null
2019-08-08 11:13:16
15,115,181
82
2013-02-27 14:55:25
568,475
2013-02-27 14:55:25
https://stackoverflow.com/q/15113652
https://stackoverflow.com/a/15115181
<p>In TFS 2012, </p> <ol> <li>View the history of the thing you want to rollback. </li> <li>Select the changeset you want to roll back. </li> <li>Right click on the changset and choose "Rollback". </li> <li>Check that the pending changes are correct (the rollback command will revert the entire changeset not just the f...
<p>In TFS 2012, </p> <ol> <li>View the history of the thing you want to rollback. </li> <li>Select the changeset you want to roll back. </li> <li>Right click on the changset and choose "Rollback". </li> <li>Check that the pending changes are correct (the rollback command will revert the entire changeset not just the f...
733, 33953, 80825
tfs, visual-studio, visual-studio-2012
<h1>Rollback a changeset in tfs</h1> <p>Using visual studio 2012 and TFS 2012, I would like to rollback a changeset to the prior one.</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,551
tvfc
# Rollback a changeset in tfs Using visual studio 2012 and TFS 2012, I would like to rollback a changeset to the prior one.
In TFS 2012, 1. View the history of the thing you want to rollback. 2. Select the changeset you want to roll back. 3. Right click on the changset and choose "Rollback". 4. Check that the pending changes are correct (the rollback command will revert the entire changeset not just the file you selected) 5. Check in. In ...
21892460
Visual Studio - Page not found
43
2014-02-19 21:08:55
<p>Today I selected "Work Items" as I have a million times before but this time I was met with this error along the top of my "Team Explorer" tab:</p> <blockquote> <p>"Page [some long GUID] not found."</p> </blockquote> <p>This also happened for "Pending changes".</p>
17,800
255,858
2018-10-22 14:25:45
21,892,485
80
2014-02-19 21:10:27
255,858
2018-10-22 14:25:45
https://stackoverflow.com/q/21892460
https://stackoverflow.com/a/21892485
<p>To fix the issue simply run the below command in an elevated command prompt as detailed <a href="http://blogs.msdn.com/b/dstfs/archive/2013/11/21/quot-pending-changes-and-source-control-explorer-missing-from-team-explorer-in-visual-studio-2013.aspx?CommentPosted=true#commentmessage" rel="noreferrer">here</a>.</p> <...
<p>To fix the issue simply run the below command in an elevated command prompt as detailed <a href="http://blogs.msdn.com/b/dstfs/archive/2013/11/21/quot-pending-changes-and-source-control-explorer-missing-from-team-explorer-in-visual-studio-2013.aspx?CommentPosted=true#commentmessage" rel="noreferrer">here</a>.</p> <...
733, 33953
tfs, visual-studio
<h1>Visual Studio - Page not found</h1> <p>Today I selected "Work Items" as I have a million times before but this time I was met with this error along the top of my "Team Explorer" tab:</p> <blockquote> <p>"Page [some long GUID] not found."</p> </blockquote> <p>This also happened for "Pending changes".</p>
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,552
tvfc
# Visual Studio - Page not found Today I selected "Work Items" as I have a million times before but this time I was met with this error along the top of my "Team Explorer" tab: > "Page [some long GUID] not found." This also happened for "Pending changes".
To fix the issue simply run the below command in an elevated command prompt as detailed [here](http://blogs.msdn.com/b/dstfs/archive/2013/11/21/quot-pending-changes-and-source-control-explorer-missing-from-team-explorer-in-visual-studio-2013.aspx?CommentPosted=true#commentmessage). ``` "C:\Program Files (x86)\Microsof...
12263972
How to disable auto done status for task in checkin
61
2012-09-04 12:57:38
<p>We just moved to use TFS 2012 which seems to be a huge upgrade for 2008 in usability with VS2012.</p> <p>However, there is a very annoying feature with "My Work" feature if you connect your work with a certain task. After you have connected the task with your work item, any checkin to any branch will mark the task ...
15,321
1,223,626
2023-01-05 13:13:36
12,264,770
79
2012-09-04 13:40:54
383,710
2015-11-05 21:08:09
https://stackoverflow.com/q/12263972
https://stackoverflow.com/a/12264770
<p>When you are in the Pending Changes panel ready to check in your fix and you associate you work item with the changeset you should change "Resolve" to "Associate" (or what ever it is in Scrum).</p> <p><img src="https://i.sstatic.net/iG38V.png" alt="Pending Changes"></p> <hr> <p>To make this the Default is more co...
<p>When you are in the Pending Changes panel ready to check in your fix and you associate you work item with the changeset you should change "Resolve" to "Associate" (or what ever it is in Scrum).</p> <p><img src="https://i.sstatic.net/iG38V.png" alt="Pending Changes"></p> <hr> <p>To make this the Default is more co...
733, 80825
tfs, visual-studio-2012
<h1>How to disable auto done status for task in checkin</h1> <p>We just moved to use TFS 2012 which seems to be a huge upgrade for 2008 in usability with VS2012.</p> <p>However, there is a very annoying feature with "My Work" feature if you connect your work with a certain task. After you have connected the task with ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,553
tvfc
# How to disable auto done status for task in checkin We just moved to use TFS 2012 which seems to be a huge upgrade for 2008 in usability with VS2012. However, there is a very annoying feature with "My Work" feature if you connect your work with a certain task. After you have connected the task with your work item, ...
When you are in the Pending Changes panel ready to check in your fix and you associate you work item with the changeset you should change "Resolve" to "Associate" (or what ever it is in Scrum). ![Pending Changes](https://i.sstatic.net/iG38V.png) --- To make this the Default is more complicated. You will need to [ed...
1646580
Get Visual Studio to run a T4 Template on every build
186
2009-10-29 21:14:03
<p>How do I get a T4 template to generate its output on every build? As it is now, it only regenerates it when I make a change to the template.</p> <p>I have found other questions similar to this:</p> <p><a href="https://stackoverflow.com/questions/1293320/t4-transformation-and-build-order-in-visual-studio">T4 trans...
77,725
16,012
2024-10-17 19:29:42
3,041,089
72
2010-06-14 21:31:15
50,225
2013-09-11 17:22:19
https://stackoverflow.com/q/1646580
https://stackoverflow.com/a/3041089
<p>I used JoelFan's answer to come up w/ this. I like it better because you don't have to remember to modify the pre-build event every time you add a new .tt file to the project.</p> <ul> <li>add TextTransform.exe to your <code>%PATH%</code></li> <li>created a batch file named transform_all.bat (see below)</li> <li>cr...
<p>I used JoelFan's answer to come up w/ this. I like it better because you don't have to remember to modify the pre-build event every time you add a new .tt file to the project.</p> <ul> <li>add TextTransform.exe to your <code>%PATH%</code></li> <li>created a batch file named transform_all.bat (see below)</li> <li>cr...
265, 733, 767, 33953
msbuild, t4, tfs, visual-studio
<h1>Get Visual Studio to run a T4 Template on every build</h1> <p>How do I get a T4 template to generate its output on every build? As it is now, it only regenerates it when I make a change to the template.</p> <p>I have found other questions similar to this:</p> <p><a href="https://stackoverflow.com/questions/12933...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,554
tvfc
# Get Visual Studio to run a T4 Template on every build How do I get a T4 template to generate its output on every build? As it is now, it only regenerates it when I make a change to the template. I have found other questions similar to this: [T4 transformation and build order in Visual Studio](https://stackoverflow...
I used JoelFan's answer to come up w/ this. I like it better because you don't have to remember to modify the pre-build event every time you add a new .tt file to the project. - add TextTransform.exe to your `%PATH%` - created a batch file named transform_all.bat (see below) - create a pre-build event "`transform_all ...
11278842
TFS Workspaces across VS 2010 and 2012?
38
2012-07-01 01:02:00
<p>I am currently developing on Visual Studio 2012 RC using TFS Preview for source control. I would like to create an SSIS Integration project, which requires me to use Visual Studio 2010. However, when I connect to TFS from VS 2010, it automatically creates a new workspace and does not list the VS 2012 workspace.</p...
15,881
253,693
2014-10-14 17:19:05
11,287,076
70
2012-07-02 01:55:40
729,881
2012-07-02 01:55:40
https://stackoverflow.com/q/11278842
https://stackoverflow.com/a/11287076
<p>TFS 2012 introduces a new concept called <em>local workspaces</em>, which differ subtly from the behavior of workspaces in previous versions of TFS (the old default behavior is now called a <em>server workspace</em>.) Local workspaces do not require read-only files and instead allow files to be edited without check...
<p>TFS 2012 introduces a new concept called <em>local workspaces</em>, which differ subtly from the behavior of workspaces in previous versions of TFS (the old default behavior is now called a <em>server workspace</em>.) Local workspaces do not require read-only files and instead allow files to be edited without check...
422, 733, 14456, 80825
tfs, visual-studio-2010, visual-studio-2012, workspace
<h1>TFS Workspaces across VS 2010 and 2012?</h1> <p>I am currently developing on Visual Studio 2012 RC using TFS Preview for source control. I would like to create an SSIS Integration project, which requires me to use Visual Studio 2010. However, when I connect to TFS from VS 2010, it automatically creates a new work...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,555
tvfc
# TFS Workspaces across VS 2010 and 2012? I am currently developing on Visual Studio 2012 RC using TFS Preview for source control. I would like to create an SSIS Integration project, which requires me to use Visual Studio 2010. However, when I connect to TFS from VS 2010, it automatically creates a new workspace and d...
TFS 2012 introduces a new concept called *local workspaces*, which differ subtly from the behavior of workspaces in previous versions of TFS (the old default behavior is now called a *server workspace*.) Local workspaces do not require read-only files and instead allow files to be edited without checking out from the s...
13251695
TFS: Search for a file by name in source control
64
2012-11-06 13:04:52
<p>I can't find a file in our source control of the TFS because it's simply a big mess. So I want to know if there is a way to search for files by their name?</p> <p>I've heard of the Power Tool for TFS which enables search functionality but the problem is that it has to be installed and our sysadmin is currently not ...
65,753
1,752,970
2025-01-17 17:36:32
13,252,401
69
2012-11-06 13:47:24
1,785,068
2012-11-06 15:57:55
https://stackoverflow.com/q/13251695
https://stackoverflow.com/a/13252401
<p>If you are using Visual Studio 2010</p> <ul> <li>Right click on your collection or team project</li> <li>Select 'Find in source control'</li> <li>Then select 'status' or 'wildcard'</li> <li>You can search for your files there</li> </ul> <p>The following will list all the items in your repository without checking t...
<p>If you are using Visual Studio 2010</p> <ul> <li>Right click on your collection or team project</li> <li>Select 'Find in source control'</li> <li>Then select 'status' or 'wildcard'</li> <li>You can search for your files there</li> </ul> <p>The following will list all the items in your repository without checking t...
733, 14456, 30957
source-control-explorer, tfs, visual-studio-2010
<h1>TFS: Search for a file by name in source control</h1> <p>I can't find a file in our source control of the TFS because it's simply a big mess. So I want to know if there is a way to search for files by their name?</p> <p>I've heard of the Power Tool for TFS which enables search functionality but the problem is that...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,556
tvfc
# TFS: Search for a file by name in source control I can't find a file in our source control of the TFS because it's simply a big mess. So I want to know if there is a way to search for files by their name? I've heard of the Power Tool for TFS which enables search functionality but the problem is that it has to be in...
If you are using Visual Studio 2010 - Right click on your collection or team project - Select 'Find in source control' - Then select 'status' or 'wildcard' - You can search for your files there The following will list all the items in your repository without checking them out [tf Dir command](http://msdn.microsoft.c...
23825021
TFS creates a $tf folder with gigabytes of .gz files. Can I safely delete it?
54
2014-05-23 09:01:38
<p>I am using visual studio 2012 with Microsoft TFS 2012.</p> <p>On the workspace that is created on my <code>c:</code> drive, a hidden folder <code>$tf</code> is created. I suspect TFS from creating this folder. It's lurking diskspace as the current size is several gigabytes now and it's about 25% diskspace of the to...
30,743
2,479,874
2022-06-28 20:35:58
23,825,362
66
2014-05-23 09:17:59
736,079
2018-06-08 11:00:58
https://stackoverflow.com/q/23825021
https://stackoverflow.com/a/23825362
<p>TFS keeps a hash and some additional information on all file in the workspace so that it can do change tracking for Local Workspaces and quickly detect the changes in the files. It also contains the compressed baseline for your files. Binary files and already compressed files will clog up quite a bit of space. Simpl...
<p>TFS keeps a hash and some additional information on all file in the workspace so that it can do change tracking for Local Workspaces and quickly detect the changes in the files. It also contains the compressed baseline for your files. Binary files and already compressed files will clog up quite a bit of space. Simpl...
733, 3039, 80825, 104161
diskspace, tfs, tfvc, visual-studio-2012
<h1>TFS creates a $tf folder with gigabytes of .gz files. Can I safely delete it?</h1> <p>I am using visual studio 2012 with Microsoft TFS 2012.</p> <p>On the workspace that is created on my <code>c:</code> drive, a hidden folder <code>$tf</code> is created. I suspect TFS from creating this folder. It's lurking disksp...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,557
tvfc
# TFS creates a $tf folder with gigabytes of .gz files. Can I safely delete it? I am using visual studio 2012 with Microsoft TFS 2012. On the workspace that is created on my `c:` drive, a hidden folder `$tf` is created. I suspect TFS from creating this folder. It's lurking diskspace as the current size is several gig...
TFS keeps a hash and some additional information on all file in the workspace so that it can do change tracking for Local Workspaces and quickly detect the changes in the files. It also contains the compressed baseline for your files. Binary files and already compressed files will clog up quite a bit of space. Simple `...
15564714
My edited files not appear in TFS's Pending Changes window
40
2013-03-22 07:10:20
<p>I am using VS2010's TFS and have this problem: after 'Get latest version', and try to edit the file, it does not appear in Pending Changes window. I have to use the option 'Check out to Edit' for every files I want to change. It makes me missing some files when working with a big project. Any one have idea to fix th...
50,347
1,948,270
2023-07-10 15:49:40
16,005,555
64
2013-04-14 23:29:46
null
2017-08-15 17:41:58
https://stackoverflow.com/q/15564714
https://stackoverflow.com/a/16005555
<p>Go to <code>File -&gt; Source Control -&gt; Go Online</code> and it will fix this problem.</p>
<p>Go to <code>File -&gt; Source Control -&gt; Go Online</code> and it will fix this problem.</p>
456, 733
tfs, version-control
<h1>My edited files not appear in TFS's Pending Changes window</h1> <p>I am using VS2010's TFS and have this problem: after 'Get latest version', and try to edit the file, it does not appear in Pending Changes window. I have to use the option 'Check out to Edit' for every files I want to change. It makes me missing som...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,559
tvfc
# My edited files not appear in TFS's Pending Changes window I am using VS2010's TFS and have this problem: after 'Get latest version', and try to edit the file, it does not appear in Pending Changes window. I have to use the option 'Check out to Edit' for every files I want to change. It makes me missing some files w...
Go to `File -> Source Control -> Go Online` and it will fix this problem.
1758606
How does TFPT.exe find what workspace to work in?
50
2009-11-18 19:51:59
<p>In using tfpt from the command, I'm getting the error:</p> <pre><code>PS D:\Main Line&gt; tfpt uu /noget Unable to determine the workspace. </code></pre> <p>Here I'm trying to use the Undo Unchanged command, but I've seen this error with other commands too. The path I'm at is the exact path that is mapped in my T...
38,113
94,995
2018-12-10 08:21:56
2,029,252
63
2010-01-08 17:10:07
234,214
2018-10-05 12:51:11
https://stackoverflow.com/q/1758606
https://stackoverflow.com/a/2029252
<p>I ran into this same issue, I found the answer at the bottom of the page in one of the help files that came with The power tools. (TFPTCommandLineTool.mht)</p> <p>Errors</p> <p>TFPT Error: Unable to determine the workspace</p> <p>When running tfpt using a command that works with Version Control, you may receive o...
<p>I ran into this same issue, I found the answer at the bottom of the page in one of the help files that came with The power tools. (TFPTCommandLineTool.mht)</p> <p>Errors</p> <p>TFPT Error: Unable to determine the workspace</p> <p>When running tfpt using a command that works with Version Control, you may receive o...
50162
tfs-power-tools
<h1>How does TFPT.exe find what workspace to work in?</h1> <p>In using tfpt from the command, I'm getting the error:</p> <pre><code>PS D:\Main Line&gt; tfpt uu /noget Unable to determine the workspace. </code></pre> <p>Here I'm trying to use the Undo Unchanged command, but I've seen this error with other commands too...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,560
tvfc
# How does TFPT.exe find what workspace to work in? In using tfpt from the command, I'm getting the error: ``` PS D:\Main Line> tfpt uu /noget Unable to determine the workspace. ``` Here I'm trying to use the Undo Unchanged command, but I've seen this error with other commands too. The path I'm at is the exact path ...
I ran into this same issue, I found the answer at the bottom of the page in one of the help files that came with The power tools. (TFPTCommandLineTool.mht) Errors TFPT Error: Unable to determine the workspace When running tfpt using a command that works with Version Control, you may receive one of the errors: ``` U...
42797993
Package version is always 1.0.0 with dotnet pack
99
2017-03-14 22:48:09
<p>TLDR: Where is <code>dotnet pack</code> pulling the version information when it creates the nuget package for an assembly? </p> <p>I have a library, that I had transitioned from a .NET 4.6.1 project to a .NET Core project with <code>project.json</code>. For my CI during this period (using TFS 2015 vnext), I would...
71,062
1,840,331
2025-02-01 00:27:03
42,799,863
62
2017-03-15 02:02:51
3,191,599
2017-03-22 18:44:14
https://stackoverflow.com/q/42797993
https://stackoverflow.com/a/42799863
<p>When you use <code>dotnet pack</code>, the version is pulled from the project definition (previously <code>project.json</code>, now <code>*.csproj</code>), not <code>AssemblyInfo.cs</code>. So, your new workflow will be very similar to what it was with <code>project.json</code>.</p> <p>From the <a href="https://lea...
<p>When you use <code>dotnet pack</code>, the version is pulled from the project definition (previously <code>project.json</code>, now <code>*.csproj</code>), not <code>AssemblyInfo.cs</code>. So, your new workflow will be very similar to what it was with <code>project.json</code>.</p> <p>From the <a href="https://lea...
1, 265, 733, 33953, 108163
.net, .net-core, msbuild, tfs, visual-studio
<h1>Package version is always 1.0.0 with dotnet pack</h1> <p>TLDR: Where is <code>dotnet pack</code> pulling the version information when it creates the nuget package for an assembly? </p> <p>I have a library, that I had transitioned from a .NET 4.6.1 project to a .NET Core project with <code>project.json</code>. Fo...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,561
tvfc
# Package version is always 1.0.0 with dotnet pack TLDR: Where is `dotnet pack` pulling the version information when it creates the nuget package for an assembly? I have a library, that I had transitioned from a .NET 4.6.1 project to a .NET Core project with `project.json`. For my CI during this period (using TFS 201...
When you use `dotnet pack`, the version is pulled from the project definition (previously `project.json`, now `*.csproj`), not `AssemblyInfo.cs`. So, your new workflow will be very similar to what it was with `project.json`. From the [project.json to csproj migration docs](https://learn.microsoft.com/en-us/dotnet/arti...
41039
Find in Files: Search all code in Team Foundation Server
103
2008-09-03 01:49:04
<p>Is there a way to search the latest version of every file in TFS for a specific string or regex? This is probably the only thing I miss from Visual Source Safe... </p> <p>Currently I perform a Get Latest on the entire codebase and use Windows Search, but this gets quite painful with over 1GB of code in 75,000 file...
123,777
952
2019-01-08 13:09:03
78,966
61
2008-09-17 01:34:39
11,210
2017-09-06 07:02:18
https://stackoverflow.com/q/41039
https://stackoverflow.com/a/78966
<p>Team Foundation Server 2015 (on-premises) and Visual Studio Team Services (cloud version) include built-in support for searching across all your code and work items.</p> <p>You can do simple string searches like <code>foo</code>, boolean operations like <code>foo OR bar</code> or more complex language-specific thin...
<p>Team Foundation Server 2015 (on-premises) and Visual Studio Team Services (cloud version) include built-in support for searching across all your code and work items.</p> <p>You can do simple string searches like <code>foo</code>, boolean operations like <code>foo OR bar</code> or more complex language-specific thin...
733, 816, 32472, 37635
code-search-engine, search, tfs, visual-studio-2008
<h1>Find in Files: Search all code in Team Foundation Server</h1> <p>Is there a way to search the latest version of every file in TFS for a specific string or regex? This is probably the only thing I miss from Visual Source Safe... </p> <p>Currently I perform a Get Latest on the entire codebase and use Windows Search...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,562
tvfc
# Find in Files: Search all code in Team Foundation Server Is there a way to search the latest version of every file in TFS for a specific string or regex? This is probably the only thing I miss from Visual Source Safe... Currently I perform a Get Latest on the entire codebase and use Windows Search, but this gets qu...
Team Foundation Server 2015 (on-premises) and Visual Studio Team Services (cloud version) include built-in support for searching across all your code and work items. You can do simple string searches like `foo`, boolean operations like `foo OR bar` or more complex language-specific things like `class:WebRequest` [![s...
4998259
Team Foundation Server: How to view changeset history
44
2011-02-14 22:54:56
<p>I'd like to know how to view entire changeset history in Team Foundation Server for a given project.</p> <p>this is what I want to see- starting from changeset 1 all the way to the current changeset:</p> <p>show me change #, username, date of submission, description, files that were changed, etc.</p> <p>note: i d...
35,491
257,558
2021-11-30 05:46:43
4,998,276
61
2011-02-14 22:57:04
285,002
2011-02-14 22:57:04
https://stackoverflow.com/q/4998259
https://stackoverflow.com/a/4998276
<p>you can go to the <a href="http://msdn.microsoft.com/en-us/library/ms181370.aspx"><code>Source Control Explorer</code></a> in Visual Studio and right-click on your project and select <a href="http://msdn.microsoft.com/en-us/library/ms181413.aspx"><code>View History</code></a>. This will show you the list of all cha...
<p>you can go to the <a href="http://msdn.microsoft.com/en-us/library/ms181370.aspx"><code>Source Control Explorer</code></a> in Visual Studio and right-click on your project and select <a href="http://msdn.microsoft.com/en-us/library/ms181413.aspx"><code>View History</code></a>. This will show you the list of all cha...
733
tfs
<h1>Team Foundation Server: How to view changeset history</h1> <p>I'd like to know how to view entire changeset history in Team Foundation Server for a given project.</p> <p>this is what I want to see- starting from changeset 1 all the way to the current changeset:</p> <p>show me change #, username, date of submissio...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,563
tvfc
# Team Foundation Server: How to view changeset history I'd like to know how to view entire changeset history in Team Foundation Server for a given project. this is what I want to see- starting from changeset 1 all the way to the current changeset: show me change #, username, date of submission, description, files t...
you can go to the [`Source Control Explorer`](http://msdn.microsoft.com/en-us/library/ms181370.aspx) in Visual Studio and right-click on your project and select [`View History`](http://msdn.microsoft.com/en-us/library/ms181413.aspx). This will show you the list of all changesets made to that project, who made them, the...
4041836
Team Build: Publish locally using MSDeploy
32
2010-10-28 10:14:46
<p>I'm just getting started with the team build functionality and I'm finding the sheer amount of things required to do something pretty simple a bit overwhelming. My setup at the moment is a solution with a web app, an assembly app and a test app. The web app has a PublishProfile set up which publishes via the filesys...
25,464
339,197
2014-07-25 04:36:50
4,045,406
61
2010-10-28 17:13:04
105,999
2013-03-11 14:46:53
https://stackoverflow.com/q/4041836
https://stackoverflow.com/a/4045406
<p>Unfortunately sharing of the Publish Profile is not supported or implemented in MSBuild. The logic to publish from the profile is contained in VS itself. Fortunately the profile doesn't contain much information so there are ways to achieve what you are looking for. Our targets do not specifically support the exact s...
<p>Unfortunately sharing of the Publish Profile is not supported or implemented in MSBuild. The logic to publish from the profile is contained in VS itself. Fortunately the profile doesn't contain much information so there are ways to achieve what you are looking for. Our targets do not specifically support the exact s...
265, 733, 1509, 4243, 25779
msbuild, msdeploy, publish, release, tfs
<h1>Team Build: Publish locally using MSDeploy</h1> <p>I'm just getting started with the team build functionality and I'm finding the sheer amount of things required to do something pretty simple a bit overwhelming. My setup at the moment is a solution with a web app, an assembly app and a test app. The web app has 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,564
tvfc
# Team Build: Publish locally using MSDeploy I'm just getting started with the team build functionality and I'm finding the sheer amount of things required to do something pretty simple a bit overwhelming. My setup at the moment is a solution with a web app, an assembly app and a test app. The web app has a PublishPro...
Unfortunately sharing of the Publish Profile is not supported or implemented in MSBuild. The logic to publish from the profile is contained in VS itself. Fortunately the profile doesn't contain much information so there are ways to achieve what you are looking for. Our targets do not specifically support the exact same...
1437304
In TFS, how do I do a baseless merge on specific changesets?
43
2009-09-17 07:48:40
<p>As with most things in <a href="http://en.wikipedia.org/wiki/Team_Foundation_Server" rel="noreferrer">TFS</a> you get more than you bargained for. In this case I am seeing more file changes during the merge than I was expecting.</p> <p>I have 2 child branches, lets be exciting and call them branch1 and branch2. Bo...
17,346
2,720
2013-12-04 18:29:13
1,530,727
60
2009-10-07 10:22:02
null
2013-02-18 10:11:24
https://stackoverflow.com/q/1437304
https://stackoverflow.com/a/1530727
<p>If you need to merge a specific changeset you need to use the following statement:</p> <pre><code>tf merge /baseless /recursive /version:C95654~C95654 branch2 branch1 </code></pre> <p>(It means ONLY changeset C95654).</p> <p>The commandline you are using means every changeset before and with C95654.</p>
<p>If you need to merge a specific changeset you need to use the following statement:</p> <pre><code>tf merge /baseless /recursive /version:C95654~C95654 branch2 branch1 </code></pre> <p>(It means ONLY changeset C95654).</p> <p>The commandline you are using means every changeset before and with C95654.</p>
717, 733, 1231
command-line, merge, tfs
<h1>In TFS, how do I do a baseless merge on specific changesets?</h1> <p>As with most things in <a href="http://en.wikipedia.org/wiki/Team_Foundation_Server" rel="noreferrer">TFS</a> you get more than you bargained for. In this case I am seeing more file changes during the merge than I was expecting.</p> <p>I have 2 c...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,565
tvfc
# In TFS, how do I do a baseless merge on specific changesets? As with most things in [TFS](http://en.wikipedia.org/wiki/Team_Foundation_Server) you get more than you bargained for. In this case I am seeing more file changes during the merge than I was expecting. I have 2 child branches, lets be exciting and call the...
If you need to merge a specific changeset you need to use the following statement: ``` tf merge /baseless /recursive /version:C95654~C95654 branch2 branch1 ``` (It means ONLY changeset C95654). The commandline you are using means every changeset before and with C95654.
21883129
How to get rid of "The solution you are trying to open is bound to source control" message
31
2014-02-19 14:16:42
<p>I have a Visual Studio solution files copied from a source controlled solution. I don't want it to be source controlled and when I open it I get the message: <code>the solution you are trying to open is bound to source control</code></p> <p>I deleted the .vssscc files but still get the message. How can I get rid of...
12,652
386,817
2019-08-22 06:56:51
21,883,548
59
2014-02-19 14:33:06
205,233
2014-02-19 14:33:06
https://stackoverflow.com/q/21883129
https://stackoverflow.com/a/21883548
<p>You need to clean the solution file (.sln) by removing the following GlobalSection:</p> <pre><code>GlobalSection(TeamFoundationVersionControl) = preSolution SccNumberOfProjects = 2 SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C} SccTeamFoundationServer = http://example.com/tfs/defaultcoll...
<p>You need to clean the solution file (.sln) by removing the following GlobalSection:</p> <pre><code>GlobalSection(TeamFoundationVersionControl) = preSolution SccNumberOfProjects = 2 SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C} SccTeamFoundationServer = http://example.com/tfs/defaultcoll...
733, 33953, 80825
tfs, visual-studio, visual-studio-2012
<h1>How to get rid of "The solution you are trying to open is bound to source control" message</h1> <p>I have a Visual Studio solution files copied from a source controlled solution. I don't want it to be source controlled and when I open it I get the message: <code>the solution you are trying to open is bound to sourc...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,566
tvfc
# How to get rid of "The solution you are trying to open is bound to source control" message I have a Visual Studio solution files copied from a source controlled solution. I don't want it to be source controlled and when I open it I get the message: `the solution you are trying to open is bound to source control` I ...
You need to clean the solution file (.sln) by removing the following GlobalSection: ``` GlobalSection(TeamFoundationVersionControl) = preSolution SccNumberOfProjects = 2 SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C} SccTeamFoundationServer = http://example.com/tfs/defaultcollection Scc...
30138669
Where can I find Microsoft.TeamFoundation.Build.Client in Visual Studio 2015?
37
2015-05-09 10:13:09
<p>I have a clean windows installation with just Visual Studio 2015 installed and I'm looking to find the Microsoft.TeamFoundation.Build.Client assembly?</p> <p>I'm wondering if it has now been made obsolete with the upcoming vNext Build or if the namespace moved? or something else? The MSDN documentation only goes up...
43,833
772,839
2019-08-27 13:31:58
30,158,212
58
2015-05-11 00:50:45
957,482
2019-08-27 13:31:58
https://stackoverflow.com/q/30138669
https://stackoverflow.com/a/30158212
<p><code>Microsoft.TeamFoundation.Build.Client.dll</code> still ships with VS 2015. For the 2015 release, we have removed the client OM DLLs from the GAC.</p> <p>In the RC release you can find the DLL in <code>c:\program files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Tea...
<p><code>Microsoft.TeamFoundation.Build.Client.dll</code> still ships with VS 2015. For the 2015 release, we have removed the client OM DLLs from the GAC.</p> <p>In the RC release you can find the DLL in <code>c:\program files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Tea...
265, 733, 108143, 110393, 123095
msbuild, tfs, tfs-2015, visual-studio-2015, visual-studio-2017
<h1>Where can I find Microsoft.TeamFoundation.Build.Client in Visual Studio 2015?</h1> <p>I have a clean windows installation with just Visual Studio 2015 installed and I'm looking to find the Microsoft.TeamFoundation.Build.Client assembly?</p> <p>I'm wondering if it has now been made obsolete with the upcoming vNext ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,567
tvfc
# Where can I find Microsoft.TeamFoundation.Build.Client in Visual Studio 2015? I have a clean windows installation with just Visual Studio 2015 installed and I'm looking to find the Microsoft.TeamFoundation.Build.Client assembly? I'm wondering if it has now been made obsolete with the upcoming vNext Build or if the ...
`Microsoft.TeamFoundation.Build.Client.dll` still ships with VS 2015. For the 2015 release, we have removed the client OM DLLs from the GAC. In the RC release you can find the DLL in `c:\program files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer`. It's kind of ...
52234
Creating a Patch with TFS
63
2008-09-09 15:57:38
<p>Creating a patch is very easy in SubVersion, With Tortoise, you right-click and select Create Patch. But for the life of me, I can't find this functionality in TFS. Is this possible?</p> <p>If not, what's the standard way to submit patches in open source TFS hosted projects (a la CodePlex)?</p>
18,380
736
2015-07-04 06:19:10
52,242
57
2008-09-09 16:03:42
533
2012-08-01 22:20:17
https://stackoverflow.com/q/52234
https://stackoverflow.com/a/52242
<pre><code>tf diff /shelveset:shelveset /format:unified </code></pre> <p><strong>Edit:</strong> This writes to standard output. You can pipe the output to a file.</p> <p>For more options, see <a href="http://msdn.microsoft.com/en-us/library/6fd7dc73%28v=vs.100%29.aspx" rel="noreferrer">Difference Command</a>.</p>
<pre><code>tf diff /shelveset:shelveset /format:unified </code></pre> <p><strong>Edit:</strong> This writes to standard output. You can pipe the output to a file.</p> <p>For more options, see <a href="http://msdn.microsoft.com/en-us/library/6fd7dc73%28v=vs.100%29.aspx" rel="noreferrer">Difference Command</a>.</p>
456, 733, 2132
patch, tfs, version-control
<h1>Creating a Patch with TFS</h1> <p>Creating a patch is very easy in SubVersion, With Tortoise, you right-click and select Create Patch. But for the life of me, I can't find this functionality in TFS. Is this possible?</p> <p>If not, what's the standard way to submit patches in open source TFS hosted projects (a la ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,568
tvfc
# Creating a Patch with TFS Creating a patch is very easy in SubVersion, With Tortoise, you right-click and select Create Patch. But for the life of me, I can't find this functionality in TFS. Is this possible? If not, what's the standard way to submit patches in open source TFS hosted projects (a la CodePlex)?
``` tf diff /shelveset:shelveset /format:unified ``` **Edit:** This writes to standard output. You can pipe the output to a file. For more options, see [Difference Command](http://msdn.microsoft.com/en-us/library/6fd7dc73%28v=vs.100%29.aspx).
15906785
undoing pending changes through visual studio hangs for large number of changes
31
2013-04-09 15:58:02
<p>I am using vs2012 with tfs. The whole things hangs when i try to undo a big changeset for an entire solution. The workaround I have adopted is to do this project by project. Is there a better way to do this? </p> <p>I would re-map tfs to a fresh directory but then all those checkouts would still need to be undone. ...
9,107
1,462,556
2023-01-09 09:33:21
15,912,637
56
2013-04-09 21:13:15
147,211
2013-04-09 21:13:15
https://stackoverflow.com/q/15906785
https://stackoverflow.com/a/15912637
<p><a href="http://msdn.microsoft.com/en-us/library/c72skhw4"><code>tf undo</code></a> from the Developer Command Prompt for VS2012 slightly faster than the IDE.</p> <p>e.g: <code>tf undo $/YourTeamProject /recursive</code></p>
<p><a href="http://msdn.microsoft.com/en-us/library/c72skhw4"><code>tf undo</code></a> from the Developer Command Prompt for VS2012 slightly faster than the IDE.</p> <p>e.g: <code>tf undo $/YourTeamProject /recursive</code></p>
733, 80825
tfs, visual-studio-2012
<h1>undoing pending changes through visual studio hangs for large number of changes</h1> <p>I am using vs2012 with tfs. The whole things hangs when i try to undo a big changeset for an entire solution. The workaround I have adopted is to do this project by project. Is there a better way to do this? </p> <p>I would re-...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,569
tvfc
# undoing pending changes through visual studio hangs for large number of changes I am using vs2012 with tfs. The whole things hangs when i try to undo a big changeset for an entire solution. The workaround I have adopted is to do this project by project. Is there a better way to do this? I would re-map tfs to a fres...
[`tf undo`](http://msdn.microsoft.com/en-us/library/c72skhw4) from the Developer Command Prompt for VS2012 slightly faster than the IDE. e.g: `tf undo $/YourTeamProject /recursive`
28454746
Visual Studio TFS Git not seeing any changes
67
2015-02-11 12:46:09
<p>I'm not getting something about Visual Studio's Git for TFS.</p> <p>I cloned a colleague's solution in Git on TFS and started adding code. I then realised that I needed my own branch for the changes I was making, and so following the instructions in <a href="https://stackoverflow.com/a/6232535/575530">Push a new lo...
40,744
575,530
2020-04-11 10:55:57
28,462,030
55
2015-02-11 18:44:55
575,530
2015-02-12 10:46:05
https://stackoverflow.com/q/28454746
https://stackoverflow.com/a/28462030
<p>This is more of a workaround than an explanation, but I found that if I ignored <a href="https://msdn.microsoft.com/en-gb/library/vstudio/hh967655" rel="noreferrer">the documentation</a> "when you commit changes, Visual Studio simultaneously stages and commits them" and instead added the modifications to staging wit...
<p>This is more of a workaround than an explanation, but I found that if I ignored <a href="https://msdn.microsoft.com/en-gb/library/vstudio/hh967655" rel="noreferrer">the documentation</a> "when you commit changes, Visual Studio simultaneously stages and commits them" and instead added the modifications to staging wit...
733, 93364
tfs, visual-studio-2013
<h1>Visual Studio TFS Git not seeing any changes</h1> <p>I'm not getting something about Visual Studio's Git for TFS.</p> <p>I cloned a colleague's solution in Git on TFS and started adding code. I then realised that I needed my own branch for the changes I was making, and so following the instructions in <a href="htt...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,570
tvfc
# Visual Studio TFS Git not seeing any changes I'm not getting something about Visual Studio's Git for TFS. I cloned a colleague's solution in Git on TFS and started adding code. I then realised that I needed my own branch for the changes I was making, and so following the instructions in [Push a new local branch to ...
This is more of a workaround than an explanation, but I found that if I ignored [the documentation](https://msdn.microsoft.com/en-gb/library/vstudio/hh967655) "when you commit changes, Visual Studio simultaneously stages and commits them" and instead added the modifications to staging with the command ``` git add -u ....
20661943
Build on TFS 2013 failed but okay locally
26
2013-12-18 15:22:16
<p>When I checked in the code, TFS 2013 built the solution automatically. It is okay in local VS 2013 but failed in TFS.</p> <p>Here is the summary.</p> <pre><code>Summary FTPProcessor | Any CPU 1 error(s), 56 warning(s) $/xxxx/NewServiceHost/New-Branch/NewServiceHost/packageRestore.proj - 0 error(s), 0 warning(s) ...
25,893
null
2016-12-08 18:53:37
20,690,589
55
2013-12-19 20:00:34
1,623,703
2014-01-29 16:10:23
https://stackoverflow.com/q/20661943
https://stackoverflow.com/a/20690589
<p>Your TFS 2013 build server is using MSBuild 12.0 where <a href="http://msdn.microsoft.com/en-us/library/microsoft.build.tasks.codetaskfactory%28v=vs.121%29.aspx" rel="noreferrer">CodeTasksFactory exists in Microsoft.Build.Tasks.v12.0.dll</a> rather than Microsoft.Build.Tasks.v4.0.dll. </p> <p>Ideally you should be...
<p>Your TFS 2013 build server is using MSBuild 12.0 where <a href="http://msdn.microsoft.com/en-us/library/microsoft.build.tasks.codetaskfactory%28v=vs.121%29.aspx" rel="noreferrer">CodeTasksFactory exists in Microsoft.Build.Tasks.v12.0.dll</a> rather than Microsoft.Build.Tasks.v4.0.dll. </p> <p>Ideally you should be...
265, 733, 62770, 93364
msbuild, nuget, tfs, visual-studio-2013
<h1>Build on TFS 2013 failed but okay locally</h1> <p>When I checked in the code, TFS 2013 built the solution automatically. It is okay in local VS 2013 but failed in TFS.</p> <p>Here is the summary.</p> <pre><code>Summary FTPProcessor | Any CPU 1 error(s), 56 warning(s) $/xxxx/NewServiceHost/New-Branch/NewServiceHo...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,572
tvfc
# Build on TFS 2013 failed but okay locally When I checked in the code, TFS 2013 built the solution automatically. It is okay in local VS 2013 but failed in TFS. Here is the summary. ``` Summary FTPProcessor | Any CPU 1 error(s), 56 warning(s) $/xxxx/NewServiceHost/New-Branch/NewServiceHost/packageRestore.proj - 0 ...
Your TFS 2013 build server is using MSBuild 12.0 where [CodeTasksFactory exists in Microsoft.Build.Tasks.v12.0.dll](http://msdn.microsoft.com/en-us/library/microsoft.build.tasks.codetaskfactory%28v=vs.121%29.aspx) rather than Microsoft.Build.Tasks.v4.0.dll. Ideally you should be doing the following: 1) Open your NuGe...
21661798
How do we access MFT through C#
20
2014-02-09 16:37:43
<p>I need to access Windows MFT(Master File Table) using C# in my .net application.<br> I have googled about this and couldn't find any good results. I have been searching for the information from the past 2 days but have been unable to find any information on the same.</p> <p>I am not looking for exact code to do the...
21,788
2,790,036
2021-09-09 08:10:31
31,931,109
55
2015-08-11 00:07:15
1,478,654
2021-03-03 21:01:56
https://stackoverflow.com/q/21661798
https://stackoverflow.com/a/31931109
<p>First, you have to have and assert sufficient privileges to access the MFT - this is a pain all by itself. Then, you have to get a handle to a file/folder on the volume - for the calls in the last step...which is to call a Windows API (called DeviceIOControl) in a loop and read the entries from the returned API cal...
<p>First, you have to have and assert sufficient privileges to access the MFT - this is a pain all by itself. Then, you have to get a handle to a file/folder on the volume - for the calls in the last step...which is to call a Windows API (called DeviceIOControl) in a loop and read the entries from the returned API cal...
1, 9, 6345, 84160
.net, c#, disk, ntfs-mft
<h1>How do we access MFT through C#</h1> <p>I need to access Windows MFT(Master File Table) using C# in my .net application.<br> I have googled about this and couldn't find any good results. I have been searching for the information from the past 2 days but have been unable to find any information on the same.</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,574
tvfc
# How do we access MFT through C# I need to access Windows MFT(Master File Table) using C# in my .net application. I have googled about this and couldn't find any good results. I have been searching for the information from the past 2 days but have been unable to find any information on the same. I am not looking f...
First, you have to have and assert sufficient privileges to access the MFT - this is a pain all by itself. Then, you have to get a handle to a file/folder on the volume - for the calls in the last step...which is to call a Windows API (called DeviceIOControl) in a loop and read the entries from the returned API call - ...
934263
Warning displayed when adding solution to Team Foundation Server 2010
62
2009-06-01 10:26:37
<p>I'm just getting to grips with TFS 2010 (never had any luck with TFS 2008) and I'm trying to add my first solution into TFS. However I am getting the following warning message:</p> <blockquote> <p>The project that you are attempting to add to source control may cause other source control users to have difficulty ...
30,586
445
2020-08-05 14:47:52
934,300
52
2009-06-01 10:40:39
16,076
2020-08-05 14:47:52
https://stackoverflow.com/q/934263
https://stackoverflow.com/a/934300
<p>Your solution folder structure should resemble:</p> <pre><code>Solution Root folder ├── .sln solution file │ ├── Project1 folder │ └── Project1.csproj (or .vbproj) │ ├── Project2 folder │ └── Project2.csproj (or .vbproj) . . . </code></pre>
<p>Your solution folder structure should resemble:</p> <pre><code>Solution Root folder ├── .sln solution file │ ├── Project1 folder │ └── Project1.csproj (or .vbproj) │ ├── Project2 folder │ └── Project2.csproj (or .vbproj) . . . </code></pre>
456, 733, 33953
tfs, version-control, visual-studio
<h1>Warning displayed when adding solution to Team Foundation Server 2010</h1> <p>I'm just getting to grips with TFS 2010 (never had any luck with TFS 2008) and I'm trying to add my first solution into TFS. However I am getting the following warning message:</p> <blockquote> <p>The project that you are attempting to...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,576
tvfc
# Warning displayed when adding solution to Team Foundation Server 2010 I'm just getting to grips with TFS 2010 (never had any luck with TFS 2008) and I'm trying to add my first solution into TFS. However I am getting the following warning message: > The project that you are attempting to add to source control may ca...
Your solution folder structure should resemble: ``` Solution Root folder ├── .sln solution file │ ├── Project1 folder │ └── Project1.csproj (or .vbproj) │ ├── Project2 folder │ └── Project2.csproj (or .vbproj) . . . ```
3135459
How to Add/Edit the Iteration Field in Team Foundation Server Scrum v1.0 beta Workflow
23
2010-06-28 19:21:33
<p>I downloaded and installed the new Team Foundation Server Scrum v1.0 beta work template from Microsoft. I would like to edit the drop-down that displays in the Iteration field used when entering a new Sprint work item. If I enter in a release / sprint number that does not exist I get the following message:</p> <b...
46,715
335,607
2018-12-29 05:38:37
3,137,017
52
2010-06-29 00:06:41
345,708
2010-06-29 00:06:41
https://stackoverflow.com/q/3135459
https://stackoverflow.com/a/3137017
<ol> <li>Connect to TFS.</li> <li>In the Team Explorer, select the team project you want to define the iterations for.</li> <li>Click on the <code>Team</code> menu item in the Visual Studio menu bar.</li> <li>Choose the <code>Team Project Settings</code> sub-menu</li> <li>Choose <code>Areas and Iterations...</code></li...
<ol> <li>Connect to TFS.</li> <li>In the Team Explorer, select the team project you want to define the iterations for.</li> <li>Click on the <code>Team</code> menu item in the Visual Studio menu bar.</li> <li>Choose the <code>Team Project Settings</code> sub-menu</li> <li>Choose <code>Areas and Iterations...</code></li...
733
tfs
<h1>How to Add/Edit the Iteration Field in Team Foundation Server Scrum v1.0 beta Workflow</h1> <p>I downloaded and installed the new Team Foundation Server Scrum v1.0 beta work template from Microsoft. I would like to edit the drop-down that displays in the Iteration field used when entering a new Sprint work item. ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,577
tvfc
# How to Add/Edit the Iteration Field in Team Foundation Server Scrum v1.0 beta Workflow I downloaded and installed the new Team Foundation Server Scrum v1.0 beta work template from Microsoft. I would like to edit the drop-down that displays in the Iteration field used when entering a new Sprint work item. If I enter ...
1. Connect to TFS. 2. In the Team Explorer, select the team project you want to define the iterations for. 3. Click on the `Team` menu item in the Visual Studio menu bar. 4. Choose the `Team Project Settings` sub-menu 5. Choose `Areas and Iterations...` 6. Add sub-nodes as necessary for areas or iterations. Areas and ...
15928072
TFS - getting history for specific line of code in Visual Studio
46
2013-04-10 14:02:47
<p>Is it possible to get history for specific line of code in Visual Studio, when using TFS as source control?</p> <p>Before I used another source control (Vault), and I was able to get history for line of code and check who added/modified it. It looks like TFS lacks such functionality. Are there any reporting tools t...
25,970
472,115
2022-03-24 02:44:22
15,928,407
51
2013-04-10 14:16:24
1,829,783
2014-02-14 10:57:20
https://stackoverflow.com/q/15928072
https://stackoverflow.com/a/15928407
<p>As far as I know, there is nothing like the complete history of one line, which could be very confusing and hard to identify for a version control. Nevertheless, TFS can show you who change the specific line the last time. Two ways to get this:</p> <ol> <li><p>Browse in Source Control Explorer to the file, right cl...
<p>As far as I know, there is nothing like the complete history of one line, which could be very confusing and hard to identify for a version control. Nevertheless, TFS can show you who change the specific line the last time. Two ways to get this:</p> <ol> <li><p>Browse in Source Control Explorer to the file, right cl...
456, 733, 33953
tfs, version-control, visual-studio
<h1>TFS - getting history for specific line of code in Visual Studio</h1> <p>Is it possible to get history for specific line of code in Visual Studio, when using TFS as source control?</p> <p>Before I used another source control (Vault), and I was able to get history for line of code and check who added/modified it. I...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,578
tvfc
# TFS - getting history for specific line of code in Visual Studio Is it possible to get history for specific line of code in Visual Studio, when using TFS as source control? Before I used another source control (Vault), and I was able to get history for line of code and check who added/modified it. It looks like TFS...
As far as I know, there is nothing like the complete history of one line, which could be very confusing and hard to identify for a version control. Nevertheless, TFS can show you who change the specific line the last time. Two ways to get this: 1. Browse in Source Control Explorer to the file, right click it and in th...
989082
How can I remove a merge candidate from the Merge tool in Team System?
36
2009-06-12 21:16:33
<p>In Team System, I have a file that was changed in branch ServicePack\2.1 (which was branched from Integration) and I don't want to merge it to Integration. How do I delete it from the potential changeset list when I try to merge selected changesets?</p>
14,055
3,291
2016-02-18 15:42:30
1,002,301
50
2009-06-16 15:38:42
74,439
2009-06-16 15:38:42
https://stackoverflow.com/q/989082
https://stackoverflow.com/a/1002301
<p>Assuming you want to remove candidate #1234...</p> <pre><code>tf merge ServicePack\2.1 Integration /r /version:1234~1234 /discard tf checkin </code></pre>
<p>Assuming you want to remove candidate #1234...</p> <pre><code>tf merge ServicePack\2.1 Integration /r /version:1234~1234 /discard tf checkin </code></pre>
733
tfs
<h1>How can I remove a merge candidate from the Merge tool in Team System?</h1> <p>In Team System, I have a file that was changed in branch ServicePack\2.1 (which was branched from Integration) and I don't want to merge it to Integration. How do I delete it from the potential changeset list when I try to merge selecte...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,579
tvfc
# How can I remove a merge candidate from the Merge tool in Team System? In Team System, I have a file that was changed in branch ServicePack\2.1 (which was branched from Integration) and I don't want to merge it to Integration. How do I delete it from the potential changeset list when I try to merge selected changese...
Assuming you want to remove candidate #1234... ``` tf merge ServicePack\2.1 Integration /r /version:1234~1234 /discard tf checkin ```
13358244
tf.exe history * getting "Unable to determine the source control server."
33
2012-11-13 09:29:40
<p>We have just upgraded from TFS 2010 to TFS 2012 and we are getting problems with</p> <pre><code>tf.exe history * </code></pre> <p>getting the following error message</p> <blockquote> <p>Unable to determine the source control server.</p> </blockquote>
25,117
58,309
2024-01-30 22:06:46
13,642,120
50
2012-11-30 09:16:55
799,759
2012-11-30 09:16:55
https://stackoverflow.com/q/13358244
https://stackoverflow.com/a/13642120
<p>Had the same problem and tried all sorts of values for /collection, finally hit the right one and all TFS2012 tf commands started working again.</p> <p>In Team Explorer in VS right click the server name and select properties, you need the entire URL parameter including http, the port number, everything. for me that...
<p>Had the same problem and tried all sorts of values for /collection, finally hit the right one and all TFS2012 tf commands started working again.</p> <p>In Team Explorer in VS right click the server name and select properties, you need the entire URL parameter including http, the port number, everything. for me that...
265, 733
msbuild, tfs
<h1>tf.exe history * getting "Unable to determine the source control server."</h1> <p>We have just upgraded from TFS 2010 to TFS 2012 and we are getting problems with</p> <pre><code>tf.exe history * </code></pre> <p>getting the following error message</p> <blockquote> <p>Unable to determine the source control server.</...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,580
tvfc
# tf.exe history * getting "Unable to determine the source control server." We have just upgraded from TFS 2010 to TFS 2012 and we are getting problems with ``` tf.exe history * ``` getting the following error message > Unable to determine the source control server.
Had the same problem and tried all sorts of values for /collection, finally hit the right one and all TFS2012 tf commands started working again. In Team Explorer in VS right click the server name and select properties, you need the entire URL parameter including http, the port number, everything. for me that was ``` ...
32659106
TFS 2013 building .NET 4.6 / C# 6.0
35
2015-09-18 18:51:57
<p>We use TFS 2013 to as our build server. I've started a C# 6.0 project and I am trying to get it to build. I am using the new null-conditional operators, and my build chokes. I've tried installing several things on the TFS server, including the targeting pack and VS 2015. I've tried providing /tv:14.0 to the MSBu...
22,397
128,217
2017-02-10 23:04:47
32,662,291
49
2015-09-18 23:04:44
5,352,298
2016-02-25 14:28:03
https://stackoverflow.com/q/32659106
https://stackoverflow.com/a/32662291
<p>People using TFS 2012 have reported success using:</p> <pre><code>/tv:14.0 /p:GenerateBuildInfoConfigFile=false /p:VisualStudioVersion=14.0 </code></pre> <p>as arguments to MSBuild. Perhaps this might work for you, but so far this does not work for my TFS 2013 build agents.</p> <p><strong>Update:</strong> I final...
<p>People using TFS 2012 have reported success using:</p> <pre><code>/tv:14.0 /p:GenerateBuildInfoConfigFile=false /p:VisualStudioVersion=14.0 </code></pre> <p>as arguments to MSBuild. Perhaps this might work for you, but so far this does not work for my TFS 2013 build agents.</p> <p><strong>Update:</strong> I final...
1, 16341, 102780, 108209
.net, .net-4.6, c#-6.0, tfsbuild
<h1>TFS 2013 building .NET 4.6 / C# 6.0</h1> <p>We use TFS 2013 to as our build server. I've started a C# 6.0 project and I am trying to get it to build. I am using the new null-conditional operators, and my build chokes. I've tried installing several things on the TFS server, including the targeting pack and VS 201...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,581
tvfc
# TFS 2013 building .NET 4.6 / C# 6.0 We use TFS 2013 to as our build server. I've started a C# 6.0 project and I am trying to get it to build. I am using the new null-conditional operators, and my build chokes. I've tried installing several things on the TFS server, including the targeting pack and VS 2015. I've trie...
People using TFS 2012 have reported success using: ``` /tv:14.0 /p:GenerateBuildInfoConfigFile=false /p:VisualStudioVersion=14.0 ``` as arguments to MSBuild. Perhaps this might work for you, but so far this does not work for my TFS 2013 build agents. **Update:** I finally got this to work on TFS 2013. Here is what I...
5899213
How to have TFS 2010 detect changes done to files outside of Visual Studio?
122
2011-05-05 14:18:34
<p>I'm using Team Foundation Server 2010 with Visual Studio 2010.</p> <p>Whenever I modify a file outside of Visual Studio, TFS doesn't seem to detect the change done to the file, and thus doesn't offer me the option to check-in the file after it has been modified.</p> <p>How can this be solved?</p>
59,503
null
2020-07-06 14:30:37
5,899,693
48
2011-05-05 14:46:26
729,881
2012-11-30 09:47:50
https://stackoverflow.com/q/5899213
https://stackoverflow.com/a/5899693
<p>If you have a network connection to your server while you're working outside of Visual Studio, it's probably best to go ahead and check the file out before editing it, either using the tf command line client, or using the Windows Explorer shell integration that's available in the <a href="http://visualstudiogallery....
<p>If you have a network connection to your server while you're working outside of Visual Studio, it's probably best to go ahead and check the file out before editing it, either using the tf command line client, or using the Windows Explorer shell integration that's available in the <a href="http://visualstudiogallery....
733, 14456, 33953, 104161
tfs, tfvc, visual-studio, visual-studio-2010
<h1>How to have TFS 2010 detect changes done to files outside of Visual Studio?</h1> <p>I'm using Team Foundation Server 2010 with Visual Studio 2010.</p> <p>Whenever I modify a file outside of Visual Studio, TFS doesn't seem to detect the change done to the file, and thus doesn't offer me the option to check-in the f...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,582
tvfc
# How to have TFS 2010 detect changes done to files outside of Visual Studio? I'm using Team Foundation Server 2010 with Visual Studio 2010. Whenever I modify a file outside of Visual Studio, TFS doesn't seem to detect the change done to the file, and thus doesn't offer me the option to check-in the file after it has...
If you have a network connection to your server while you're working outside of Visual Studio, it's probably best to go ahead and check the file out before editing it, either using the tf command line client, or using the Windows Explorer shell integration that's available in the [TFS Power Tools](http://visualstudioga...
57154296
Azure Devops publishing to own feed suddenly results in 403 forbidden
32
2019-07-22 22:01:43
<p>I have been using Azure DevOps for a project for quite some time, but suddenly publishing to my own organisation/collection feed results in a 403.</p> <p>I created a feed and I can select it on the <code>nuget push</code> build step, but it does not work. I created a new feed to publish the NuGet packages to and thi...
33,365
1,479,976
2022-09-06 21:05:28
57,156,304
48
2019-07-23 03:30:14
11,439,664
2020-04-16 02:53:48
https://stackoverflow.com/q/57154296
https://stackoverflow.com/a/57156304
<blockquote> <p>"message":"User 'a831bb9f-aef5-4b63-91cd-4027b16710cf' lacks permission to complete this action. You need to have 'ReadPackages'.</p> </blockquote> <p>According to this error message, the error you received caused by the user(a831bb9f-aef5-4b63-91cd-4027b16710cf) does not have the access permission...
<blockquote> <p>"message":"User 'a831bb9f-aef5-4b63-91cd-4027b16710cf' lacks permission to complete this action. You need to have 'ReadPackages'.</p> </blockquote> <p>According to this error message, the error you received caused by the user(a831bb9f-aef5-4b63-91cd-4027b16710cf) does not have the access permission...
733, 62770, 108163, 116537, 119596
.net-core, azure-devops, azure-pipelines, nuget, tfs
<h1>Azure Devops publishing to own feed suddenly results in 403 forbidden</h1> <p>I have been using Azure DevOps for a project for quite some time, but suddenly publishing to my own organisation/collection feed results in a 403.</p> <p>I created a feed and I can select it on the <code>nuget push</code> build step, but ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,583
tvfc
# Azure Devops publishing to own feed suddenly results in 403 forbidden I have been using Azure DevOps for a project for quite some time, but suddenly publishing to my own organisation/collection feed results in a 403. I created a feed and I can select it on the `nuget push` build step, but it does not work. I create...
> "message":"User 'a831bb9f-aef5-4b63-91cd-4027b16710cf' lacks > permission to complete this action. You need to have 'ReadPackages'. According to this error message, the error you received caused by the user(a831bb9f-aef5-4b63-91cd-4027b16710cf) does not have the access permission to your feed. And also, as I checke...
4863865
Unable to determine the workspace using TF.exe
28
2011-02-01 14:38:26
<p>I have this script (bat file)</p> <pre><code>tf workspaces /s:http://project02:8080 tf workspace /s:http://project02:8080 Team.descomp;MyDomain\Myuser tf workfold /workspace:Team.descomp tf get $/Team/Main/Projects /recursive /force /noprompt </code></pre> <p>I get this error: Unable to determine the workspac...
52,357
206,730
2016-09-06 16:27:08
4,871,950
48
2011-02-02 07:51:25
206,730
2013-01-25 07:17:58
https://stackoverflow.com/q/4863865
https://stackoverflow.com/a/4871950
<p>From Forums MSDN: Mr. Hofman</p> <p><a href="http://social.msdn.microsoft.com/Forums/en/tfsbuild/thread/82b13bfd-5fd7-45f7-a681-d84c9ea52765" rel="noreferrer">http://social.msdn.microsoft.com/Forums/en/tfsbuild/thread/82b13bfd-5fd7-45f7-a681-d84c9ea52765</a></p> <p>Change the working folder for the tf get to a fol...
<p>From Forums MSDN: Mr. Hofman</p> <p><a href="http://social.msdn.microsoft.com/Forums/en/tfsbuild/thread/82b13bfd-5fd7-45f7-a681-d84c9ea52765" rel="noreferrer">http://social.msdn.microsoft.com/Forums/en/tfsbuild/thread/82b13bfd-5fd7-45f7-a681-d84c9ea52765</a></p> <p>Change the working folder for the tf get to a fol...
422, 531, 733, 16341
scripting, tfs, tfsbuild, workspace
<h1>Unable to determine the workspace using TF.exe</h1> <p>I have this script (bat file)</p> <pre><code>tf workspaces /s:http://project02:8080 tf workspace /s:http://project02:8080 Team.descomp;MyDomain\Myuser tf workfold /workspace:Team.descomp tf get $/Team/Main/Projects /recursive /force /noprompt </code></pre...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,584
tvfc
# Unable to determine the workspace using TF.exe I have this script (bat file) ``` tf workspaces /s:http://project02:8080 tf workspace /s:http://project02:8080 Team.descomp;MyDomain\Myuser tf workfold /workspace:Team.descomp tf get $/Team/Main/Projects /recursive /force /noprompt ``` I get this error: Unable to...
From Forums MSDN: Mr. Hofman <http://social.msdn.microsoft.com/Forums/en/tfsbuild/thread/82b13bfd-5fd7-45f7-a681-d84c9ea52765> Change the working folder for the tf get to a folder that is mapped by the workspace. Execute the command from a folder where the workspace is mapped (for example if you do it from console:...
13407468
How can I list all the stops associated with a route using GTFS?
21
2012-11-15 22:36:16
<p>I'm working with some <a href="https://developers.google.com/transit/gtfs/" rel="noreferrer">GTFS</a> data and would like to be able to create a list of all stops associated served by a route. I don't really understand how to do with with GTFS data.</p> <p>Trips.txt comes in a format like this: </p> <p><code>route...
13,788
1,198,455
2024-05-13 15:54:02
13,651,120
47
2012-11-30 18:38:50
null
2014-06-29 19:07:39
https://stackoverflow.com/q/13407468
https://stackoverflow.com/a/13651120
<p>As you've noticed, there isn't a direct relationship between routes and stops in GTFS. Instead, stops are associated with <em>trips</em>, where each trip represents a single "run" of a vehicle along a particular route. This reflects the fact a route does not necessarily serve every one of its stops at all times&mdas...
<p>As you've noticed, there isn't a direct relationship between routes and stops in GTFS. Instead, stops are associated with <em>trips</em>, where each trip represents a single "run" of a vehicle along a particular route. This reflects the fact a route does not necessarily serve every one of its stops at all times&mdas...
7496, 77189
google-api, gtfs
<h1>How can I list all the stops associated with a route using GTFS?</h1> <p>I'm working with some <a href="https://developers.google.com/transit/gtfs/" rel="noreferrer">GTFS</a> data and would like to be able to create a list of all stops associated served by a route. I don't really understand how to do with with GTFS...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,585
tvfc
# How can I list all the stops associated with a route using GTFS? I'm working with some [GTFS](https://developers.google.com/transit/gtfs/) data and would like to be able to create a list of all stops associated served by a route. I don't really understand how to do with with GTFS data. Trips.txt comes in a format l...
As you've noticed, there isn't a direct relationship between routes and stops in GTFS. Instead, stops are associated with *trips*, where each trip represents a single "run" of a vehicle along a particular route. This reflects the fact a route does not necessarily serve every one of its stops at all times—on weekends it...
5263005
TFS API - How to query builds independent of which build definition they belong to
19
2011-03-10 16:52:03
<p>It seems no overloads of <code>IBuildServer.QueryBuilds(...)</code> allows me to do that.</p> <p>Here's my code:</p> <pre class="lang-cs prettyprint-override"><code>TfsTeamProjectCollection tfs = context.GetValue(TeamProject); IBuildServer buildServer = (IBuildServer)tfs.GetService(typeof(IBuildServer)); buildServ...
22,865
405,978
2017-04-20 16:48:45
5,273,537
46
2011-03-11 13:33:39
345,708
2013-10-07 09:26:29
https://stackoverflow.com/q/5263005
https://stackoverflow.com/a/5273537
<p>This code will get all builds . . . ever</p> <pre class="lang-cs prettyprint-override"><code>TfsTeamProjectCollection tfs = new TfsTeamProjectCollection(new Uri("http://tfs:8080")); var vcs = tfs.GetService&lt;VersionControlServer&gt;(); var teamProjects = vcs.GetAllTeamProjects(true); IBuildServer buildServer =...
<p>This code will get all builds . . . ever</p> <pre class="lang-cs prettyprint-override"><code>TfsTeamProjectCollection tfs = new TfsTeamProjectCollection(new Uri("http://tfs:8080")); var vcs = tfs.GetService&lt;VersionControlServer&gt;(); var teamProjects = vcs.GetAllTeamProjects(true); IBuildServer buildServer =...
9, 733, 16341, 47853
build-definition, c#, tfs, tfsbuild
<h1>TFS API - How to query builds independent of which build definition they belong to</h1> <p>It seems no overloads of <code>IBuildServer.QueryBuilds(...)</code> allows me to do that.</p> <p>Here's my code:</p> <pre class="lang-cs prettyprint-override"><code>TfsTeamProjectCollection tfs = context.GetValue(TeamProjec...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,587
tvfc
# TFS API - How to query builds independent of which build definition they belong to It seems no overloads of `IBuildServer.QueryBuilds(...)` allows me to do that. Here's my code: ``` TfsTeamProjectCollection tfs = context.GetValue(TeamProject); IBuildServer buildServer = (IBuildServer)tfs.GetService(typeof(IBuildSe...
This code will get all builds . . . ever ``` TfsTeamProjectCollection tfs = new TfsTeamProjectCollection(new Uri("http://tfs:8080")); var vcs = tfs.GetService<VersionControlServer>(); var teamProjects = vcs.GetAllTeamProjects(true); IBuildServer buildServer = (IBuildServer)tfs.GetService(typeof(IBuildServer)); for...
698855
What's the best way to get TFS to output each project to its own directory?
60
2009-03-30 20:15:04
<p>I'm putting a large codebase into Team Foundation Server. I would like the build process to create a "ready to deploy" build of our projects.</p> <p>The normal way we've been doing this is to have each project's output be in its own folder. So, for example, we wind up with something like</p> <pre><code>C:\project1...
44,802
2,577
2020-10-31 00:32:01
983,319
44
2009-06-11 20:04:15
3,995
2009-06-11 20:04:15
https://stackoverflow.com/q/698855
https://stackoverflow.com/a/983319
<p>I just blogged another method here:</p> <p><a href="http://mikehadlow.blogspot.com/2009/06/tfs-build-publishedwebsites-for-exe-and.html" rel="noreferrer">http://mikehadlow.blogspot.com/2009/06/tfs-build-publishedwebsites-for-exe-and.html</a> but if you can't be bothered to follow the link, here it is in full:</p> ...
<p>I just blogged another method here:</p> <p><a href="http://mikehadlow.blogspot.com/2009/06/tfs-build-publishedwebsites-for-exe-and.html" rel="noreferrer">http://mikehadlow.blogspot.com/2009/06/tfs-build-publishedwebsites-for-exe-and.html</a> but if you can't be bothered to follow the link, here it is in full:</p> ...
265, 733
msbuild, tfs
<h1>What's the best way to get TFS to output each project to its own directory?</h1> <p>I'm putting a large codebase into Team Foundation Server. I would like the build process to create a "ready to deploy" build of our projects.</p> <p>The normal way we've been doing this is to have each project's output be in its ow...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,589
tvfc
# What's the best way to get TFS to output each project to its own directory? I'm putting a large codebase into Team Foundation Server. I would like the build process to create a "ready to deploy" build of our projects. The normal way we've been doing this is to have each project's output be in its own folder. So, fo...
I just blogged another method here: <http://mikehadlow.blogspot.com/2009/06/tfs-build-publishedwebsites-for-exe-and.html> but if you can't be bothered to follow the link, here it is in full: It’s generally good practice to collect all the code under your team’s control in a single uber-solution as described in this P...
30072030
What the actual file name of .tfignore file?
17
2015-05-06 08:58:03
<p>I always read that I need to create a <code>.tfignore</code> file for TFS to exclude my selection of files.</p> <p>But what's the actual name of the file? If I'm trying to rename an empty file to <code>.tfignore</code>, File Explorer tells me that the file is required to have a file name, not just an extension.</p>...
4,232
1,888,444
2016-01-21 20:02:41
30,076,484
44
2015-05-06 12:16:05
2,114,201
2015-05-06 12:16:05
https://stackoverflow.com/q/30072030
https://stackoverflow.com/a/30076484
<p>I was just struggling with the same issue. I found that if you create the file with the name <code>.tfignore.</code> (note the . at the end it recognizes that before the last "." is the filename. When it is created/renamed, the last "." will go away.</p>
<p>I was just struggling with the same issue. I found that if you create the file with the name <code>.tfignore.</code> (note the . at the end it recognizes that before the last "." is the filename. When it is created/renamed, the last "." will go away.</p>
733
tfs
<h1>What the actual file name of .tfignore file?</h1> <p>I always read that I need to create a <code>.tfignore</code> file for TFS to exclude my selection of files.</p> <p>But what's the actual name of the file? If I'm trying to rename an empty file to <code>.tfignore</code>, File Explorer tells me that the file is re...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,590
tvfc
# What the actual file name of .tfignore file? I always read that I need to create a `.tfignore` file for TFS to exclude my selection of files. But what's the actual name of the file? If I'm trying to rename an empty file to `.tfignore`, File Explorer tells me that the file is required to have a file name, not just a...
I was just struggling with the same issue. I found that if you create the file with the name `.tfignore.` (note the . at the end it recognizes that before the last "." is the filename. When it is created/renamed, the last "." will go away.
18238745
TFS dll and references issues
16
2013-08-14 17:48:42
<p>We use Team Foundation Server for our main project. Every time we add a new employee either onsite or offsite we always have to set up the references manually.</p> <p>Is it possible for TFS to copy/save/pass the <code>dll's</code> to the new user without having to install them every time?</p> <p>For example I add...
24,879
1,081,926
2013-08-14 22:34:22
18,242,604
44
2013-08-14 21:25:41
null
2013-08-14 21:25:41
https://stackoverflow.com/q/18238745
https://stackoverflow.com/a/18242604
<p>Nothing to do with TFS, really. You just have to check in your dependencies to source control.</p> <p>In your solution, add a folder called "Dependencies". Add a matching folder on disk in the same location in your solution hierarchy (annoying, I know). Add your dependent external DLLs to that directory. </p> <p><...
<p>Nothing to do with TFS, really. You just have to check in your dependencies to source control.</p> <p>In your solution, add a folder called "Dependencies". Add a matching folder on disk in the same location in your solution hierarchy (annoying, I know). Add your dependent external DLLs to that directory. </p> <p><...
733, 1281, 10291, 12853, 14456
dependencies, external-dependencies, project-reference, tfs, visual-studio-2010
<h1>TFS dll and references issues</h1> <p>We use Team Foundation Server for our main project. Every time we add a new employee either onsite or offsite we always have to set up the references manually.</p> <p>Is it possible for TFS to copy/save/pass the <code>dll's</code> to the new user without having to install the...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,591
tvfc
# TFS dll and references issues We use Team Foundation Server for our main project. Every time we add a new employee either onsite or offsite we always have to set up the references manually. Is it possible for TFS to copy/save/pass the `dll's` to the new user without having to install them every time? For example I...
Nothing to do with TFS, really. You just have to check in your dependencies to source control. In your solution, add a folder called "Dependencies". Add a matching folder on disk in the same location in your solution hierarchy (annoying, I know). Add your dependent external DLLs to that directory. ![enter image descr...
2050973
What encoding are filenames in NTFS stored as?
56
2010-01-12 17:33:31
<p>I'm just getting started on some programming to handle filenames with non-english names on a WinXP system. I've done some recommended reading on unicode and I think I get the basic idea, but some parts are still not very clear to me.</p> <p>Specifically, what encoding (UTF-8, UTF-16LE/BE) are the file <strong>names...
62,031
248,667
2019-08-31 15:46:54
2,051,018
43
2010-01-12 17:38:33
227,322
2019-08-31 15:46:54
https://stackoverflow.com/q/2050973
https://stackoverflow.com/a/2051018
<p>NTFS stores filenames in UTF-16, however <code>fopen</code> is using ANSI (not UTF-8).</p> <p>In order to use an UTF16-encoded file name you will need to use the Unicode versions of the file open calls. Do this by defining <code>UNICODE</code> and <code>_UNICODE</code> in your project. Then use the <code>CreateFile...
<p>NTFS stores filenames in UTF-16, however <code>fopen</code> is using ANSI (not UTF-8).</p> <p>In order to use an UTF16-encoded file name you will need to use the Unicode versions of the file open calls. Do this by defining <code>UNICODE</code> and <code>_UNICODE</code> in your project. Then use the <code>CreateFile...
64, 279, 3176
ntfs, unicode, windows
<h1>What encoding are filenames in NTFS stored as?</h1> <p>I'm just getting started on some programming to handle filenames with non-english names on a WinXP system. I've done some recommended reading on unicode and I think I get the basic idea, but some parts are still not very clear to me.</p> <p>Specifically, what ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,592
tvfc
# What encoding are filenames in NTFS stored as? I'm just getting started on some programming to handle filenames with non-english names on a WinXP system. I've done some recommended reading on unicode and I think I get the basic idea, but some parts are still not very clear to me. Specifically, what encoding (UTF-8,...
NTFS stores filenames in UTF-16, however `fopen` is using ANSI (not UTF-8). In order to use an UTF16-encoded file name you will need to use the Unicode versions of the file open calls. Do this by defining `UNICODE` and `_UNICODE` in your project. Then use the `CreateFile` call or the `wfopen` call.
31180393
BuildActivity ignores ToolsVersion
35
2015-07-02 09:14:21
<p>I have a Continuous Integration Build Running on a BuildAgent which I can not get working properly. I recently changed our codebase to C# 6.0 and changed the projects to ToolsVersion 14.</p> <p>I did install Visual Studio 2015 on the Build Server (TFS 2012). If I do now check in the C# 6.0 code the build fails on t...
14,072
2,250,672
2015-12-15 15:10:30
32,262,541
43
2015-08-28 02:41:46
16,940
2015-09-20 09:23:14
https://stackoverflow.com/q/31180393
https://stackoverflow.com/a/32262541
<p>For those of us not living inside build templates every day here's the steps that got it working for me:</p> <p>First find the template associated with your build (if you already know where to find it skip a couple steps).</p> <ul> <li><p>Just right click the build definition and select <code>Edit build definition</...
<p>For those of us not living inside build templates every day here's the steps that got it working for me:</p> <p>First find the template associated with your build (if you already know where to find it skip a couple steps).</p> <ul> <li><p>Just right click the build definition and select <code>Edit build definition</...
265, 733
msbuild, tfs
<h1>BuildActivity ignores ToolsVersion</h1> <p>I have a Continuous Integration Build Running on a BuildAgent which I can not get working properly. I recently changed our codebase to C# 6.0 and changed the projects to ToolsVersion 14.</p> <p>I did install Visual Studio 2015 on the Build Server (TFS 2012). If I do now c...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,593
tvfc
# BuildActivity ignores ToolsVersion I have a Continuous Integration Build Running on a BuildAgent which I can not get working properly. I recently changed our codebase to C# 6.0 and changed the projects to ToolsVersion 14. I did install Visual Studio 2015 on the Build Server (TFS 2012). If I do now check in the C# 6...
For those of us not living inside build templates every day here's the steps that got it working for me: First find the template associated with your build (if you already know where to find it skip a couple steps). - Just right click the build definition and select `Edit build definition` - Select the `Process` tab ...
31887010
How to keep VS2015 NuGet from adding packages to TFS
43
2015-08-07 21:37:03
<p>VS2013 had a bug where NuGet would add packages as pending changes, even if you told it not to with <code>.tfignore</code>. There was a <a href="https://stackoverflow.com/a/28868519/145173">workaround</a>, but it doesn't work with VS2015/NuGet3, and NuGet is back to its old tricks. Is there a "Nu" workaround? :-)</p...
17,979
145,173
2017-07-19 08:57:46
32,492,689
41
2015-09-10 03:31:10
331,982
2017-07-19 08:57:46
https://stackoverflow.com/q/31887010
https://stackoverflow.com/a/32492689
<p>It looks like this is fixed in <a href="http://blog.nuget.org/20150902/nuget-3.2RC.html" rel="nofollow noreferrer">version 3.2 RC</a> of the NuGet Visual Studio 2015 Extension - updating to this version worked for me, at least.</p> <p>A discussion about this issue can be found <a href="https://github.com/NuGet/Home...
<p>It looks like this is fixed in <a href="http://blog.nuget.org/20150902/nuget-3.2RC.html" rel="nofollow noreferrer">version 3.2 RC</a> of the NuGet Visual Studio 2015 Extension - updating to this version worked for me, at least.</p> <p>A discussion about this issue can be found <a href="https://github.com/NuGet/Home...
733, 33953, 62770, 108143
nuget, tfs, visual-studio, visual-studio-2015
<h1>How to keep VS2015 NuGet from adding packages to TFS</h1> <p>VS2013 had a bug where NuGet would add packages as pending changes, even if you told it not to with <code>.tfignore</code>. There was a <a href="https://stackoverflow.com/a/28868519/145173">workaround</a>, but it doesn't work with VS2015/NuGet3, and NuGet...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,595
tvfc
# How to keep VS2015 NuGet from adding packages to TFS VS2013 had a bug where NuGet would add packages as pending changes, even if you told it not to with `.tfignore`. There was a [workaround](https://stackoverflow.com/a/28868519/145173), but it doesn't work with VS2015/NuGet3, and NuGet is back to its old tricks. Is ...
It looks like this is fixed in [version 3.2 RC](http://blog.nuget.org/20150902/nuget-3.2RC.html) of the NuGet Visual Studio 2015 Extension - updating to this version worked for me, at least. A discussion about this issue can be found [here](https://github.com/NuGet/Home/issues/980) where it is recommended to update fr...
5097946
How can I programmatically check-out an item for edit in TFS?
43
2011-02-23 22:19:54
<p>I'm working on a utility processing files being under source control using TFS 2010.</p> <p>If an item is not yet checked-out for edit, I'm getting an exception, what is definitely predictable because file is in read-only mode.</p> <p>What ways exist to check-out a file?</p> <p>P.S. I want something for programma...
37,254
41,956
2024-05-10 18:25:42
9,417,547
41
2012-02-23 16:59:31
null
2024-05-10 18:25:42
https://stackoverflow.com/q/5097946
https://stackoverflow.com/a/9417547
<p>Some of the other approaches mentioned here only work for certain versions of TFS or make use of obsolete methods. If you are receiving a 404, the approach you are using is probably not compatible with your server version.</p> <p>This approach works on 2005, 2008, and 2010. I don't use TFS any longer, so I haven't t...
<p>Some of the other approaches mentioned here only work for certain versions of TFS or make use of obsolete methods. If you are receiving a 404, the approach you are using is probably not compatible with your server version.</p> <p>This approach works on 2005, 2008, and 2010. I don't use TFS any longer, so I haven't t...
1, 9, 733, 130914
.net, c#, tfs, vcs-checkout
<h1>How can I programmatically check-out an item for edit in TFS?</h1> <p>I'm working on a utility processing files being under source control using TFS 2010.</p> <p>If an item is not yet checked-out for edit, I'm getting an exception, what is definitely predictable because file is in read-only mode.</p> <p>What ways...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,596
tvfc
# How can I programmatically check-out an item for edit in TFS? I'm working on a utility processing files being under source control using TFS 2010. If an item is not yet checked-out for edit, I'm getting an exception, what is definitely predictable because file is in read-only mode. What ways exist to check-out a f...
Some of the other approaches mentioned here only work for certain versions of TFS or make use of obsolete methods. If you are receiving a 404, the approach you are using is probably not compatible with your server version. This approach works on 2005, 2008, and 2010. I don't use TFS any longer, so I haven't tested 201...
6979053
How to find the path to tf.exe from MsBuild
30
2011-08-08 07:39:53
<p>I have an MsBuild file which shells out to TFS using tf.exe for a few things. Unfortunately the tf.exe file has been installed to different locations on the developer PCs and the build server.</p> <p>I could really do with a way of detecting where the tf.exe file is located within my script in the same way you can ...
34,003
339,197
2019-07-08 15:25:44
6,979,543
41
2011-08-08 08:41:08
592,308
2017-11-29 16:45:42
https://stackoverflow.com/q/6979053
https://stackoverflow.com/a/6979543
<p>Does the environment variable VS100COMNTOOLS point to the correct path for visual studio? E.g. VS100COMNTOOLS=C:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools\</p> <p>So then all you need is $(VS100COMNTOOLS)..\IDE</p> <pre><code>&lt;Target Name="Build"&gt; &lt;Exec Command="&amp;quot;$(VS100COMNTOOL...
<p>Does the environment variable VS100COMNTOOLS point to the correct path for visual studio? E.g. VS100COMNTOOLS=C:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools\</p> <p>So then all you need is $(VS100COMNTOOLS)..\IDE</p> <pre><code>&lt;Target Name="Build"&gt; &lt;Exec Command="&amp;quot;$(VS100COMNTOOL...
265, 733, 16422
build-server, msbuild, tfs
<h1>How to find the path to tf.exe from MsBuild</h1> <p>I have an MsBuild file which shells out to TFS using tf.exe for a few things. Unfortunately the tf.exe file has been installed to different locations on the developer PCs and the build server.</p> <p>I could really do with a way of detecting where the tf.exe file...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,597
tvfc
# How to find the path to tf.exe from MsBuild I have an MsBuild file which shells out to TFS using tf.exe for a few things. Unfortunately the tf.exe file has been installed to different locations on the developer PCs and the build server. I could really do with a way of detecting where the tf.exe file is located with...
Does the environment variable VS100COMNTOOLS point to the correct path for visual studio? E.g. VS100COMNTOOLS=C:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools\ So then all you need is $(VS100COMNTOOLS)..\IDE ``` <Target Name="Build"> <Exec Command="&quot;$(VS100COMNTOOLS)..\IDE\tf.exe&quot;"/> </Target>...
42538540
"The SSL certificate contains a common name (CN) that does not match the hostname." in VSTS Deployment
17
2017-03-01 17:45:38
<p>I am using VSTS to deploy to an Azure VM. In my release definition, I receive the following error when trying to copy files over:</p> <blockquote> <p>The SSL certificate contains a common name (CN) that does not match the hostname. For more information, see the about_Remote_Troubleshooting Help topic.To fix ...
35,300
4,270,426
2017-08-04 21:18:04
42,538,541
41
2017-03-01 17:45:38
4,270,426
2017-08-04 21:18:04
https://stackoverflow.com/q/42538540
https://stackoverflow.com/a/42538541
<p>The issue is not with the host file or the build agent, but rather the server certificate on the <strong>TARGET</strong> machine. For me, I was using VSTS to deploy to an <strong>Azure VM</strong> when I encountered the issue, but the solution remains the same for <strong>onsite</strong> machines as well.</p> <p>F...
<p>The issue is not with the host file or the build agent, but rather the server certificate on the <strong>TARGET</strong> machine. For me, I was using VSTS to deploy to an <strong>Azure VM</strong> when I encountered the issue, but the solution remains the same for <strong>onsite</strong> machines as well.</p> <p>F...
641, 733, 78680, 120151
azure-pipelines-release-pipeline, ssl, tfs, winrm
<h1>"The SSL certificate contains a common name (CN) that does not match the hostname." in VSTS Deployment</h1> <p>I am using VSTS to deploy to an Azure VM. In my release definition, I receive the following error when trying to copy files over:</p> <blockquote> <p>The SSL certificate contains a common name (CN) tha...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,598
tvfc
# "The SSL certificate contains a common name (CN) that does not match the hostname." in VSTS Deployment I am using VSTS to deploy to an Azure VM. In my release definition, I receive the following error when trying to copy files over: > The SSL certificate contains a common name (CN) that does not match > the hostnam...
The issue is not with the host file or the build agent, but rather the server certificate on the **TARGET** machine. For me, I was using VSTS to deploy to an **Azure VM** when I encountered the issue, but the solution remains the same for **onsite** machines as well. For an Azure VM deployment, the issue occurs when y...
6523008
visual studio 2010 conditional references
26
2011-06-29 15:15:23
<p>We have multiple products here that shared some common libraries. These libraries are part of a separate solution (so they can be built by TFS independently), but the problem is during development, one has to modify the common library, compile it to binary, copy it to the common location, compile the product solutio...
10,197
64,668
2015-09-03 17:45:43
6,523,223
40
2011-06-29 15:31:13
132,034
2011-06-29 15:31:13
https://stackoverflow.com/q/6523008
https://stackoverflow.com/a/6523223
<p>You should be able to do this with conditional constructs by editing the project file directly (VS IDE won't do this for you).</p> <p>For example, you might do something like this using the "Choose" element:</p> <pre><code>&lt;Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" &gt; &lt;Propert...
<p>You should be able to do this with conditional constructs by editing the project file directly (VS IDE won't do this for you).</p> <p>For example, you might do something like this using the "Choose" element:</p> <pre><code>&lt;Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" &gt; &lt;Propert...
9, 733, 14456, 33953
c#, tfs, visual-studio, visual-studio-2010
<h1>visual studio 2010 conditional references</h1> <p>We have multiple products here that shared some common libraries. These libraries are part of a separate solution (so they can be built by TFS independently), but the problem is during development, one has to modify the common library, compile it to binary, copy it ...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,599
tvfc
# visual studio 2010 conditional references We have multiple products here that shared some common libraries. These libraries are part of a separate solution (so they can be built by TFS independently), but the problem is during development, one has to modify the common library, compile it to binary, copy it to the co...
You should be able to do this with conditional constructs by editing the project file directly (VS IDE won't do this for you). For example, you might do something like this using the "Choose" element: ``` <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" > <PropertyGroup> <!-- ... --> ...
29906484
Multiple "Value" queries in TFS 12.0
25
2015-04-27 21:41:47
<p>Is it possible to include multiple values in a TFS query so that I don't have to create separate AND clauses?</p> <p>Right now I'm having to do the following.</p> <pre><code>AND &gt; STATE &lt;&gt; CLOSED AND &gt; STATE &lt;&gt; RESOLVED AND &gt; STATE &lt;&gt; COMPLETED </code></pre> <p>I'm just trying to find a...
37,510
4,830,219
2024-03-01 09:51:21
29,906,967
39
2015-04-27 22:19:07
383,710
2024-03-01 09:51:21
https://stackoverflow.com/q/29906484
https://stackoverflow.com/a/29906967
<p>You can use <strong>In</strong> to search for any value in a delimited set. Separate values with the list separator that corresponds to the regional settings that are defined for your client computer. For example, you might use a comma(,). More details <a href="https://www.visualstudio.com/en-us/docs/work/track/quer...
<p>You can use <strong>In</strong> to search for any value in a delimited set. Separate values with the list separator that corresponds to the regional settings that are defined for your client computer. For example, you might use a comma(,). More details <a href="https://www.visualstudio.com/en-us/docs/work/track/quer...
733
tfs
<h1>Multiple "Value" queries in TFS 12.0</h1> <p>Is it possible to include multiple values in a TFS query so that I don't have to create separate AND clauses?</p> <p>Right now I'm having to do the following.</p> <pre><code>AND &gt; STATE &lt;&gt; CLOSED AND &gt; STATE &lt;&gt; RESOLVED AND &gt; STATE &lt;&gt; COMPLET...
q.PostTypeId = 1; a.PostTypeId = 2; EXISTS tag '%tfvc%' OR '%tfs%'; a.Body contains code block; q.Score > 5; a.Score > 10
27,600
tvfc
# Multiple "Value" queries in TFS 12.0 Is it possible to include multiple values in a TFS query so that I don't have to create separate AND clauses? Right now I'm having to do the following. ``` AND > STATE <> CLOSED AND > STATE <> RESOLVED AND > STATE <> COMPLETED ``` I'm just trying to find all tasks that are NOT...
You can use **In** to search for any value in a delimited set. Separate values with the list separator that corresponds to the regional settings that are defined for your client computer. For example, you might use a comma(,). More details [here](https://www.visualstudio.com/en-us/docs/work/track/query-operators-variab...