1

Closed

Incorrect encoding in csdef after automatically adding a Python role

description

PTVS RC build - 20807.00
Azure SDK 2.4

To repro:
  • Create an Azure Cloud Service project
  • Add a worker role or a web role in the project wizard
  • F5 to trigger a build
Result:
  • build error in ServiceDefinition.csdef: The XML specification is not valid: There is no Unicode byte order mark. Cannot switch to Unicode.
  • Double clicking to open the file yielded additional two errors:
    • Invalid token 'Text' at root level of document
    • Unexpected XML declaration. The XML declaration must be the first node in the document and no white space characters are allowed to appear before it.
Closed Sep 5 at 8:55 PM by jinglou
Verified the fix on build 20904.03. Closing.

comments