install:
  - cinst gitversion.portable -pre -y

platform: Any CPU

configuration: Release

assembly_info:
  patch: false

before_build:
  - nuget restore Source/PropertyTools.AppVeyor.sln
  - ps: gitversion /l console /output buildserver /updateAssemblyInfo
  
build:
  project: Source/PropertyTools.AppVeyor.sln
  verbosity: minimal

after_build:
  - cmd: NuGet pack Source\PropertyTools.Wpf\PropertyTools.Wpf.nuspec -version "%GitVersion_NuGetVersion%" -prop "target=%CONFIGURATION%"

artifacts:
  - path: Output
    name: PropertyTools-$(GitVersion_SemVer)
    type: zip
  - path: '*.nupkg'

deploy:
  provider: NuGet
  server:                  # remove to push to NuGet.org
  api_key:
    secure: kM3Kse+ivuuE5RVoe6dPdw+aguWx56K2YeXujGa9tMPQTms3lv7QxNpTLFMALYNa
  skip_symbols: false
  symbol_server:           # remove to push symbols to SymbolSource.org
  artifact: /.*\.nupkg/


install:
  - cinst gitversion.portable -pre -y

platform: Any CPU

configuration: Release

assembly_info:
  patch: false

before_build:
  - nuget restore Source/PropertyTools.AppVeyor.sln
  - ps: gitversion /l console /output buildserver /updateAssemblyInfo
  
build:
  project: Source/PropertyTools.AppVeyor.sln
  verbosity: minimal

after_build:
  - cmd: NuGet pack Source\PropertyTools.Wpf\PropertyTools.Wpf.nuspec -version "%GitVersion_NuGetVersion%" -prop "target=%CONFIGURATION%"

artifacts:
  - path: Output
    name: PropertyTools-$(GitVersion_SemVer)
    type: zip
  - path: '*.nupkg'
    name: PropertyTools-NuGet-$(GitVersion_SemVer)
    type: zip

Remove auto deploy to NuGet from CI
Remove auto deploy to NuGet from CI
