C++ REST SDK packages

Oct 22, 2015 at 12:46 PM
Hi
After downloading cpprestsdk in VS 2013, i found 7 folders (cpprestsdk.v120.winphone... cpprestsdk.v120.winpp... ) in the project folder, it weighs around 1,5 Gb. Actually, I'm not using all these features and I want to remove it.
Can I do it? If yes, how?
Oct 23, 2015 at 3:10 AM
Yes, it should be possible.
Which features are you interested in particular?
Another option is to build the product from sources.

I can give a solution that suits you best based on the features you are interested in. Let me know.

Thanks
Kavya.
Oct 23, 2015 at 11:19 AM
I have these packages in the project folder:
cpprestsdk.v120.winapp
cpprestsdk.v120.windesktop
cpprestsdk.v120.winphone
cpprestsdk.v120.winphonesl
cpprestsdk.v120.winxp
cpprestsdk.v140.winapp
cpprestsdk.v140.windesktop

I'm not interested in winphone and winphonesl . How to remove it properly from my project? Also, i need only x64 support.

Thanks.
Oct 27, 2015 at 12:45 AM
You can uninstall the packages that you are not using from NuGet management UI. Just use "installed" filter to reveal the projects that have installed the package, and use "uninstall" command to uninstall the package from the selected projects.
Oct 28, 2015 at 10:18 PM
cpprestsdk nuget package includes the entire bundle (cpprest library for VS2013, VS2014, Phone, Desktop, Windows Store App development).

You can also selectively install only the packages that you are planning to reference. For instance, if you are using VS2013, you can choose to install the corresponding packages:
cpprestsdk.v120.winapp.*
cpprestsdk.v120.windesktop.*
And ignore the rest.

Hope this helps.

Thanks
Kavya