Xamarin Studio: rebuild project error with error: parameter "DebugType" is not supported by the task "XamlCTask"

I managed to rebuild the project by deleting the line DebugType = "$(DebugType)"in the xml file below. What makes this line really and why it can fix my problem. I have an error because I am pulling new code from the source tree.

<Target Name="XamlC">
    <XamlCTask
        Assembly = "$(IntermediateOutputPath)$(TargetFileName)"
        ReferencePath = "@(ReferencePath)"
        Verbosity = "2"
        OptimizeIL = "true"
        DebugSymbols = "$(DebugSymbols)"
        />
</Target>
+6
source share
2 answers

I solved this problem by simply restarting Visual Studio and rebuilding the solution.

I did nothing and the project worked.

Following this thought, in your case, you must restart Xamarin Studio.

+6
source

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


All Articles