27 references to Format
Microsoft.Build.Tasks.Core (27)
GenerateResource.cs (27)
2558
Format
inFileFormat = GetFormat(inFile);
2559
if (inFileFormat ==
Format
.Error)
2564
if (inFileFormat !=
Format
.Assembly) // outFileOrDir is a directory when the input file is an assembly
2566
Format
outFileFormat = GetFormat(outFileOrDir);
2567
if (outFileFormat ==
Format
.Assembly)
2572
else if (outFileFormat ==
Format
.Error)
2659
if (GetFormat(inFile) ==
Format
.Assembly)
2740
&& GetFormat(inFile) !=
Format
.Assembly
2742
&& GetFormat(outFileOrDir) !=
Format
.Assembly)
2763
if (GetFormat(currentOutputFile) !=
Format
.Assembly)
2904
private
Format
GetFormat(string filename)
2914
return
Format
.Error;
2920
return
Format
.Text;
2925
return
Format
.XML;
2931
return
Format
.Assembly;
2935
return
Format
.Binary;
2940
return
Format
.Error;
2968
Format
format = GetFormat(filename);
2970
if (format ==
Format
.Assembly) // Multiple input .resources files within one assembly
2984
case
Format
.Text:
2988
case
Format
.XML:
3030
case
Format
.Binary:
3310
Format
format = GetFormat(filename);
3313
case
Format
.Text:
3317
case
Format
.XML:
3325
case
Format
.Assembly:
3329
case
Format
.Binary: