BMuuN / vsts-assemblyinfo-task

Assembly Info is an extension for Azure DevOps that populates assembly information metadata from a build pipeline.
https://marketplace.visualstudio.com/items?itemName=bleddynrichards.Assembly-Info-Task
MIT License
45 stars 27 forks source link

task: Assembly-Info-NetCore@3 not recognized #222

Closed Martin-Andersen closed 2 years ago

Martin-Andersen commented 2 years ago

How can I install/use the extension in my azure-pipelines.yaml file?

Have inserted this. And the task are not recognized

  - task: Assembly-Info-NetCore@3
            displayName: 'Set Assembly Metadata'
            inputs:
              Path: '$(Build.SourcesDirectory)'
              FileNames: '**/*.csproj'
              InsertAttributes: true
              FileEncoding: 'utf-8'
              WriteBOM: true
              FailOnWarning: true
              Authors: 'Bleddyn Richards'
              Company: 'Example Ltd'
              Copyright: 'Copyright © $(date:YYYY) Example Ltd'
              PackageVersion: '$(appVersion)'
              UpdateBuildNumber: '$(Build.DefinitionName)_v$(appVersion)'
              AddBuildTag: 'v$(appVersion)'
BMuuN commented 2 years ago

Has the extension been installed on your Azure DevOps instance? Follow the market place listing to install: https://marketplace.visualstudio.com/items?itemName=bleddynrichards.Assembly-Info-Task

pragmat1c commented 2 years ago

You need to install the extension through the store.

Would be helpful to point that out as this is the only extension I've ever wanted to install and had to figure out what I needed to do: https://docs.microsoft.com/en-us/azure/devops/marketplace/install-extension?view=azure-devops&tabs=browser

BMuuN commented 2 years ago

Did installing the extension to your tenancy fix your issue @Martin-Andersen ?

BMuuN commented 2 years ago

Closing due to no response. Please re-open the issue if you are still facing issues.