| Index: visual_studio/NativeClientVSAddIn/create_package.py
|
| diff --git a/visual_studio/NativeClientVSAddIn/create_package.py b/visual_studio/NativeClientVSAddIn/create_package.py
|
| index b974c2edebb3a21b0a3679c5a301adfc9c1eb424..c630d2e9f67a5efb5b14155e8306df027bd3131b 100644
|
| --- a/visual_studio/NativeClientVSAddIn/create_package.py
|
| +++ b/visual_studio/NativeClientVSAddIn/create_package.py
|
| @@ -100,8 +100,8 @@ def AddVersionModifiedAddinFile(zip_file):
|
| modified_file = os.path.join(ASSEMBLY_DIRECTORY, metadata_filename)
|
|
|
| # Copy the metadata file to new location and modify the version info.
|
| - with codecs.open(ADDIN_METADATA, 'r', encoding='utf-16') as source_file:
|
| - with codecs.open(modified_file, 'w', encoding='utf-16') as dest_file:
|
| + with open(ADDIN_METADATA, 'r') as source_file:
|
| + with open(modified_file, 'w') as dest_file:
|
| for line in source_file:
|
| dest_file.write(line.replace("[REPLACE_ADDIN_VERSION]", version))
|
|
|
|
|