locked
Problems to build: error with Microsoft.Build.Framework.ITaskItem ? RRS feed

  • Question

  • User65389 posted

    Hi all

    I work with a project based on “Blank app Xamarin.Forms (Shared)” and am on the way to try ship my app to the shops (what is a pain b.t.w. :smirk:).

    By my tries, I abruptly had a new (never seen before) error-message to my iOS-project, was not able to build anymore and have lost almost a day now to fix the problem… I then have searched the internet for every peace (word) of the error-message and found a Stackoverflow message to Visual Studio (without Xamarin-Tag)

    The solution was, to uncheck the checkbox “Activate ClickOnce security settings” on the security-tab to my iOS-project.

    I never have changed anything on the security tab explicitly and also don’t see the hang-together with the error-message

    Therefore I post the error-messages here, hope this message is found and help someone… :sunglasses:

    Example error-message in German: "app.config;obj\iPhone\Debug\MatrixGuide.iOS.csproj.MatrixGuideiOSapp.exe.config" ist ein ungültiger Wert für den ConfigFile-Parameter der GenerateApplicationManifest-Aufgabe. Es können nicht mehrere Elemente an einen Parameter vom Typ "Microsoft.Build.Framework.ITaskItem" übergeben werden. C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets

    Example error-message in English:

    C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(3243,9): error MSB4094: "app.config;obj\x86\Debug\EnergyMS.csproj.EnergyMS.exe.config" is an invalid value for the "ConfigFile" parameter of the "GenerateApplicationManifest" task. Multiple items cannot be passed into a parameter of type "Microsoft.Build.Framework.ITaskItem".

    Thursday, June 25, 2015 11:09 AM

All replies

  • User367580 posted

    Did you found answer for this issue

    Wednesday, April 25, 2018 10:01 AM
  • User65389 posted

    Read my (veeeery old posting)... :wink:

    The solution was, to uncheck the checkbox “Activate ClickOnce security settings” on the security-tab to my iOS-project.

    Wednesday, April 25, 2018 10:47 AM
  • User378283 posted

    I am facing similar error while building for android-project in visual studio 2019. Also there is no checkbox “Activate ClickOnce security settings” in android project, so if anyone could help about it.

    Thursday, July 18, 2019 6:43 AM