Export (0) Print
Expand All
Expand Minimize

MSBuild Error MSB3022

Both "{0}" and "{1}" were specified as input parameters in the project file. Please choose one or the other.

For the Copy task, you must specify either DestinationFiles or DestinationDirectory,but not both task attributes.

To correct this error

  • Specify either DestinationFiles or DestinationDirectory for the Copy task in the project file.

See Also

Reference

Copy Task

Concepts

MSBuild Tasks

Community Additions

ADD
Show:
© 2014 Microsoft