This project has moved and is read-only. For the latest updates, please go here.


Incorrect encoding in csdef after automatically adding a Python role


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
  • 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, 2014 at 9:55 PM by jinglou
Verified the fix on build 20904.03. Closing.