C# Class VSNDK.Tasks.VSNDKTasks

Inheritance: TrackedVCToolTask
Mostra file Open project: blackberry/VSPlugin

Protected Properties

Property Type Description
switchOrderList ArrayList

Private Properties

Property Type Description
Reformat string

Public Methods

Method Description
VSNDKTasks ( ResourceManager res ) : System

VSNDKTasks Constructor

Protected Methods

Method Description
AssignOutOfDateSources ( ITaskItem sources ) : ITaskItem[]

Function to assign out of date sources

GenerateCommandLineCommands ( ) : string

instead pass the response file to command line commands

GetEnhancedSecuritySwitchValue ( ) : string

Return the Get Enhanced Security string.

GetResponseFileSwitch ( string responseFilePath ) : string

don't use response file for msbuild because it is removed before qcc to run GCC compiler

LogEventsFromTextOutput ( string singleLine, MessageImportance messageImportance ) : void

Getter/Setter for LogEventsFromTextOutput

Private Methods

Method Description
Reformat ( string singleLine ) : string

Reformat the qcc compiler error to msbuild known error format singeLine: main.c:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' or main.c:38:19: error: hello.h: No such file or directory output: main.c(53): error QCC001: expected '=', ',', ';', 'asm' or '__attribute__' before 'int' TODO: this method need to be updated in case any more error formats of qcc compiler

Method Details

AssignOutOfDateSources() protected method

Function to assign out of date sources
protected AssignOutOfDateSources ( ITaskItem sources ) : ITaskItem[]
sources ITaskItem
return ITaskItem[]

GenerateCommandLineCommands() protected method

instead pass the response file to command line commands
protected GenerateCommandLineCommands ( ) : string
return string

GetEnhancedSecuritySwitchValue() protected method

Return the Get Enhanced Security string.
protected GetEnhancedSecuritySwitchValue ( ) : string
return string

GetResponseFileSwitch() protected method

don't use response file for msbuild because it is removed before qcc to run GCC compiler
protected GetResponseFileSwitch ( string responseFilePath ) : string
responseFilePath string
return string

LogEventsFromTextOutput() protected method

Getter/Setter for LogEventsFromTextOutput
protected LogEventsFromTextOutput ( string singleLine, MessageImportance messageImportance ) : void
singleLine string
messageImportance MessageImportance
return void

VSNDKTasks() public method

VSNDKTasks Constructor
public VSNDKTasks ( ResourceManager res ) : System
res ResourceManager
return System

Property Details

switchOrderList protected_oe property

protected ArrayList switchOrderList
return ArrayList