Building SharePoint 2010 Solutions on a TFS 2010 Build Server

Last year I wrote a post about building Microsoft Office SharePoint Server (MOSS) 2007 solutions on a Team Foundation Server (TFS) 2010 build server, which talked about copying various SharePoint assemblies to a “Reference Assemblies” folder and adding a corresponding registry key for MSBuild to locate the assemblies. It’s nice to see that a similar…

0

C++ Compiler in Visual Studio 2010 Must Target .NET Framework 4

Another “hiccup” this week after upgrading my Team Foundation Server (TFS) 2008 environment to TFS 2010… This morning I discovered that when you upgrade a managed C++ project from Visual Studio 2008 to Visual Studio 2010, the project is updated automatically to target .NET Framework 4. Unlike most other project types, you can’t just quickly…

0

Suppress CS1607 Warning for TFS 2010 Builds

Here’s another issue I encountered when upgrading my Team Foundation Server (TFS) 2008 environment to TFS 2010… While it’s generally a good assumption that a solution that builds without error in Visual Studio 2008 (and on a TFS 2008 build server) will build without error after updating the solution to Visual Studio 2010, this isn’t…

0

Building MOSS 2007 Solutions on a TFS 2010 Build Server

After upgrading my Team Foundation Server (TFS) 2008 environment to TFS 2010, my next step was to upgrade various Visual Studio solutions to the 2010 version and ensure they built successfully after the upgrade. Note that during the upgrade, I chose to rebuild the VM (DAZZLER) in my environment that runs the Team Foundation Build…

0

Upgrade Team Foundation Server 2008 to TFS 2010 (and SharePoint Server 2010)

In my previous post, I provided an overview of the process of upgrading from TFS 2008 (and Windows SharePoint Services v3) to TFS 2010 (and SharePoint Server 2010). In this post, I provide more details about the upgrade process. Note that if you are not upgrading, but rather installing a new instance of TFS 2010…

13

Upgrade Team Foundation Server 2008 to TFS 2010 (and SharePoint Server 2010) - Overview

This past weekend, I upgraded my Team Foundation Server (TFS) 2008 environment to TFS 2010. I also upgraded the TFS project sites to SharePoint Server 2010. Why the SharePoint upgrade? The TFS project sites previously ran on Windows SharePoint Services 3.0 (WSS v3) — not Microsoft Office SharePoint Server (MOSS) 2007 — and, in fact,…

0

Save Significant Disk Space by Setting MaxPatchCacheSize to 0

A little over two years ago, I wrote a post about installing Visual Studio 2005 Service Pack 1, in which I mentioned setting the MaxPatchCacheSize registry setting to 0 (in order to save some significant disk space while installing the service pack). [Note that the credit for this trick really goes to Heath Stewart –…

2

Test Projects in Visual Studio 2010 Must Target .NET Framework 4

Last week I installed Visual Studio 2010 on my primary desktop. This morning, I opened my Fabrikam.Demo solution in the new version of Visual Studio, but chose not to upgrade the target framework when prompted by Visual Studio during the solution upgrade. In other words, I chose to leave the Target framework project setting set…

5

Bug Deploying SQL Server Database Using VSDBCMD.EXE

Yesterday we encountered a bug while trying to deploy a new SQL Server database from a Visual Studio database project using the VSDBCMD.EXE utility, following the prescriptive guidance on MSDN: How to: Prepare a Database for Deployment From a Command Prompt by Using VSDBCMD http://msdn.microsoft.com/en-us/library/dd193258.aspx According to this MSDN article, all you need to do…

0