Visual Studio 2015 Community -> cpprestsdk nuget 包
Visual Studio 2015 Community -> cpprestsdk nuget package
这是我第一次。我对Visual Studio 2015有问题。我想使用库cpp REST SDK。我的问题是:
当我在Visual Studio中使用NuGet软件包管理器安装软件包时,一切正常,软件包就安装好了。但是,当,在我的代码中,我想包括:
#include <cppresthttp_client.h>
Intellisense告诉我它无法打开源文件。
我的结论是:我的程序包已安装,但我无法使用库。。。
如果您使用Nuget Package Manager安装了它,请等待一段时间以使其完全安装。
完整安装后的最后一行应该是这样的:
End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.PackageManagement.UI.UIActionEngine.<PerformActionImplAsync>d__6.MoveNext()
========== Finished ==========
之后,文件将自动包含在内。如果您仍然面临此问题,您可以在项目->属性->配置属性->C++->其他包含目录中手动添加包含路径
路径看起来像:
C: \Users\ComputerName\Documents\Visual Studio 2015\Projects\Project\packages\cpprestsdk.v140.windesktop.msvcstl.dyn.rt dyn.2.7.0\build\native\include
相关文章:
- Casablanca/cpprestsdk listener.support接受函数,但不支持方法
- 使用 NuGet 填充 Visual Studio 2019 中的 CMake 依赖项
- 将 cpprestsdk json 值对象写入文件
- CMake cpprestsdk
- 将Windows身份验证与cpprestsdk一起使用
- CPPRestSdk给出错误SSL错误:WINHTTP_CALLBACK_STATUS_FLAG_INVALID_CA
- 使用jsoncpp-NuGet包时获取未解析的外部符号
- 在VS2019中包含nuget包C++跨平台程序
- 无法将 Google Test NuGet 包添加到 Visual Studio Linux C++ 项目中
- 如何使用 Xcode 8.2.1 在我的项目中添加 cpprestsdk 库
- Microsoft/CppRestSDK Casablanca, Visual Studio 2017
- c++ nuget packages for opengl
- 如何使用 C++ 中的 cpprestsdk 发布 json 数据并从本地服务器获取响应
- TLS with http_listener in Microsoft cpprestsdk on Windows
- 本机 Nuget 包安装在 VS 中,但没有为C++(本机)项目添加引用
- CPPrestsdk (Casablanca) JSON 值到 std::vector<unsigned char>
- 如何保持服务器运行(cpprestsdk - casablanca)
- 使用 /clr 或 clr:pure (cpprestsdk aka casablanca) 编译时不支持互斥
- 在解决方案中的项目中使用时缺少 NuGet 包
- Visual Studio 2015 Community -> cpprestsdk nuget 包