fixed newlines
This commit is contained in:
parent
ac3e14c89e
commit
a31d4a7920
1 changed files with 5 additions and 3 deletions
|
@ -59,7 +59,8 @@ namespace Microsoft.DotNet.Cli.Compiler.Common
|
|||
|
||||
private static Dictionary<Type, string> GetProjectAttributes(AssemblyInfoOptions metadata)
|
||||
{
|
||||
var attributes = new Dictionary<Type, string>() {
|
||||
var attributes = new Dictionary<Type, string>()
|
||||
{
|
||||
[typeof(AssemblyTitleAttribute)] = EscapeCharacters(metadata.Title),
|
||||
[typeof(AssemblyDescriptionAttribute)] = EscapeCharacters(metadata.Description),
|
||||
[typeof(AssemblyCopyrightAttribute)] = EscapeCharacters(metadata.Copyright),
|
||||
|
@ -71,7 +72,8 @@ namespace Microsoft.DotNet.Cli.Compiler.Common
|
|||
};
|
||||
|
||||
// only .net 4.0+ compatible
|
||||
if (metadata.TargetFrameworkVersion == null || metadata.TargetFrameworkVersion >= new Version(4, 0)) {
|
||||
if (metadata.TargetFrameworkVersion == null || metadata.TargetFrameworkVersion >= new Version(4, 0))
|
||||
{
|
||||
attributes[typeof(TargetFrameworkAttribute)] = EscapeCharacters(metadata.TargetFramework);
|
||||
};
|
||||
return attributes;
|
||||
|
@ -89,4 +91,4 @@ namespace Microsoft.DotNet.Cli.Compiler.Common
|
|||
return str != null ? SymbolDisplay.FormatLiteral(str, quote: false) : null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue