Skip to content

AzureDevOps build "No value was provided for the Manifest" #281

Open
@Seuleuzeuh

Description

@Seuleuzeuh

Description

Hi @dansiegel, first of it, thanks for this awsome package 😸.
I've a Xamarin.Forms App with an Android platform. I've implemented BuildTools on it, works perfectly on local machine (Windows & MacOS).
But failed in an AzureDevOps pipeline.

Problems raised by the msbuild (full build log is attached) :

/Users/runner/.nuget/packages/mobile.buildtools/2.0.245/build/AndroidManifest.targets(28,5): warning : No value was provided for the Manifest. Unable to process Manifest Tokens

And

/Users/runner/.nuget/packages/mobile.buildtools/2.0.245/build/AndroidManifest.targets(48,5): error MSB4044: The "AutomaticBuildVersioningTask" task was not given a value for the required parameter "ManifestPath".

Thing to notice, the ImageResizerTask run succesfully.

Reproduction Steps

Don't know

Expected Behavior

Build in AZDevOps like in local machine

Actual Behavior

Build failed whith error MSB4044: The "AutomaticBuildVersioningTask" task was not given a value for the required parameter "ManifestPath"

Environment

  • OS: OSX
  • IDE: CLI
  • BuildTools Version: 2.0.245
  • IDE Version:
  • Build Target Framework: Xamarin.Android

Reproduction App

Part of my Yaml pipeline description :

 - task: NuGetAuthenticate@0

 - task: XamarinAndroid@1
   inputs:
     projectFile: '**/*Droid*.csproj'
     outputDirectory: '$(outputDirectory)'
     configuration: '$(buildConfiguration)'
     msbuildVersionOption: 'latest'
     msbuildArguments: ' /r /verbosity:diag /t:SignAndroidPackage /p:AndroidKeyStore="True" /p:AndroidSigningKeyStore="$(keystore.secureFilePath)" /p:AndroidSigningKeyPass="$(keystorePassword)" /p:AndroidSigningKeyAlias="$(keystoreAlias)" /p:AndroidSigningStorePass="$(keystorePassword)"'

I can share the full Yaml file if needed.

BuildLog.zip

buildBinLog.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions