Getting the "DebugType" parameter is not supported by the "XamlCTask" task error when creating my Xamarin ios project

I get these errors when creating my Xamarin.ios project,

The XamlCTask task cannot be initialized with its input parameters.

and

The DebugType parameter is not supported by the XamlCTask task. Verify that the parameter exists in the task, and that this is a custom property of the public instance.

How can I fix this.

+5
source share
3 answers

Open .csproj in a text editor. Then remove

<Error Condition="!Exists(... 

inside

 <Target> Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> // <Error Condition="!Exists('... // </Target> 

due to the increase of this error.

Then rebuild the project, it should work.

+1
source

I had the same error but with xamarin debugging on an Android device. Would I recommend you check out your Nuget packages? I had different versions of Xamarin.Forms that were causing conflicts. Obviously, you need to make sure that they are all on equal versions of the forms.

Check and combine Xamarin Nuget packages with the latest stable version.

+5
source

1) make sure that all your projects refer to the same version of Xamarin 2) In each project, delete the contents in the bin and obj folders 3) rebuild

0
source

Source: https://habr.com/ru/post/1269899/


All Articles