Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Source/MSBuild.Community.Tasks/NUnit3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,18 @@ public string InternalTrace
set { _trace = value; }
}

private string _encoding;

/// <summary>
/// The --encoding option may be used to specify the console codepage, such as utf-8, ascii etc.
/// </summary>
/// <remarks></remarks>
public string Encoding
{
get { return _encoding; }
set { _encoding = value; }
}

private bool _noHeader;

/// <summary>
Expand Down Expand Up @@ -441,6 +453,8 @@ protected override string GenerateCommandLineCommands()

builder.AppendSwitchIfNotNull(c+"trace=", _trace);

builder.AppendSwitchIfNotNull(c+"encoding=", _encoding);

return builder.ToString();
}

Expand Down