Updated setup instructions with winget configure.

This commit is contained in:
Mike Battista 2024-08-27 12:59:37 -07:00
Родитель 9b3452658b
Коммит dc1d23ef8b
1 изменённых файлов: 2 добавлений и 9 удалений

Просмотреть файл

@ -34,15 +34,8 @@ contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additio
## Set up your development environment
* Install [Visual Studio 2022 (Desktop C++ Workload)](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&channel=Release&version=VS2022&source=VSLandingPage&passive=false)
* Install [PowerShell 7](https://aka.ms/powershell-release?tag=stable)
* Run [scripts/Install-AllSoftware.ps1](scripts/Install-AllSoftware.ps1) to install the below software
* Install [Visual Studio Code](https://code.visualstudio.com/Download)
* Install [.NET (SDK)](https://dotnet.microsoft.com/download/dotnet)
* Install [ILSpy](https://github.com/icsharpcode/ILSpy/releases/latest)
* Note: To use this script, make sure that the [Microsoft App Installer](https://www.microsoft.com/p/app-installer/9nblggh4nns1) is installed, the script is run as an administrator, and running scripts is not blocked.
* Add [NuGet.org](https://api.nuget.org/v3/index.json) as a [package source](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-nuget-add-source#examples)
* Clone the [repo](https://github.com/microsoft/win32metadata.git)
* Run `winget configure configurations\configuration.dsc.yaml` from the repo root
* Run a [full build](#Full-builds)
## Namespaces
@ -269,4 +262,4 @@ Once all the changes are validated, update the list of known changes since the l
The main branch must have a clean build to publish a new release. Run the [release pipeline](https://dev.azure.com/microsoft/Dart/_build?definitionId=62263) to publish new packages to nuget.org and create a new draft release on GitHub autopopulated with the list of resolved issues. Once the packages are live on nuget.org, publish the GitHub release.
After a release is published, run [Set-LastReleaseVersion.ps1](scripts/Set-LastReleaseVersion.ps1) with the metadata package version published to nuget.org, and run [Set-MajorVersion.ps1](scripts/Set-MajorVersion.ps1) to increment the version number in the build for the next release.
After a release is published, run [Set-LastReleaseVersion.ps1](scripts/Set-LastReleaseVersion.ps1) with the metadata package version published to nuget.org, and run [Set-MajorVersion.ps1](scripts/Set-MajorVersion.ps1) to increment the version number in the build for the next release.