mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 14:51:41 +01:00
43 lines
1.0 KiB
C#
43 lines
1.0 KiB
C#
|
using System;
|
|||
|
using System.Collections;
|
|||
|
using Microsoft.Build.Framework;
|
|||
|
|
|||
|
namespace CapnpC.CSharp.MsBuild.Generation.Tests
|
|||
|
{
|
|||
|
class BuildEngineMock : IBuildEngine
|
|||
|
{
|
|||
|
public bool ContinueOnError => true;
|
|||
|
|
|||
|
public int LineNumberOfTaskNode => 0;
|
|||
|
|
|||
|
public int ColumnNumberOfTaskNode => 0;
|
|||
|
|
|||
|
public string ProjectFileOfTaskNode => null;
|
|||
|
|
|||
|
public bool BuildProjectFile(string projectFileName, string[] targetNames, IDictionary globalProperties, IDictionary targetOutputs)
|
|||
|
{
|
|||
|
return true;
|
|||
|
}
|
|||
|
|
|||
|
public void LogCustomEvent(CustomBuildEventArgs e)
|
|||
|
{
|
|||
|
Console.WriteLine(e.Message);
|
|||
|
}
|
|||
|
|
|||
|
public void LogErrorEvent(BuildErrorEventArgs e)
|
|||
|
{
|
|||
|
Console.WriteLine(e.Message);
|
|||
|
}
|
|||
|
|
|||
|
public void LogMessageEvent(BuildMessageEventArgs e)
|
|||
|
{
|
|||
|
Console.WriteLine(e.Message);
|
|||
|
}
|
|||
|
|
|||
|
public void LogWarningEvent(BuildWarningEventArgs e)
|
|||
|
{
|
|||
|
Console.WriteLine(e.Message);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|