The Nimator.ExampleConsoleApp has this example code:
var json = reader.ReadToEnd();
return Nimator.FromSettings(logger, json);
However, if you create a new fresh console application and reference Nimator, and copy-paste said code to your code file, you'll not be able to compile. Instead, you need to do this:
This is caused by the fact that the default namespace for the example app is part of a sub-namespace (Nimator.ExampleConsoleApp) of the Nimator namespace, whereas the fresh console app isn't.
Bottom line: it's confusing to have both a classand a namespace called "Nimator". Please consider changing this setup.
The
Nimator.ExampleConsoleApp
has this example code:However, if you create a new fresh console application and reference Nimator, and copy-paste said code to your code file, you'll not be able to compile. Instead, you need to do this:
This is caused by the fact that the default namespace for the example app is part of a sub-namespace (
Nimator.ExampleConsoleApp
) of theNimator
namespace, whereas the fresh console app isn't.Bottom line: it's confusing to have both a
class
and anamespace
called "Nimator
". Please consider changing this setup.