vsts2010

VSTS 2010 Debug Feature

I heard of a feature supposedly included in VSTS 2010, but now I can't find any mention of it. It was a tool that allowed a developer to attach a debugger that was on a flash/jump drive and start debugging a program. It did not require any installation. Note: I am not referring to the Historical Debugger. Anyone else heard of this? ...

VSTS Test Edition or HP's LoadRunner?

I have had this debate with some peers off and on for a while. I am certified in the HP tools, but have been spending more and more time with VSTS Test Edition 2008. I am looking for opinions on what people think of the future of both products and how they compete. LoadRunner's strengths include its vast array of protocols supported. ...

VSTS 2010 Create a custom Process Template

Hi, I am required to create a custom Process Template on using VSTS 2010 Beta 1. Given that I did not use templates in VSTS 2008 I am not even sure where to start. The TFS and VS 2010 are all installed and configured. First I tried to create a test project and selected a built-in template "MSF for Agile Software etc." I wanted to try to...

DomainProjectPicker class is obsolete in VSTS 2010?

What is the alternative for DomainProjectPicker if I want to select a server plus its projects? I am aware of a new class called TeamProjectPicker, but that doesn't help me. Anyone know how to select the server from this type of dialog? Thanks,TS. ...

The Command "File.BatchNewTeamProject" is not available in VSTS 2010

Hi, I am trying to automate the creation of team projects using a command built into VS 2010 called File.BatchNewTeamProject using a project settings file as an argument, and executing this as a process silently in the background from my c# win app. I am aware of a requirement that Team Explorer has to be open and connected to TFS before...

TFS 2010 Beta 1 Creating Team Projects programmatically

Hi, is it possible to use some API call to create a new team project (i.e. add a new team project to the Project Collection on TFS 2010)? If yes, what is it? I was searching high and low for this... So far I found how to script it and then call an executable from the command line: http://blogs.msdn.com/granth/archive/2009/09/25/scrip...

Cannot get a list of valid users in TFS for AssignedTo field while creating new Workitems via API

Hi I am trying to create new workitems via the TFS API and this is the method I have used below to get a list of valid users who can be assigned workitems. Somehow, it gives me a null reference exception on validUserSids line. Anyone know what's wrong here? Thanks Tara. private string[] TFSUsers(string server) { // Get a Re...

How To: Deploy SQL Database Project using Team System Build 2010 (beta 2)

Can anyone shed some light on how to get Team Build 2010 beta 2 to push a SQL database project to the SQL server? In VSTS 2008 you'd just add MSBuild commands with the targets attribute set to "deploy" in the TFSBuild.proj file, but I'm having a little trouble translating that to the new workflow based xaml thing that 2010 uses. What I...

TestInitialize gets fired for every test, in my Visual Studio unit tests?

Hi folks, i'm using Visual Studio 2010 Beta 2. I've got a single [TestClass], which has a [TestInitialize], [TestCleanup] and a few [TestMethods]. Every time a test method is ran, the initialize and cleaup methods are ALSO ran! I was under the impression that the [TestInitialize] & [TestCleanup] should only be ran once, per local tes...

How do I enter the duplicate bug id when resolving a bug as duplicate in VSTS 2010?

The closest thing I can see is somehow linking to the other bug (work item). It would be nice if you chose Reason=>Duplicate if you had to enter the duplicate bug id as well. ...

Can we migrate to a new TFS process template and keep history?

We are currently using TFS 2008 with the Scrum for Team System template from Conchango, with a few minor tweaks. We are looking at upgrading to TFS 2010 and we are considering moving to the MSF for Agile template. What is the best way to move to a new process template and keep history? I'd like to be able to create a new team project o...

Does VSTS 2010 RC Team Build code coverage require Visual Studio to be installed on build server?

I ran a build on VSTS 2010 RC with code coverage enabled and got this message in the build output: "The test settings file you are using specifies to run tests with code coverage enabled. To use this feature, Visual Studio Premium or Visual Studio Ultimate is required. The tests will be run without code coverage enabled." Does this me...

Does someone have used Network Emulator API exposed in VS 2010

Hi, I have seen VS2010 exposing Network Emulator API. I have installed it and trying to use this API, but not able detect whether it is really running with this code or not. Sometime I have given wrong profile name but it does not throw any error. Please find below my piece of code. If some one have used it please help me. IntPtr m_emu...

VSTS2010 Addin Development - Check-in hooks

Hi, I've been tipping my toes in Visual Studio Add-In development. I've read some of the tutorials online, and studied some of the sample code provided. Now I actually want to perform custom actions before/after a TFS check-in command is called by the user, but I can't seem to figure out where I can find a hook to start this. Is there s...

Can Visual Studio 2010 Test .net 3.5 SP1 Projects?

I have some projects in a solution that are running on .net 3.5 SP1 (and can never ever be updated to 4.0 as they are SharePoint projects). When I try to create a new Visual C# Test Project in VS2010 Premium, I have to choose .net 4.0 which is apparently intended. Now I don't care about what my Unit Test project is (don't have to care ...

Visual Studio 2010 Code Coverage - Cannot find the back up file, created by instrumentation utility

I am trying to run code coverage in VS 2010 and I am running into the following error. No coverage information is generated. Code coverage in-place instrumentation: Cannot fully backup the binary 'MyProject.dll'. Cannot find the back up file, created by instrumentation utility: 'MyProject.dll.orig'. ...

VSTS 2010 SGEN : error : Could not load file or assembly (Exception from HRESULT: 0x80131515)

Hi ! I am experiencing a strange issue with VS2010. We use TFS to build our API dlls and we used to reference them in our projects usign a mapped network drive that was fully trusted. We have been working like that for at least two years and everything worked perfectly. Today, I converted a webapp to vs2010 and when I compile it in Rel...

How to view process template that is being used by TFS project?

I am using TFS 2010. There are bunch of projects under DefaultCollection. I want to view the process template that was used to create individual projects. I have admin rights on the TFS server box. How to view which project is using which process template? Thanks ...

How do I use Visual Studio 2010 Ultimate with Codeplex?

I'd like to upload a project into codeplex, but I have no idea how. I don't want to break my existing TFS + VS install. Do I need to install anything special to work with Codeplex? ...

BadImageFormatException during .Net assembly load issue

...