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)
2738
&& GetFormat(inFile) !=
Format
.Assembly
2740
&& GetFormat(outFileOrDir) !=
Format
.Assembly)
2761
if (GetFormat(currentOutputFile) !=
Format
.Assembly)
2902
private
Format
GetFormat(string filename)
2912
return
Format
.Error;
2918
return
Format
.Text;
2923
return
Format
.XML;
2929
return
Format
.Assembly;
2933
return
Format
.Binary;
2938
return
Format
.Error;
2966
Format
format = GetFormat(filename);
2968
if (format ==
Format
.Assembly) // Multiple input .resources files within one assembly
2982
case
Format
.Text:
2986
case
Format
.XML:
3028
case
Format
.Binary:
3308
Format
format = GetFormat(filename);
3311
case
Format
.Text:
3315
case
Format
.XML:
3323
case
Format
.Assembly:
3327
case
Format
.Binary: