forked from Ivasoft/DllExports
37 lines
959 B
C#
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; }
|
|
}
|
|
} |