tfs2010

TFS 2010: How to produce a changelog (ie. list of work items) between two releases of the application using labels?

耗尽温柔 提交于 2019-11-29 22:39:56
I'm looking for a way to automatically produce a changelog (actually a list of workitems) between two releases of my application. I have two versions of my application, v1 and v2, each is identified by a label in TFS 2010 (LABEL1 and LABEL2) that I manually created before building the setups of my app. I have a branching system, which means I have a trunk were most of bugs are fixed, and a branch where patches are applied mostly using merges from the trunk (but there are also some fixes on the branch only that do not concern the trunk). The two versions of my application (v1 and v2) are

Organizing source code in TFS 2010

余生长醉 提交于 2019-11-29 20:43:56
We have just gotten TFS 2010 up and running. We will be migrating our source into TFS but I have a question on how to organize the code. TFS 2010 has a new concept of project collections so I have decided that different groups within our organization will get their own group. My team develops many different web applications and we have several shared components. We also use a few third party components (such as telerik). Clearly each web application is it's own project but where do I put the shared components? Should each component be in it's own project with separate builds and work items? Is

How can I get TFS 2010 to build each project to a separate directory?

时光毁灭记忆、已成空白 提交于 2019-11-29 20:28:46
In our project, we'd like to have our TFS build put each project into its own folder under the drop folder, instead of dropping all of the files into one flat structure. To illustrate, we'd like to see something like this: DropFolder/ Foo/ foo.exe Bar/ bar.dll Baz baz.dll This is basically the same question as was asked here , but now that we're using workflow-based builds, those solutions don't seem to work. The solution using the CustomizableOutDir property looked like it would work best for us, but I can't get that property to be recognized. I customized our workflow to pass it in to

Remote access to Team Foundation Server 2010

て烟熏妆下的殇ゞ 提交于 2019-11-29 19:57:26
问题 We are four developers in different locations (in a 100 km radius of each other) tryint o collaborate on a software development project. We would like to install Team Foundation Server 2010 on one of our machines (we are all using Windows 7) and use that as our central source code repository and work items management. However we cannot seem to be able to configure TFS to accept remove connections (through Visual Studio). Is it possible to use TFS in this manner? 回答1: TFS is just a bunch of

Why does Tfs2010 build my Wix project before anything else?

早过忘川 提交于 2019-11-29 18:12:51
问题 A similar question was asked and answered about a year ago, but was either a different issue (everything was in beta) or misdiagnosed. It's located here: MSbuild task fails because "Any CPU" solution is built out of order. My issue is that I have a wix installer project, and after upgrading to Tfs2010 on monday, the build fails on linking because it can't find the build product of the Wpf application in the project. After some digging, it's because it hasn't been built yet. Building in Vs2010

How to create new root folders in a Team Project source control?

て烟熏妆下的殇ゞ 提交于 2019-11-29 17:57:04
问题 I'd like to recreate a folder hierarchy like in this example (from TFS Branching Guide Main 2010 v1): The problem is I cannot understand how to create additional root-level folders, like those Development and Release in the picture above, to put new child branches into. The New Folder command option becomes available only at levels beneath root-level branches. How to create new root folders in a Team Project source control at the Main branch level ? 回答1: Make sure that your workspace maps at

How can we include the files created by ajaxmin in the msdeploy package created by MSBuild

て烟熏妆下的殇ゞ 提交于 2019-11-29 14:22:14
We use ajaxmin to create .min.js files from all our .js files. We have edited the .csproj file of the project and added following: <Import Project="$(MSBuildExtensionsPath32)\Microsoft\MicrosoftAjax\ajaxmin.tasks" /> <Target Name="AfterBuild"> <ItemGroup> <JS Include="**\*.js" Exclude="**\*.min.js" /> </ItemGroup> <AjaxMin JsSourceFiles="@(JS)" JsSourceExtensionPattern="\.js$" JsTargetExtension=".min.js" /> </Target> This works great when we build the site on our workstation and the .min.js files can be used in the site. When we check this project in this task runs also on the msbuild server

Can assembly version been automatically updated with each TFS 2010 Build?

孤者浪人 提交于 2019-11-29 13:56:42
问题 I'm using Visual Studio 2010 and TFS 2010. Is there a way that dll version be automatically incremented with each TFS build? Thanks 回答1: I have a blog post on how to version your assemblies in TFS Build 2010: How to Create a Custom Workflow Activity for TFS Build 2010 RTM 回答2: Try TfsVersioning build definition. It can be alse extended with Nugetter to create a NuGet package and upload it to a repository. 回答3: You can use Version task from msbuildtasks Here's blog post by Jeremy Jameson with

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

白昼怎懂夜的黑 提交于 2019-11-29 13:24:12
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://mstestadapter/v1': Object reference not set to an instance of an object. I copied the binary files

Set up user permissions for Team Foundation Server 2010

大兔子大兔子 提交于 2019-11-29 12:44:28
问题 We have installed TFS 2010 with success but wonder how to set the users permissions. We are small projects with five developers, a manager and a secretary. Each developer is working itself with one or more projects, we have no cooperation between any projects. We want everyone to be able to see all the code for each project, but that only those who are responsible for the code to change it. However, we want everyone to create Work Items for all projects. How should we set this up? 回答1: For