image: Visual Studio 2022 configuration: Release install: - ps: $env:build_version = (Select-Xml -Path ".\src\CommonServiceLocator.csproj" -XPath "/Project/PropertyGroup/Version" | Select-Object -ExpandProperty Node).InnerText - ps: Update-AppveyorBuild -Version "$env:build_version.$env:APPVEYOR_BUILD_NUMBER" before_build: - cmd: dotnet restore build: project: package.sln parallel: true verbosity: minimal dotnet_csproj: patch: false artifacts: - path: '**\CommonServiceLocator.*.nupkg' name: 'CommonServiceLocator'