[Enter feedback here]
If there is a copy and paste then that command should probably "work"
C:\gitrepo\vcpkg>.\vcpkg.exe integrate install
Applied user-wide integration for this vcpkg root.
All MSBuild C++ projects can now #include any installed libraries.
Linking will be handled automatically.
Installing new libraries will make them instantly available.
CMake projects should use: "-DCMAKE_TOOLCHAIN_FILE=C:/gitrepo/vcpkg/scripts/buildsystems/vcpkg.cmake"
C:\gitrepo\vcpkg>.\vcpkg.exe install azure-iot-sdk-c[public-preview,use_prov_client]
Error:
on expression: azure-iot-sdk-c[public-preview,use_prov_client]
^
Example:
vcpkg install zlib zlib:x64-windows curl boost
If you are trying to follow along, a bunch of combinations here dont actually work.
C:\gitrepo\vcpkg>.\vcpkg.exe install azure-iot-sdk-c public-preview
Computing installation plan...
public-preview.This is the command that worked but I didnt see any qualifiers to help build a version of this. I'd like to see code that doesn't work outside of a code section while commands that do work in a copy and paste section accordingly.
C:\gitrepo\vcpkg>.\vcpkg.exe install azure-iot-sdk-c
Computing installation plan...
The following packages will be built and installed:
Those changes would improve the page imho.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@dc995 Thanks for your feedback! We will investigate and update as appropriate.
@dc995 Thanks for the feedback! We have already fixed the feature name and the document is also updated 3 days ago.
Related to Update quickstart-create-pnp-device-windows.md #121121
https://github.com/microsoft/vcpkg/issues/12180
C:\gitrepo\vcpkg>.\vcpkg.exe install azure-iot-sdk-c[public-preview,use_prov_client]
Error: :1:47: invalid character in feature name (must be lowercase, digits, '-')
on expression: azure-iot-sdk-c[public-preview,use_prov_client]
Please make use of the latest command as shown in the updated document :
.\vcpkg.exe install azure-iot-sdk-c[public-preview,use-prov-client]

If you run the command : vcpkg search
You may see the list which shows the right feature name.

Please let us know if you need further help.
@dc995 Just checking back! Please let us know if you need further help.
@dc995 Just checking back! Please let us know if you need further help.
I'm good. Thanks!
@dc995
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.