views:

32

answers:

1

Hi all:

I currently have a set of files which will get copied during build using MsBuild's copy task. The files were initially set to ANSI format. However the copied files turned into UTF-8 format. This caused some major problems with my build process, as I was expecting the copied files to still be in ANSI format.

I want the copied files to preserve the ANSI format. How do I go about it? I looked through msdn and couldn't find anything.

Thanks.

A: 

The files were modified by the Detokenise task before the copy, so all I had to do was to add the appropriate TextEncoding to the task and things worked. Thanks.

BeraCim