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

[Bug] The "XamlGTask" task could not be initialized with its input parameters. #6466

Open
@mattleibow

Description

@mattleibow

Description

This appears to be the same issue as #2975

The "References" parameter is not supported by the "XamlGTask" task.
The "XamlGTask" task could not be initialized with its input parameters.

I believe it has to do with the mis-matching version of Xamarin.Forms used by projects. I am using Xamarin.Forms 4.0 and I depend on SkiaSharp.Views.Forms, which depends on 3.3.

This works on Windows, see the PR in the links.

Steps to Reproduce

  1. Create a new forms project that uses forms 4
  2. Create a library project that uses skiasharp.views.forms 1.68.0
  3. Add a reference from the sample netstandard to the new library
  4. Observe error
  5. Install forms into the library
  6. Observe success

Observe issue.

Expected Behavior

The project should compile, regardless of the dependency of SkiaSharp.

Actual Behavior

Somehow something is getting mixed up and cont compiling.

Basic Information

  • Version with issue:
  • Last known good version:
  • IDE:
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP:
  • Android Support Library Version:
  • NuGet Packages:
  • Affected Devices:

Screenshots

Reproduction Link

Example project: Archive.zip

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions