C++ Nuget package issue with VS 2019
Confirm by changing [ ] to [x] below to ensure that it's a bug:
- [X] I've gone though Developer Guide and API reference
- [X] I've searched for previous similar issues and didn't find any solution
Describe the bug Current C++ nuget packages have issues with VS 2019.
SDK version number Latest on nuget
Platform/OS/Hardware/Device Win10 / Visual Studio 2019
To Reproduce (observed behavior)
- Create new C++ console app in VS 2019
- Install the latest S3 nuget package(s)
- Create a minimal app per https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/basic-use.html
- Try to build and you will get linking errors
Expected behavior When I begin with creating the app in VS 2017 as well as installing nuget from VS 2017, everything functions as expected. I can subsequently open the solution in VS 2019 and all is well again. Lib/Dll files are missing when installing from VS 2019 so I suspect that is the root cause but you guys will know better than me.
Hi @BillMcCrary , Sorry to say but we don't really support nuget packages anymore. I'd recommend building from source, there's this good guide on how to do it for visual studio. If that doesn't work, or you have any problems I'd be happy to help.
I was indeed able to build from source too. That worked and led me to try nuget via VS 2017.
Good to know nuget is not officially supported, but it is listed as what appears to be a valid option in this starting doc, which is where I started. Should that get a deprecation notice or removed from the docs altogether if nuget feeds won't be maintained?