Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article describes the MSB3022 error code.
Message text
MSB3022: Both 'value' and 'value' were specified as input parameters in the project file. Please choose one or the other.
Description
The Copy
task can be used in one of two ways. You can specify a list that contains the destination path for each file in the source list, or you can specify a destination directory. This error occurs if you specify both a list of files and a directory.
Resolution
If you control the invocation of the Copy
task, choose the most appropriate method of specifying the destination files, and remove the other parameter.
See Copy task.
Applies to
All versions of MSBuild