I am running NUnit 3.6 in VS 2015 and trying to create extenstion (Addon ) for NUnit , but so far the NUnit is not detecting the addon , I put its path it in .addins file , and every thing the documentation saying but no luck . if I run the unit test from console it does detect the addon as expected Here is the code :
using NUnit.Engine;
using NUnit.Engine.Extensibility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Net.WebRequestMethods;
namespace AddOn
{
[Extension]
[TypeExtensionPoint(
Description = "Test addon " )]
public class NUnitMonitor : ITestEventListener
{
public void OnTestEvent(string report)
{
System.IO.File.WriteAllText(@"D:\report.txt", report);
System.Diagnostics.Debug.WriteLine("TEST Report here : ", report);
}
}
}