tfs

Can I use Grunt with TFS?

谁都会走 提交于 2019-12-29 15:03:20
问题 My new project needs me to work with TFS + Git. Confession: I know nothing about TFS. I want to setup a build for my JavaScript project. I want to use Grunt. Is this possible? Has anybody used Grunt with TFS? 回答1: On our current project, we're using Grunt and TFS. I've integrated Grunt with TFS by caling it from a bat file which you can hook up in the Pre- or Post-BuildEvents section of your project file. However, because TFS will execute your builds with specific environment variables, you

Can I use Grunt with TFS?

梦想与她 提交于 2019-12-29 15:03:12
问题 My new project needs me to work with TFS + Git. Confession: I know nothing about TFS. I want to setup a build for my JavaScript project. I want to use Grunt. Is this possible? Has anybody used Grunt with TFS? 回答1: On our current project, we're using Grunt and TFS. I've integrated Grunt with TFS by caling it from a bat file which you can hook up in the Pre- or Post-BuildEvents section of your project file. However, because TFS will execute your builds with specific environment variables, you

TFS merge creates duplicate entries in Solution (project files)

流过昼夜 提交于 2019-12-29 09:25:31
问题 We are using TF Service. As per best practices, we perform frequent merges. The merge tool does a bad job handling merges for our project files. We get duplicates for Views, Controllers, even our PublishProfiles Folder. I have a hard time believing that TFS hasn't been optimized to deal with something as trivial as dupes. The logic within our controllers, EDMX files, and Views should be more complex to merge, yet are handled better. Are we doing something wrong? More specifically, is there an

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

时间秒杀一切 提交于 2019-12-29 08:40:47
问题 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

How can TFS build process be configured to execute tests on Test Agents through a Test Controller?

百般思念 提交于 2019-12-29 08:02:30
问题 We have a Visual Studio test controller with 3 registered test agents in a specific test environment setup for our nightly automation runs. I've seen ample documentation on having the build agents run the tests, but we need the test execution to go through the controller and run from the test agents instead. My thought was to edit the build process template so it would trigger the execution of these remotely executed tests and then wait for the test run results, but I have no experience with

How to modify the default Check-in Action in TFS?

落爺英雄遲暮 提交于 2019-12-29 07:31:24
问题 The default check-in action for a work-item is "resolve". I'd like to set it to "associate" so that this work item isn't automaticaly closed if I check-in stuff too fast. How can I do that? 回答1: Yup, the check-in action can only be associated to a state transition (i.e. Active to Resolved). In my blog post that Fredrick linked to (http://www.woodwardweb.com/vsts/top_tfs_tip_3_r.html) I talk about how to remove that. You'll need to customize the work item for everyone in your team project to

Getting TFS to put the changeset in the assembly version

我的未来我决定 提交于 2019-12-29 05:18:06
问题 I have got a Team Foundation Server Build running cleanly. It produces several assemblies and I would like the assemblies versions to have the last number to be the changset number. That is, if I commit with a changeset11667 for example the assembly version number should be "x.y.z.11667". I've checked the availible macros, but none is the changeset number. I would still like to be able to build the solution file on my dev machine as normal, just using the checked in version number. How would

Can I unshelve to a different branch in tfs 2008?

心已入冬 提交于 2019-12-29 02:19:12
问题 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) 回答1: The Visual Studio Power Tools 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 and shelved changes. Allows migration of shelved

Can I unshelve to a different branch in tfs 2008?

懵懂的女人 提交于 2019-12-29 02:19:06
问题 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) 回答1: The Visual Studio Power Tools 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 and shelved changes. Allows migration of shelved

Errors & warnings after putting Project in TFS

你说的曾经没有我的故事 提交于 2019-12-29 02:10:07
问题 I have created a web application,it is getting build successfully with 0 error & warning,now i have one more member with me to work on same project,i have migrated my solution to TFS,but now while building i am getting 5 errors and 221 warnings. Error is same on 5 locations(The call is ambiguous between the following methods or properties: 'ExtensionMethods.ChkDBNull(object)' and 'ExtensionMethods.ChkDBNull(object)')AND Warning is also same in 221 differernt location with different files and