I try to build topshelf from sources but receive the error:
error CS0246: The type or namespace name 'Internals' could not be found (are you missing a using directive or an assembly reference?)
I have checked but found only
using Internals.Extensions
using Internals.Cache
and did not find Internals namespace definition What is wrong?
I have got sources from github and try to build. No any changes in code and project.
This project is using Git submodules. Because of that, after cloning, you don't have the full set of required sources yet. You also need to run git submodule init
and git submodule update
. Or, just git submodule update --init
.
Or, use git clone --recursive
in your initial clone command to automatically get the submodules as well.
These commands are already listed in the readme.md
file. You just weren't paying enough attention.