Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

MSBuild command line failing on first run with "FixXFCoreAssembly" -- FAILED. #4619

Closed
PureWeen opened this issue Dec 4, 2018 · 1 comment
Assignees
Labels
e/1 🕐 1 t/housekeeping ♻︎ Internal only changes, won't be included in release notes
Projects

Comments

@PureWeen
Copy link
Contributor

PureWeen commented Dec 4, 2018

Description

Running msbuild from the command line fails the first time

Steps to Reproduce

  1. git clean -xdf
  2. msbuild Xamarin.Forms.sln /t:restore
  3. msbuild Xamarin.Forms.sln /p:CreateAllAndroidTargets=true
Using "FixXFCoreAssembly" task from assembly "D:\Development\Xamarin.Forms\3.5\Xamarin.Forms.Core\..\XFCorePostProcessor.Tasks\bin\Debug\net461\XFCorePostProcessor.Tasks.dll".
Task "FixXFCoreAssembly"
  Generating backcompat code for #2835
    already executed
Done executing task "FixXFCoreAssembly" -- FAILED.
Done building target "XFCorePostProcessor" in project "Xamarin.Forms.Core.csproj" -- FAILED.

If you run msbuild Xamarin.Forms.sln /p:CreateAllAndroidTargets=true again then it works

Expected Behavior

Should only have to run msbuild once

Actual Behavior

Have to run it twice because the first time fails

Basic Information

  • Version with issue: 3.5.0
  • Last known good version: earlier version of 3.5.0
@pauldipietro pauldipietro added this to New in Triage Dec 4, 2018
@StephaneDelcroix StephaneDelcroix added the t/housekeeping ♻︎ Internal only changes, won't be included in release notes label Dec 4, 2018
@StephaneDelcroix
Copy link
Member

StephaneDelcroix commented Dec 4, 2018

The modified task return failure if it was already executed, maybe it should not.
Some remarks:

@PureWeen PureWeen closed this as completed Dec 4, 2018
Triage automation moved this from New to Closed Dec 4, 2018
@samhouts samhouts added this to In Progress in v3.5.0 Dec 4, 2018
@samhouts samhouts moved this from In Progress to Done in v3.5.0 Dec 4, 2018
@samhouts samhouts removed this from Closed in Triage Dec 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
e/1 🕐 1 t/housekeeping ♻︎ Internal only changes, won't be included in release notes
Projects
No open projects
v3.5.0
  
Done
Development

No branches or pull requests

2 participants