NuGet之前的环境(简化):
添加NuGet
#include <cpprest/json.h>
。NuGet package restoration
。结果
cpprest/json.h file can't be found
错误时,Sol2无法在TeamCity上构建。什么可能导致Sol2无法找到包含的json.h文件?
答案 0 :(得分:1)
#include <cpprest/json.h>
可能必须是
<../packages/casablancaapi/native/lib/cpprest/json.h>