Namespace being the same as the class name seems to be causing imports to not work as expected
eloisetaylor5693 opened this issue · comments
Eloise commented
After downloading the package I was forced to use the package like this:
var filter = new ProfanityFilter.ProfanityFilter();
Expected syntax didn't compile:
using NUnit.Framework;
using ProfanityFilter;
namespace ProfanityPoc
{
public class ProfanityDetectorTests
{
[Test]
public void Test1()
{
var filter = new ProfanityFilter();
Assert.That();
}
}
}
stephenhaunts commented
Thanks. I will take a look. This is using the nugget package directly instead of from source?
Eloise commented
Using the nuget package. Thanks :-)