Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Toolshed Tooltip #13 - MSBuild talks to Twitter from Episode 2

Download

Right click “Save as…”

There is more to building an application than pressing F5. MSBuild comes with the .NET Framework and is extensible. See how Microsoft MVP Sayed Ibrahim Hashimi extends the build process programmatically, by talking to Twitter upon a successful build. This is an incredible demo. Consistency is a good thing.

What is it? MSBuild Extensibility... this example keeps everyone updated on the status of the build via MSBuild and Twitter!

Download Site: MSBuild is included with the .NET Framework and can be installed from http://www.microsoft.com/web/
 
Example Problem(s) it solves:
MSBuild allows developers and build masters to completely customize their build process.

Installation Notes: Use the Web Application Installer: www.microsoft.com/web

This is the sixth of Tool Shed Tooltips released from Epsode 2 of the TV Show Russ Tool Shed presents... "It's All About The Tools" hosted by Russ Fustino and Co-Host Stan Schultes. Download code, ppt and demo script from http://code.msdn.com/toolshed for all episodes. Also, use the links on http://channel9.msdn.com/toolshed to download tools. Finally, check out some more great videos on the Developer Evangelist East site: http://channel9.msdn.com/dpeeast

Tags:

Follow the Discussion

  • Very nice demo.. Please include how to run the project in the resources.. ie. the command line arg..Or please reply here.. Thanks

  • Hi,

    First you should download the samples and build the sample solution (Sedo.MSBuild.TwitterLogger.sln). When you build it dll Sedo.MSBuild.Loggers.dll should be created. Then here is a sample command to attach the logger to the build for your project.

     

    msbuild WindowsFormsApplication1.csproj /l:TwitterLogger,C:\temp\Sedo.MSBuild.TwitterLogger\Sedo.MSBuild.TwitterLogger\bin\Debug\Sedo.MSBuild.Loggers.dll;Username=YOUR_USER_NAME;Password=YOUR_PASSWORD

     

    Note these things about that command

    • WindowsFormsApplication1.csproj
      This is the name of the project being built. Since it is in the same folder path was left off
    • C:\temp\Sedo.MSBuild.TwitterLogger\Sedo.MSBuild.TwitterLogger\bin\Debug\
      This is the path to the folder which contains the assembly just built (Sedo.MSBuild.Loggers.dll)
    • Fill in YOUR_USERNAME
    • Fill in YOUR_PASSWORD

     

    Sayed Ibrahim Hashimi

     

     

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.