C# 클래스 XSharp.Build.NativeResourceCompiler

상속: Microsoft.Build.Utilities.ToolTask
파일 보기 프로젝트 열기: X-Sharp/XSharpPublic

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