09 August 2011

.NET Framework 4 Update (KB2468871)

Microsoft has released a GDR (General Distribution Release) update (KB2468871) that rolls all previous hotfixes – or QFEs (as of a couple of months ago) – into a single update.

This update replaces the following hotfixes:

  • 2183292 "Failure sending mail" error message when you send an email message by using a .NET Framework 4-based application that uses the "System.Net.Mail.SmtpClient" class if the email attachment is larger than 3 MB
  • 2413613 A shortcut menu may appear far away from the mouse pointer when you run a Windows Presentation Foundation application that is based on the .NET Framework 4
  • 2298853 Visual Studio 2010 error: "Error 1 error MSB4014: The build stopped unexpectedly because of an internal failure"
  • 2461678 A .NET Framework 4-based WPF application crashes if the source object of a data binding in a control is an element that is defined outside the name scope of the control

There are also several other issues that have been resolved in this GDR which are covered here.

Get this update here and/or read more about it on Buck Hodges’ blog here.

03 August 2011

Version Control Changes Coming to TFS v.Next

For many of using Team Foundation Server on a daily basis, living with the TFS workspace has been a love/hate (mostly hate?) relationship.  A simplistic definition, if you’re not familiar with TFS’ workspace, is that it is a mapping of a selection of files within TFS version control to their corresponding destination on your local file system along with various related status information.  This workspace mapping is stored on the server – not the client (i.e. server workspace).

The down side is that it is relatively easy to get your local file system out of sync with what TFS thinks it knows (about the status of the mapped files).  If you delete a file on your local file system, TFS has no idea that the file has been deleted.  If you modify a file on your local file system (assuming you remove the “read only” attribute) then TFS has no idea about that change.  These examples, along with others not listed, adds to some of the greatest confusion when learning to use TFS version control for the first time.

On the up-side, the beauty of the server workspace is that TFS will send down only the files necessary based upon your request (i.e. “Get Latest”).  This can be very useful if you’re working across a WAN/VPN connection where bandwidth is at a premium.

Enough about the current state of affairs.  Now, the good part… Brian Harry has posted some details around some of the enhancements being made to version control with the next release of Team Foundation Server (a.k.a. “Dev11”).  In this post, he discusses the addition of the “Local Workspace” which allows you to make changes directly to the files within your file system and TFS will automagically recognize and handle those changes.  This will provide SVN-style version control capabilities with TFS.  Server workspaces will still exist but the local workspace will become the default.

Check out Brian’s post for all the nitty gritty details.

26 July 2011

Visual Studio LightSwitch 2011 Released

Today, Visual Studio LightSwitch 2011 has been released for download from the MSDN Subscribers site.  General availability for download will start this Thursday, July 28th.

From Jason Zanders’ blog post:

Visual Studio LightSwitch 2011 is a simplified, self-service development tool that enables you to create business applications quickly and easily for the desktop and cloud. I first announced LightSwitch at the VS Live conference in August 2010 and have since written a few posts including detailed tutorials. For those of you unfamiliar with it, it starts with the premise that most business applications consist of data and the screens that users interact with. LightSwitch simplifies attaching to data with data source wizards or creating data tables with table designers. It also includes screen templates for common tasks so you can create clean interfaces for your applications without being a designer. Basic applications can be written without a line of code. However, you can add custom code that is specific to your business problem without having to worry about setting up classes and methods.

Read the full details on Jason’s blog here.

19 July 2011

Be Heard: UserVoice Site for Visual Studio/ALM

Recently, Brian Harry blogged about a set of two new UserVoice sites: One for Visual Studio and one for Visual Studio ALM.  However, just about as quickly as the two sites were created, they were merged – one site to rule them all!  The merged site is available here.

The intent of this site is to provide a forum where you can provide suggestions and ideas for future anything that lives within the Visual Studio brand – e.g. Visual Studio, Visual Studio ALM, Team Foundation Server, Test and Lab Management, etc.  So, if you have any ideas that you’d love to see within Visual Studio, be sure to post them and then build support for your idea by getting others to vote for it.

Keep in mind that if you need to file information regarding a bug you should continue to use Microsoft’s Connect site.

The Visual Studio UserVoice link again is: http://visualstudio.uservoice.com/forums/121579-visual-studio

23 June 2011

Visual Studio 2010 Extensions

Visual Studio 2010 is a great integrated development environment (IDE) for developing all types of applications in multiple programming languages.  One of the (many) advantages of using a mature IDE like Visual Studio is that it is highly extensible.  Visual Studio has had a great community of developer-built extensions for a long time now.  However, until recent times, it wasn’t always easy to locate and install the extensions you needed or simply wanted.  This has changed.

About two and a half years ago (give or take – my history is a little fuzzy) Microsoft introduced the Visual Studio Gallery.  This on-line “store” for Visual Studio provides “quick access to tools, controls, and templates to help you get the most out of Visual Studio”.  With the gallery came not only the ability to easily search for extensions and install them but also the ability to easily upload new extensions that you build yourself.  There are now over 2,500 extensions available for download in the Visual Studio Gallery – some free and some commercial (i.e. not free).  If you’re looking to extend Visual Studio for a specific scenario, check the gallery first because you just might find what you’re looking for.

With that said, there is a set of extensions that I always go back and install any time I spin up a new developer machine.  I’ve listed these below in case you see something that you’re not familiar with and want to give it a try.

I actually have several other extensions installed, but the ones I’ve listed above are the ones that I make sure I put back on every time.  If you’re not familiar with the above extensions, click on the link and check them out.  You just may find them to be as useful as I do.

