Ad tests, fix issue where profile not found isn't an error
This commit is contained in:
parent
0ba2e1feb4
commit
0243354355
11 changed files with 407 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
|||
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
using System;
|
||||
|
||||
namespace MSBuildTestApp
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
if (args.Length > 0)
|
||||
{
|
||||
Console.WriteLine("echo args:" + string.Join(";", args));
|
||||
}
|
||||
string message = Environment.GetEnvironmentVariable("Message");
|
||||
|
||||
if (string.IsNullOrEmpty(message))
|
||||
{
|
||||
message = "(NO MESSAGE)";
|
||||
}
|
||||
|
||||
Console.WriteLine(message);
|
||||
}
|
||||
}
|
||||
}
|
Reference in a new issue