visual-studio-team-system

What are the basic minimum set of Code Analysis rules that you would recommend?

What are the basic minimum set of Code Analysis rules that you would recommend for a 200K LOC solution? We're using unit testing but code analysis has been turned off. Ideally all rules would be turned on by default but I'd like to do this gently and turn on rules in batches so we do not have to deal with everything at once. So, what r...

Microsoft Unit Testing failure, unable to load DLL to test

I've got a .NET 3.5 class lib that I am trying to write some automated tests for but I'm getting the following error when running any tests in the solution: Test method Common.Tests.CommonTests.TestMethod1 threw exception: System.IO.FileNotFoundException: Could not load file or assembly 'Library.Common, Version=0.0.1.22004, Culture=...

Visual Studio unit tests throw MissingMethodException when assembly is in GAC?

My application contains a piece of code that executes inside of Component Services, so we need to register our business rules layer (and its dependencies) in the GAC. One of those dependencies is FooCore.dll, which contains classes and services visible to the entire app. Everything was working fine, until I added a new method to a class...

Is there a way to make TFS linkable?

I'm a big fan of TFS, but unfortunately they seem to have omitted any sort of method of linking to individual items (be they work items, documents, or files under version control). This blog post discusses using TSWA Power Tools to link directly to things (which is useful for building linkified notification emails), but that is not suff...

Strategies for moving to Team System

Does anyone have any strategies/tips/traps for moving to Team System? Should it be done in baby steps, or all at once? Should we migrate our SourceSafe library over, or draw a line in the sand and move forward? Is it worth brining SharePoint into the mix? Any thoughts are appreciated. ...

Visual Studio Team System 2008 & Domain Issues

Hi All, We have TFS installed in a US server. We need to login into VPN to access the TFS server. TFS is configured to use with company's domain user account. However my system is part of the domain. Hence I couldn't access the TFS. I have Visual Studio Team System Developer edition. Can someone here help how to access TFS server instal...

Source Control for different teams?

Hi All Need recommendations for this... I have 2 teams Enterprise SOA development with InfoPath 2003, BizTalk 2006, MSCRMv3, custom .net2 website and a bunch of webservices using VSStudio 2005 with TFS. Web Team focused on public facing websites - using Adobe Suite, VSStudio 2005. As mentioned team 1 have TFS- we dont do daily/wee...

Which version(s) of VSTS for .dbproj files?

With which version(s) of VS2008/VSTS can I work with .dbproj files? ...

Workspace problem once the user name has been changed in TFS Source Control

For some reason the system admin changed my user name from XxXx to XxXx1 in the source control system. Then the problems started. I had to delete all local files and re-download them from source control just to open the project. And after I had rebooted the computer, I can't do much to my files. Whenever I try to undo a checkout I get t...

How To limit file size in TFS

Is there a way to set a maximum size for files that can be check in into source control under Team Foundation Server 2005 or 2008? In the past, when we worked with SourceSafe there were several cases were developers decided to checkin a 500mb data file to source control. I don't know what such a thing will do to TFS - and actually, I ...

Which VSTS Process Template are you using?

There is the classic MSF Agile and MSF CMMI that are coming by default with VSTS. However, I saw that there is Scrum Light on CodePlex and a Scrum Process by Conchango. How good are those? Are you using any of those? What are your customization that you do? Are they taken as is? ...

ASP.NET Schema Tables Causing Issues in VSTS

After installing the VSTS Database GDR and importing a SQL Server 2005 database that includes the ASP.NET provider schema tables, I get the following warnings: TSD04151: Procedure: [dbo].[aspnet_Users_DeleteUser] has an unresolved reference to object [dbo].[sysobjects].[name]. TSD04151: Procedure: [dbo].[aspnet_Users_DeleteUser] has an...

Best feature(s) in Visual Studio 2008 (and VSTS)?

Visual Studio has certainly gone from strength to strength since humble Visual Studio 6 (and previous renditions). There seems to be a lot more coming in Visual Studio 2010 (based on blogs, the PDC and the more recent CTP virtual machines). The recent Service Pack 1 seemed to introduce some really intriguing new functionality and enhan...

How do I customise the CREATE DATABASE statement in VSTS DB Edition Deploy?

Hi, I'm using VSTS Database Edition GDR Version 9.1.31024.02 I've got a project where we will be creating multiple databases with identical schema, on the fly, as customers are added to the system. It's one DB per customer. I thought I should be able to use the deploy script to do this. Unfortunately I always get the full filenames spec...

Team System 2008 and VS 2005 code

Our company is transitioning code from VS 2005. I know they won't be able to use VS 2008 to access it, but we have the patch to enable web access for TFS 2008 applied to our TFS server. This means they can access the source code via the web, but do the work in VS 2005. The code will eventually be rewritten in VS 2008, but we need to...

Can a unit test project load the target application's app.config file?

I am unit testing a .NET application (.exe) that uses an app.config file to load configuration properties. The unit test application itself does not have an app.config file. When I try to unit test a method that utilizes any of the configuration properties, they return null. I'm assuming this is because the unit test application is ...

How to make 'Reason' field always enabled in TFS.

Hi, I'm using Visual Studio Team System 2008 and I want to be able to have the 'Reason' field always enabled for work items. Currently, the 'Reason' drop down is only enabled when changing the 'State'. Once you perform a 'Save' the 'Reason' drop down becomes disabled. I've tried doing this by modifying the process template, but it can...

VSTS Unit test - build system

I have developed a build system on MSBuild (NET 3.0) and cc.net to perform continuous integration builds of a Visual Studio 2008 application, however a developer on the team recently added a VSTS unit test project to the mix. Is there any SDK or add-in provided by microsoft to allow this to be compiled on a non-team system build environ...

In TFS, can I use an added 'In Progress' state to determine how long tasks take?

I've modified the Agile task template in TFS to include a new 'In Progress' state. When work is started on an item the 'assigned user' will set the task from 'Active' to 'In Progress'. This helps me to know which tasks have been started. I was, however, thinking that I might be able to use this new state to figure out how long things ...

Where should external assemblies be place in my Visual Studio solution so that they are part of source control?

I have a multi-project solution. I believe it is best practice to put all externally referenced assemblies (e.g. OSS stuff) in a folder that is on the relative path of the solution and it's component projects. I'd like to create a real folder called Libs within the same Windows folder that contains my .sln file and add it to source con...