Different confing file cause :Multiple items cannot be passed into a parameter

  • Thread starter Thread starter wakefun
  • Start date Start date
W

wakefun

Guest
Dear all,

in one simléple tets project I have add transformation extension for visual studio in order to be handle different config file settings based on projects configurations:

Actually I get app.Debug.config, App.Test.config and App.Release.config

The issue I met is that if I compile my project ina given configuration for the first time then all goes ok without trouble.

Then if I compile it a second time and have already folders Obj\.. and Bin\.. created due to previous compile, then it fails all time with error below :

Severity Code Description Project File Line Suppression State
Error "obj\Release\DataServer.TestHost.exe.config;obj\Release\DataServer.TestHost.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". DataServer.TestHost

I need to manually deleted any existing Bin or Obj fodler before initating a new build.

Any idea what is going on and how to solve ?

I am using Visual studio 2017 (last update)

regards

Continue reading...
 
Back
Top