blob: 0559057fe974fd9c2b335a36a3aef32a790185ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
namespace WixToolsetTest.BuildTasks
{
using System.Collections;
using System.Diagnostics;
using Microsoft.Build.Framework;
internal class FakeBuildEngine : IBuildEngine
{
public int ColumnNumberOfTaskNode => 0;
public bool ContinueOnError => false;
public int LineNumberOfTaskNode => 0;
public string ProjectFileOfTaskNode => "fake_wix.targets";
public bool BuildProjectFile(string projectFileName, string[] targetNames, IDictionary globalProperties, IDictionary targetOutputs) => throw new System.NotImplementedException();
public void LogCustomEvent(CustomBuildEventArgs e) => Debug.Write(e.Message);
public void LogErrorEvent(BuildErrorEventArgs e) => Debug.Write(e.Message);
public void LogMessageEvent(BuildMessageEventArgs e) => Debug.Write(e.Message);
public void LogWarningEvent(BuildWarningEventArgs e) => Debug.Write(e.Message);
}
}
|