C# Класс XSharp.Build.NativeResourceCompiler

Наследование: Microsoft.Build.Utilities.ToolTask
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
Execute bool
FindRc string
NativeResourceCompiler Microsoft.Build.Framework

Защищенные методы

Метод Описание
ExecuteTool ( string pathToTool, string responseFileCommands, string commandLineCommands ) : int
FilesAreNewer ( List fileNames, string outputFileName ) : bool

Check a list of files and their included files to see if they are newer than the output file name

GenerateCommandLineCommands ( ) : string

/i = include directory /fo = output directory /v = verbose (output only shown with diagnostic logging) /d DEBUG for conditional compilation rest is passed through a response file

GenerateFullPathToTool ( ) : string
GenerateResponseFileCommands ( ) : string

Response file contains list of #include statements. All resources must be compiled as one virtual large file. We can only include one native resource

GetResponseFileSwitch ( string responseFilePath ) : string
GetWorkingDirectory ( ) : string
LogToolCommand ( string message ) : void
SkipTaskExecution ( ) : bool

Task does not have to run when the ouput file exists and is newer than the source files

ValidateParameters ( ) : bool

Check to see if all mandatory parameters are filled

Приватные методы

Метод Описание
Execute ( ) : bool
FindRc ( string toolName ) : string
NativeResourceCompiler ( ) : Microsoft.Build.Framework

Read XSharp Installation location from the Registry

Описание методов

ExecuteTool() защищенный Метод

protected ExecuteTool ( string pathToTool, string responseFileCommands, string commandLineCommands ) : int
pathToTool string
responseFileCommands string
commandLineCommands string
Результат int

FilesAreNewer() защищенный Метод

Check a list of files and their included files to see if they are newer than the output file name
protected FilesAreNewer ( List fileNames, string outputFileName ) : bool
fileNames List List of files
outputFileName string outputFileName
Результат bool

GenerateCommandLineCommands() защищенный Метод

/i = include directory /fo = output directory /v = verbose (output only shown with diagnostic logging) /d DEBUG for conditional compilation rest is passed through a response file
protected GenerateCommandLineCommands ( ) : string
Результат string

GenerateFullPathToTool() защищенный Метод

protected GenerateFullPathToTool ( ) : string
Результат string

GenerateResponseFileCommands() защищенный Метод

Response file contains list of #include statements. All resources must be compiled as one virtual large file. We can only include one native resource
protected GenerateResponseFileCommands ( ) : string
Результат string

GetResponseFileSwitch() защищенный Метод

protected GetResponseFileSwitch ( string responseFilePath ) : string
responseFilePath string
Результат string

GetWorkingDirectory() защищенный Метод

protected GetWorkingDirectory ( ) : string
Результат string

LogToolCommand() защищенный Метод

protected LogToolCommand ( string message ) : void
message string
Результат void

SkipTaskExecution() защищенный Метод

Task does not have to run when the ouput file exists and is newer than the source files
protected SkipTaskExecution ( ) : bool
Результат bool

ValidateParameters() защищенный Метод

Check to see if all mandatory parameters are filled
protected ValidateParameters ( ) : bool
Результат bool