This commit is contained in:
Jared Parsons 2016-03-02 16:24:54 -08:00
parent 2deb9d343a
commit b378fb0419
3 changed files with 10 additions and 3 deletions

View file

@ -65,7 +65,7 @@ namespace Microsoft.DotNet.Cli.Compiler.Common
syntax.DefineOptionList(s_additionalArgumentsTemplate.LongName, ref additionalArguments, "Pass the additional argument directly to the compiler");
syntax.DefineOption(s_debugTypeTemplate, ref debugType, "The type of PDB to emit: portable or full");
syntax.DefineOption(s_debugTypeTemplate.LongName, ref debugType, "The type of PDB to emit: portable or full");
syntax.DefineOption(s_languageVersionTemplate.LongName, ref languageVersion,
"The version of the language used to compile");

View file

@ -26,6 +26,8 @@ namespace Microsoft.Extensions.DependencyModel
public bool? PublicSign { get; }
public string DebugType { get; }
public bool? EmitEntryPoint { get; }
public bool? GenerateXmlDocumentation { get; }
@ -40,6 +42,7 @@ namespace Microsoft.Extensions.DependencyModel
keyFile: null,
delaySign: null,
publicSign: null,
debugType: null,
emitEntryPoint: null,
generateXmlDocumentation: null);
@ -52,6 +55,7 @@ namespace Microsoft.Extensions.DependencyModel
string keyFile,
bool? delaySign,
bool? publicSign,
string debugType,
bool? emitEntryPoint,
bool? generateXmlDocumentation)
{
@ -64,8 +68,9 @@ namespace Microsoft.Extensions.DependencyModel
KeyFile = keyFile;
DelaySign = delaySign;
PublicSign = publicSign;
DebugType = debugType;
EmitEntryPoint = emitEntryPoint;
GenerateXmlDocumentation = generateXmlDocumentation;
}
}
}
}

View file

@ -43,8 +43,10 @@ namespace Microsoft.Extensions.DependencyModel
internal const string PublicSignPropertyName = "publicSign";
internal const string DebugTypePropertyName = "debugType";
internal const string EmitEntryPointPropertyName = "emitEntryPoint";
internal const string GenerateXmlDocumentationPropertyName = "xmlDoc";
}
}
}