Cannot build .exe with runtime NavMesh Building Components?

Hi.

I suppose the answer should be yes but I am having trouble with building my project which uses Runtime NavMesh Building Components I downloaded the link below.

The project runs without any issue on Unity editor’s player but when I try to build the project, I receive some errors.
They are mainly two errors below.

I suppose I receive them because I use kind of beta version of components but I do not know why it runs fine on the editor even though they are missing TestTools and NUnit.

Can anyone please advice me how I can build .exe in this situation, please?

Thanks!

[Edit]
Now I got it working. Deleting all scripts which gave me the errors then now it can be built into an exe.

But I still do not understand why it could be played even though some scripts have errors of missing namespace reference?

I quickly googled if “TestTools” was something important when I got the same error a few minutes ago and the first result was this post, so I’ll give my thoughts.
The problem is probably that “TestTools” only exists for UnityEditor and not UnityEngine, so that is why it works while in the Editor, so when you build the project the standalone does not include the UnityEditor code and that’s why it’s an error.
You should be fine deleting the "Tests" folder, or you can change the first line in all these scripts from #if UNITY_EDITOR || UNITY_STANDALONE to #if UNITY_EDITOR