Share via


HXC6036: The copy destination directory is too long; the string has been truncated to characters.

Given when the value of the CopyDestDir attribute for the <Sample> element of a sample definition file exceeds 256 characters. The compiler automatically truncates all remaining characters. This value specifies the relative path to the sample on the user's computer. At run-time it comprises the second half of the path specified in the SampleStagingDir attribute of the <CompilerOptions> tag in the collection definition (.HxC) file.

To correct this warning

  • Edit the value of CopyDestDir to be 256 characters or fewer.

See Also

Concepts

Sample Definition (.Hxe) File

Collection Definition (.Hxc) File

Reference

CopyDestDir Attribute