If there is a favorite extension that you can’t live without, tell us about it in the comments section below.  It may turn out to be one that I can’t live without.

22 June 2011

Web Standards Update for Visual Studio 2010 SP1

If you are using Visual Studio 2010 to create HTML 5 applications then you will appreciate the recently released Web Standards Update for Visual Studio 2010 SP1.  This update brings IntelliSense and validation to Visual Studio, based on the W3C specification, for HTML 5 and CSS3.

As reported by Scott Hanselman, this update provides you with IntelliSense and validation for:

HTML 5 features

Browser APIs

  • Geo-Location - Location aware websites are a clear, growing trend and now you've got full IntelliSense and validation within Visual Studio. For a nice sample, view source on the IE9 test drive demo.
  • Local Storage – IE has been supporting local storage from IE8, so now Visual Studio will provide you with full-fidelity IntelliSense to create sites which can save state within the browser. For sample of this, do a view source on HTML5 Demo Site

CSS3

You can read the full details from his blog posts here.

You can download the update (~1MB) here.  A few people have had issues with the update claiming they need to install Visual Studio 2010 SP1 when, in fact, they already have SP1 installed.  If you have a similar experience, you might try the solution provided by Wouter vanEck on the Reviews tab, summarized here:

  • Download and install the ORCA tool from Microsoft (this is a MSI editor)
  • Once installed, start ORCA and open the downloaded Web Standards Update.msi package
  • In Tables, select the "CustomAction" entry
  • Once selected, in the right pane, select the "VSDCA_VsdLaunchConditions" line, right-click and select "Drop Row"
  • Save the package and run it

21 June 2011

Visual Studio Lab Management Guidance

It’s been a busy week for the ALM Rangers!  Not only was the Visual Studio Build Customization Guidance (read post) released but the Visual Studio Lab Management Guidance was released as well.

LM-Alpha-2

Here’s some quick information from the project home page:

Project Description

This Visual Studio ALM Ranger project has the primary goal of delivering scenario based and hands-on guidance for the planning, setup, configuration and usage of Visual Studio Lab Management, backed by  custom VM Template automation for reference environments.

Downloads

The content is packaged in 3 separate zip files to give you the choice of selective downloads. The default download is the first of the listed packages:

  • Guidance, which includes scenario based practical guidance and frequently asked questions.

  • Hands-on Labs (HOL), which includes the HOL documents that provide walkthroughs of the technology, based on the guidance.

  • HOL Package, which includes a HOL environment setup package which allows you to setup the HOL environment in your own environment.

Get the full details and download the guidance here and keep track of all the other great ALM Rangers projects here.

Visual Studio Build Customization Guidance

A few days ago, the Visual Studio Build Customization Guidance was officially released!

BCG-S-1

Here’s some quick information from the project home page:

Project Description

This Visual Studio ALM Ranger project has the primary goal of delivering scenario based and hands-on lab guidance for the customization and deployment of Team Foundation Build 2010 activities such as versioning, code signing, and branching.

Downloads

The solution is divided in separate packages to give you the choice of selective downloads. The default download is the first of the listed packages:

  • Guidance contains scenario based practical guidance, frequently asked questions and quick reference posters
    • Selected PDF contains guidance and quick reference posters in PDF format only.
    • Complete contains guidance, quick reference posters and localization files in all available formats.
  • Hands-on Labs (HOL) includes:
    • HOL documents that provide walkthroughs of the technology, based on the guidance
    • HOL Package contains a HOL environment setup package allowing you to setup the HOL environment in your own environment
    • BRDLite Build Process Reference Template walk-through.
  • Samples contains sample build process templates used by the team as part of the guidance.
  • Videos which showcase the guidance in quick 5-10min videos.

Get the full details and download the guidance here and keep track of all the other great ALM Rangers projects here.

15 June 2011

Visual Studio/TFS 2010 Videos

If you’re looking for a great collection of videos for Visual Studio 2010 and Team Foundation Server 2010, look no further than this post on the Visual Studio ALM + Team Foundation Server blog.

The list of videos span the following categories:

  • Testing
  • Development
  • Visualization, Modeling, and Architecture
  • Team Foundation Server
  • Lab Management

Lots of great content for viewing.

06 June 2011

What is the TFS (Iteration) Automation Platform?

One of the privileges I’ve had over the past couple of years has been the opportunity to work on several Visual Studio ALM Rangers projects.  Rangers projects provide the opportunity to interact with some very talented people on a daily basis.  Some of those people might by on the Visual Studio product group, others might be Microsoft employees in other areas, and others might be external Rangers – e.g. Microsoft MVPs or other contributors.  Add in various time zones across the planet and your typical Rangers project can turn out to be a great, yet rewarding, challenge.

Most recently, I have become involved with a new Rangers project – TFS Iteration Automation.  This project is a little different from the typical Rangers project, however.  With this project, the first deliverable will provide some core functionality for handling the maintenance associated with switching from iteration-to-iteration in TFS 2010 (especially in regards to query updates).

The second release will be a community project (although still owned and driven by external Rangers).  The idea being that the platform provided by the first release will allow for myriad add-ins to be built and provided in the second release.

This is an exciting Rangers project because it will provide a base platform for building, and deploying, various extensions to TFS 2010.

Martin Hinshelwood (Dev Lead) has provided several posts explaining the basic idea and concepts describing this project.  If you’re interested in learning more about this project, check out these posts:

To keep up with this project, keep an eye on these blogs: