microsoft/winget-cli

Prerequisites documentation missing

Opened this issue · 1 comments

Brief description of your issue

Please add documentation into Readme.md in the root directory and describe what needs to installed/executed in order to be able to build the solution.

So far I've identified the need to execute following:

vcpkg install vcpkg install jsoncpp:x64-windows vcpkg integrate install

Please grab a fresh Windows machine, install VS and document steps needed to successfully build this solution. That would help a lot.

Trenly commented

I just went through the steps in Developing.md and they seemed to work flawlessly for me. Are you experiencing any specific issues with the steps as they are laid out?

## Building the client
1. Clone the repository
2. Configure your system using the [configuration file](../.config/configuration.winget) in the repository. Run one of the following configurations from the project root so relative paths resolve correctly:
- For VS Community: `winget configure .config/configuration.winget`
- For VS Professional: `winget configure .config/configuration.vsProfessional.winget`
- For VS Enterprise: `winget configure .config/configuration.vsEnterprise.winget`
3. Run `vcpkg integrate install` from the Developer Command Prompt / Developer PowerShell for VS 2022. This is a one-time setup step until the configuration file in step 2 is updated to work with vcpkg setup.
Open `winget-cli\src\AppInstallerCLI.sln` in Visual Studio and build. We currently only build using the solution; command-line methods of building a VS solution should work as well.