environment:
  package_semantic_version: 6.0.0
  assembly_semantic_version: 6.0.0

version: $(package_semantic_version).{build}

image: Visual Studio 2019

assembly_info:
  patch: true
  file: '**\AssemblyInfo.*'
  assembly_version: '$(assembly_semantic_version).0'
  assembly_file_version: '$(appveyor_build_version)'
  assembly_informational_version: '$(package_semantic_version)-CI-{build}'

configuration: Release

before_build:
- nuget restore

build:
  verbosity: minimal
  publish_nuget: true
  publish_nuget_symbols: true

deploy:
- provider: NuGet
  server: https://www.myget.org/F/autofac/api/v2/package
  api_key:
    secure: rCUEY75fXN0wxtMy6QL4jCrLdaYbxIBzIXWeN+wEu/XDpyqimzreOc5AH5jMd5ah
  symbol_server: https://www.myget.org/F/autofac/symbols/api/v2/package

image: Visual Studio 2019

version: 6.0.0.{build}

dotnet_csproj:
  version_prefix: '6.0.0'
  patch: true
  file: 'src\**\*.csproj'

configuration: Release

environment:
  DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
  NUGET_XMLDOC_MODE: skip

skip_tags: true

nuget:
  disable_publish_on_pr: true

clone_depth: 1

test: off

build_script:
  - ps: .\build.ps1
    
artifacts:
  - path: artifacts\packages\**\*.nupkg
    name: MyGet

deploy:
- provider: NuGet
  server: https://www.myget.org/F/autofac/api/v2/package
  api_key:
    secure: rCUEY75fXN0wxtMy6QL4jCrLdaYbxIBzIXWeN+wEu/XDpyqimzreOc5AH5jMd5ah
  skip_symbols: false
  symbol_server: https://www.myget.org/F/autofac/symbols/api/v2/package

Patch the .csproj for versioning.
Patch the .csproj for versioning.
