Always load GN4 add-ins by opening the solution file GN4AddInsExpress.sln.
Find in the \src\GN4AddIns folder.
Note
You can also use the appropriate version of the Microsoft Visual Studio to edit and compile GN4 add-ins. Even in that case, you need to use GN4AddInsExpress.sln.
See also
Installing add-ins source files
Setting up your workstation to use GN4AddInsExpress.sln