I have an issue when i want to publish a project i receive the error message
"obj\debug\project.exe.config;obj\Debug\project.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".
I have searched about the issue and i found i have to uncheck "Enable ClickOnce security settings" at Properties/Security but still have the same problem cannot publish my project.. ?
screenshot
Probably the transformation file is wrong. It seems like it is trying to add multiple config files at the same time.
Have you tried to look at your transformation file? It could be helpful, if you could post the transformation file.
Also this article, seems like there is a solution here for a similar issue:
I ran into this same problem. What fixed it for me was changing the line in the transform from above
from
<AppConfigWithTargetPath Remove="app.config" />
to
<AppConfigWithTargetPath Remove="@(AppConfigWithTargetPath)"/>
The AppConfigWithTargetPath
config parameter can be found in the .csproj file.
Got the same error on my WPF project (Visual Studio 2013), no idea why. I solved it disabling the ClickOnce
security settings.
Properties
Security
tabEnable ClickOnce security settings
"I had the same problem recently, removing the tag <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
inside .csproj
solved the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With