简体   繁体   English

无法包含C ++ REST卡萨布兰卡

[英]Failing to include C++ REST casablanca

I need your help as I've followed the exact instructions in this link ( https://casablanca.codeplex.com/wikipage?title=Http%20Client%20Tutorial ). 我已按照此链接( https://casablanca.codeplex.com/wikipage?title=Http%20Client%20Tutorial )中的确切说明进行操作,因此需要您的帮助。 I've downloaded a new version of visual studio 2012 and installed the Nuget package for my Solution yet whenever I try to include 我已经下载了Visual Studio 2012的新版本并为我的解决方案安装了Nuget软件包,但无论何时尝试包含

<cpp/http_client.h> 

I keep getting error of "Cannot open source file". 我不断收到“无法打开源文件”的错误。

Right click on your project -> Manage NuGet Packages -> Search casablanca -> install cpprestsdk. 右键单击您的项目->管理NuGet软件包->搜索casablanca->安装cpprestsdk。

Once you need it to be redownloaded: Rigt click on your solution -> Restore NuGetPackages. 一旦需要重新下载它:Rigt单击您的解决方案-> Restore NuGetPackages。

Good luck 祝好运

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM