我尝试从源代码构建topshelf,但收到错误:
error CS0246: The type or namespace name 'Internals' could not be found (are you missing a using directive or an assembly reference?)
Run Code Online (Sandbox Code Playgroud)
我检查过但发现只是
using Internals.Extensions
using Internals.Cache
Run Code Online (Sandbox Code Playgroud)
并没有找到Internals命名空间定义有什么问题?
我有来自github的资源并尝试构建.代码和项目没有任何变化.
小智 5
这个项目正在使用Git子模块.因此,在克隆之后,您还没有完整的必需来源集.你还需要运行git submodule init和git submodule update.或者,只是git submodule update --init.
或者,git clone --recursive在初始克隆命令中使用以自动获取子模块.
这些命令已在readme.md文件中列出.你刚才没有给予足够的重视.