Friday, February 05, 2010

Using MSBuild Community Tasks unobstrusivelly

If you ever use any of the MSBuild Community Tasks (MSBCT) when building a project in any of the Visual Studio version since 2005, you may have noticed that when you first load a project that uses this tasks, a Security Warning Dialog is displayed.

Although it occurs only once or twice, it can be very annoying if you handle several projects.

So, reading the page on MSDN, I've added the MSBCT as Safe Imports tasks.

This file contains the necessary settings to make MSBCT a Safe Import for every version of Visual Studio: 2005, 2008 and 2010.

OBS.: If you installed the MSBCT in a folder other than C:\Program Files\MSBuild\MSBuildCommunityTasks before using it, change the settings to the proper path.


Post a Comment