Error compiling project

I get this error every time I try to compile my program.

Some project functions, such as a full analysis of solutions for a failed project and projects that depend on it, were disabled.

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

The XamlCTask task cannot be initialized using the Parameters input.

This is an Android project on Xamarin.

Thanks to everyone in advance.

+5
source share
1 answer

This happened to me when I had two instances of VS 2017. The first instance had a default Xamarin project with the old Nuget for Xamarin. Debug debugging on the Mac build server.

Then a second VS instance was launched with the Xamarin project on the latest Nuget for Xamarin. Both instances were connected to the MAC build server. When I tried to build, I would get this error.

Stopped both VS instances and started only one. I uploaded my project using the latest Xamarin Nuget - now everything builds OK.

+3
source

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


All Articles