vsts

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...

Connect to TFS with different user credentials

Hi I am connecting to TFS through Visual Studio 2008 Team Explorer. Lets say TFS is on machine A and Visual Studio 2008 is on machine B (my box). I have a local account on machine A (i.e. A\username) that has admin privileges for TFS (installed on machine A). Whenever I connect to TFS from team explorer it always uses the my domain cred...

Force comparison of files when merging in Visual Studio 2008

Currently when I right-click -> Merge on a specific file in Visual Studio 2008 it attempts (and often succeeds) to automatically merge the file to my indicated target. How can I force VS to always allow me to manually compare and merge the file in my merge tool? I should mention that my source control is TFS. ...

TFS always prompts to resolve conflicts on files that have no conflicts!

I have 3 files that are always producing merge conflicts when I am trying to merge between the baseline and my development branch in either direction. When the merge tool opens, there are no conflicts in the files and I just click ok. But it will happen again next time I merge. What can I do to get TFS to realize that NOTHING HAS CHANGE...

VS 2008 Schema Compare: How to ignore server variables

Hi, I recently imported the schema of our prod database into Visual Studio. The schema solution builds, and I've used server variables in the sproc scripts. e.g., cross-db call in a sproc which was MyDB.dbo.sp_Some_Sproc is now [$(MyDB)].dbo.sp_Some_Sproc However, as it's taken a while to get up and running properly with TFS etc., t...

links to work items - vstf/vsts

Hi, I was wondering if it is possible to create links to work items that open not through Team System Web Access but through Visual Studio 2008. For TSWA we have following links: http://mytfs:8090/wi.aspx?id=1234 We would like to include VS-links in the reports (in parallel with TSWA-links), so that users can choose the tool they wan...

Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException was unhandled by user code (VSTS 2010 on Microsoft Dynamics AX 2009)

I am trying to automate the UI testing process using VSTS 2010 on Microsoft Dynamics AX 2009. Using coded UI test, I am recording tests on on Microsoft Dynamics AX 2009. Recording works fine, it runs into issue when trying to run the test recorded on TreeView control in the application. Tests fails to execute on that control. Following ...

Cannot run VSTS LoadTest at a time

Hi there, I have a VSTS project with a list of 30 LoadTest tests that I want to run sequentially. All tests are independent from each other. When I try to run all the tests, it starts with the first test and it executes it perfectly, but once the first test is finished, it automatically starts to mark the rest of the tests as completed,...

We have two braches in TFS(Standard and Enterprise) of which many of the files are common. How do we manage changes in both?

Hi, We have two folder structures in TFS(two seperate braches) for same application. One branch managing normal desktop application and another with client-server architechture. The later one has extra features. Apart from few files, most of the files are common between the branches. If we have a change, we have to do it in both the s...

VSTS Profiler used to profile a VSTO Word Addin?

I've got a VSTO 3.0 Word addin that I'd like to profile using VSTS Profiler. When I try to run an instrumenting run with the profiler, though, I get a warning that it can't be instrumented because the Addin DLL is signed, which, from what I know about VSTO, they have to be signed. Is there any way to "turn off" the signature verificati...

How do you change the program team explorer uses for comparisons?

I would like to have team explorer use BeyondCompare or SourceGear's diffmerge in order to do my conflict resolution in team explorer. I know its possible, but where is the setting for that and what is the syntax for it? ...