In publish, if you want to use Remote Desktop
Sometimes the "the Remote Desktop configuration was not generated by Windows azure Tools" problem occurs.
This is because we have manually modified the configuration file. However, due to CI build, the configuration file is generated according to the environment, so you must manually modify it (in fact, it is alsoProgramFile generation. To solve this problem, follow these steps:
1. Open the servicedefinition. csdef file andCodeDelete all.
<Import Modulename= "RemoteAccess" /><Import Modulename= "Remoteforwarder" />
2. Open the serviceconfiguration. cscfg file and delete all the following code.
< Setting Name = "Microsoft. windowsazure. plugins. RemoteAccess. enabled" Value = "" /> < Setting Name = "Microsoft. windowsazure. plugins. RemoteAccess. accountusername" Value = "" /> < Setting Name = "Microsoft. windowsazure. plugins. RemoteAccess. accountencryptedpassword" Value = "" /> < Setting Name = "Microsoft. windowsazure. plugins. RemoteAccess. accountexpiration" Value = "" />
certificate name =" Microsoft. windowsazure. plugins. remoteAccess. passwordencryption " thumbprint =" " thumbprintalgorithm =" sha1 " />
Note that the steps should be performed in order. Otherwise, the serviceconfiguration. cscfg file is automatically generated. Sometimes you delete the file and it is generated, which makes developers very angry.