Cant build the project because of the editor use

I try to build my project but get 117 errors from Editor folder of the asset
Unity version 2020.3.25f1


I know that editor doesnt exist during build, but I dont understand how to fix it. Everything works fine in the editor.
Here is my NavMeshSurface object

It’s because you are using API available only in the editor, so when building they can’t be found.
Unity create 2 projects in the solution:
7911952--1009078--upload_2022-2-20_17-59-7.png
Check your code in the first, and removes all references to API using UnityEditor.
search “using UnityEditor;” in C#

7911952--1009072--upload_2022-2-20_17-57-18.png

I’m not using UnityEditor. NavMeshComponents do. They have folder named Editor where every script uses UnityEditor. How do I use NavMeshComponents without this folder? My AI just stops working without that folder.
Here are my projects, you can see the Editor folder exists only in NavMeshComponentsEditor project
7913746--1009435--upload_2022-2-21_14-24-33.png
7913746--1009438--upload_2022-2-21_14-24-58.png