Files
DllExports/DllExports.Tests/MockBuildEngine.cs
2023-07-23 13:45:09 +10:00

37 lines
959 B
C#

using System;
using System.Collections;
using Microsoft.Build.Framework;
namespace DllExports.Tests
{
class MockBuildEngine : IBuildEngine
{
public void LogErrorEvent(BuildErrorEventArgs e)
{
throw new InvalidOperationException(e.Message);
}
public void LogWarningEvent(BuildWarningEventArgs e)
{
}
public void LogMessageEvent(BuildMessageEventArgs e)
{
}
public void LogCustomEvent(CustomBuildEventArgs e)
{
}
public bool BuildProjectFile(string projectFileName, string[] targetNames, IDictionary globalProperties,
IDictionary targetOutputs)
{
throw new NotImplementedException();
}
public bool ContinueOnError { get; }
public int LineNumberOfTaskNode { get; }
public int ColumnNumberOfTaskNode { get; }
public string ProjectFileOfTaskNode { get; }
}
}