K
K
KamAKAM2020-06-08 17:09:07
C++ / C#
KamAKAM, 2020-06-08 17:09:07

Unable to load task 'XamlCTask' from assembly "........"; Failed to load file or assembly 'Xamarin.Forms.Build.Tasks'?

5ede446baba8a982015173.jpeg
I sent my application by mail to another person. when he runs the application these errors come out. What can be wrong?
first error 1) The XamlCTask task was not declared correctly, was used incorrectly, or an error occurred while building it. Check the spelling of the task name of the assembly name; second error 2) unable to load XamlCTask task from assembly "D:\Syst\Desktop\project\winforms\packages\Xamarin.Forms.4.6.0.847.\build\net46\Xamarin.Forms.Build.Tasks.dll". Failed to load file or assembly 'Xamarin.Forms.Build.Tasks, Version=2.0.0.0, Culture=neutral, PublicKeyToken=798c2ba514f889d3' or one of its dependencies. The operation is not supported. (Exception from HRESULT: 0x80131515)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2020-06-09
@KamAKAM

Try this solution.
And advice for the future. Attach a text output to the screenshot. In addition, use only the English version of the studio and preferably English for the interface. This allows you to search more specifically, yet most programmers write in English.
f8e14502e9.jpg
https://stackoverflow.com/questions/50249343/error...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question