-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AzureDevOps build "No value was provided for the Manifest" #281
Comments
It's really hard for me to make any determination here without having a binlog. If you can update the build step's - task: NuGetAuthenticate@0
- task: XamarinAndroid@1
inputs:
projectFile: '**/*Droid*.csproj'
outputDirectory: '$(outputDirectory)'
configuration: '$(buildConfiguration)'
msbuildVersionOption: 'latest'
msbuildArguments: ' /r /bl /t:SignAndroidPackage /p:AndroidKeyStore="True" /p:AndroidSigningKeyStore="$(keystore.secureFilePath)" /p:AndroidSigningKeyPass="$(keystorePassword)" /p:AndroidSigningKeyAlias="$(keystoreAlias)" /p:AndroidSigningStorePass="$(keystorePassword)"'
- task: PublishPipelineArtifact@1
displayName: 'Publish Binlog'
condition: failed()
inputs:
artifactName: binlog
targetPath: 'msbuild.binlog'
|
Done, attached to the description. Sorry for the missing log. |
@Seuleuzeuh the issue is being caused because the - bash: |
msbuild \
./src/ProjectName.Android/ProjectName.Android.csproj \
/bl \
/t:SignAndroidPackage \
/p:Configuration=Release \
/p:AndroidKeyStore=true \
/p:AndroidSigningKeyStore=$KeystoreFile \
/p:AndroidSigningStorePass=$KeystorePass \
/p:AndroidSigningKeyAlias=$KeystoreAlias \
/p:AndroidSigningKeyPass=$KeystorePass \
/p:AndroidPackageFormat=aab \
/p:OutputPath=$BuildOutputPath |
Same result... Log attached |
@dansiegel based on your "hack" proposed in this comment, i 've able to fix my build (partially).
So i've put this in a Directory.Build.props : <Target Name="MBTHack"
BeforeTargets="HandleAndroidManifest"
DependsOnTargets="_MBTGatherManifests">
</Target> Leading to a build succeed, and a correct generation of the AndroidManifest. Finally i think it's due to using a mac agent (i've don't try to use a windows one cause of some script in my yaml that are not compatible, if i have some time i'll try to test that) . |
I've made a rework of my build pipeline and made a job that run on windows for Android, and all work smoothly. |
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) :
And
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
Reproduction App
Part of my Yaml pipeline description :
I can share the full Yaml file if needed.
BuildLog.zip
buildBinLog.zip
The text was updated successfully, but these errors were encountered: