C# Class Simple.Tools.MsBuild.UploadToGoogleCode

Uploads a file and summary to google code. Props to sjalex: http://code.google.com/p/nant-googlecode/ MIT License Extended by devfuel
Inheritance: Microsoft.Build.Utilities.Task
Show file Open project: juanplopes/simple

Private Properties

Property Type Description
CreateAuthorizationToken string
Upload void
WriteFile void
WriteLine void

Public Methods

Method Description
Execute ( ) : bool

Private Methods

Method Description
CreateAuthorizationToken ( string username, string password ) : string

Creates the authorization token.

Upload ( ) : void

Uploads the contents of the file to the project's Google Code upload url. Performs the basic http authentication required by Google Code.

WriteFile ( Stream outputStream, string fileToWrite ) : void

Writes the specified file to the specified stream.

WriteLine ( Stream outputStream, string valueToWrite ) : void

Writes the string to the specified stream and concatenates a newline.

Method Details

Execute() public method

public Execute ( ) : bool
return bool