tfs2010

TFS: Restore deleted folders and items

有些话、适合烂在心里 提交于 2019-11-28 07:54:11
I deleted some files and some folders in TFS. Many check in's later I found out that I need the deleted functionality back in my project. How can I restore the deleted files and folders? In Team Explorer (in Visual Studio): Tools | Options | Source Control | Visual Studio Team Foundation Server and select Show Deleted Items... Then in source control explorer you'll see the items greyed out. You can right click on them and Undelete. (This option will only be available if they, after the undelete, will be included in your current workspace). NB. in newer versions of Visual Studio (eg. 2013)

An exception occurred while invoking executor 'executor://mstestadapter/v1': Object reference not set to an instance of an object

痞子三分冷 提交于 2019-11-28 07:00:32
问题 We are using Visual Studio 2012 and Team Foundation Server 2010 in our project. Since, we are using Microsoft Fakes, we could have not used the started Test functionality of our Team Build 2010, I have created a build activity which invokes VSTest.Console.exe passing the test assemblies. This approach has been working well for us. However, after a recent check-in we are getting the following error when executing Vstest.console.exe Error: An exception occurred while invoking executor 'executor

VS 2010 pre-compile web sites with build process?

一世执手 提交于 2019-11-28 06:49:53
问题 VS 2010; TFS 2010; ASP.Net 4.0; Web Deployment Projects 2010; I am using the build process templates in order to do one-click deploys (for dev and QA only). I want my sites to be pre-compiled. I can do it with the command line, using: C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler -v /site_name -p "C:\...\site_name" -f "C:\...\site_name1" and this works fine if I copy the files over from site_name1 to site_name... but is there an option in the IDE for this?? It seems really

App_offline.htm created/deleted whenever I check out a file in TFS

社会主义新天地 提交于 2019-11-28 06:24:10
I have an AJAX-heavy ASP.NET web application developed using .NET 4.0, using TFS as our source control. We recently upgraded our dev tools to use VS2010 and TFS 2010 exclusively, but now every time a file is checked out, we see visual studio reloading all the symbols, and all the sessions being dropped. After putting some error logging code, we discovered the reason for the recycle is it reckons App_offline.htm is changing whenever we check out. This doesn't exist anywhere in the project, and my SO-fu has found some information about SQL Express making this file get created and deleted, so it

MSBuild not triggering WebDeploy

南笙酒味 提交于 2019-11-28 06:19:59
问题 Multiple TFS 2010 MSBuilds are not triggering Web Deploy to publish the web application to the IIS website. This is for multiple different software products, multiple different build configurations, 2 different build agents (on 2 different servers), multiple IIS web site instances on multiple different servers. 3 different continuous deployment setups were previously working. So hopefully this rules out miss-configuration of the build/build servers/hosting servers/web deploy and IIS.

TFS for Java - bad idea?

六月ゝ 毕业季﹏ 提交于 2019-11-28 05:24:45
We're considering TFS for our .NET based projects and as a task management platform. Some teams develop exclusively in Java and they're quite happy with SVN (Subclipse). Our managers came up with the following questions: Should we migrate the Java teams to TFS as well? Does TFS (source control only) handles well Java projects? Is it a pain to migrate our Java code base and history from Subclipse to TFS? Currently we are looking to use TFS as a sole source control platform for maintainability reasons. We would like to avoid having our IT guys supporting multiple systems. Thanks Martin Woodward

Where is TFS 2010 Team Build Revision $(Rev:.r) Stored?

拈花ヽ惹草 提交于 2019-11-28 03:43:49
问题 TFS 2010 exposes a "Build Number Format" property, which contains $(BuildNumberDefinitionName) and $(Rev:.r) variables (among other things). Two and a half parts to my question: What are all the available variables that can be used here? Where does the value for $(Rev:.r) come from (where is it stored)? a. Can it be reset or changed? 回答1: http://www.richardmaxwell.name/blog/2011/5/5/force-tfs-build-revision-to-a-specifc-value.html Anytime you change your Build Number in a TFS build, the

TF30063: You are not authorized to access Collection. Nuget and Tfs conflicting

帅比萌擦擦* 提交于 2019-11-28 03:26:22
Latest Comment I believe my problem occurs when using Nuget, however, if you are reading because of the TF30063 error. Have a look at the answer I provided and accepted. Original Post I am getting this error message when I try to check out. This happens randomly and can occur even if minutes ago the same instance of visual studio allowed me to check something else out for edit. The current workaround is to reopen VS2010. Using W7x64, vs2010 ultimate with TF2010 and sql2008 on my local dev machine. I am not part of a domain. I am the administrator of this computer. Additional 2011-08-09 When

How to Perform a TFS get to a supplied or current directory path, ignoring workspace settings

故事扮演 提交于 2019-11-28 03:20:42
问题 I am using TFS 2010 and writing a script to enable a simple get of specific version label of our software. Since this is only a simple get, is there anyway to just perform a get without having to use the current workspace settings or change the workspace settings to the desired path? There is no reason to link the files to CM after the get, so I have no reason to preserve this 'workspace'. I just want to be able to create a directory anywhere I want and get TFS to give me a copy of the

How do I get my solution in Visual Studio back online in TFS?

为君一笑 提交于 2019-11-28 03:02:42
I had my solution in Visual Studio 2012 (which is under TFS source control) open and the TFS server (2010) was down. When I then made a change to one of the files and attempted to save it I got a prompt to ask whether I wanted to Overwrite the file saying the TFS server was down (can't remember the exact words) and the following message appeared in the Output window: This solution is offline. [Team Foundation Server: http://tfs1:8080/tfs/server] The solution was offline during its previous session and will remain offline. How do I get the file change to be recognised as being among Pending