When building a project in VS prior to publishing, I can select to enable RDP.
Looking at the PS cmdlets, it’s a bit confusing to understand whether I can decide to NOT set these options when packaging the deployment, or if I have to still do this within the packaging.
I’ve created my service (empty) and have uploaded a .pfx file into it from PS. According to what I read, the next thing I need to do is call:
$secure_string_pwd = convertto-securestring $rdpPassword -asplaintext -force
Enable-AzureServiceProjectRemoteDesktop -Username $rdpUsername -Password $secure_string_pwd
Whenever I execute this though, it complains that it can’t find the .csdef file. When I put that file in the directory, then it says it can’t find the ServiceConfiguration.cscfg file, when in fact, the file should be named ServiceConfiguration.Cloud.cscfg.
Maybe I’m following the wrong steps and calling the wrong cmdlets.
How would you:
- Enable RDP.
- Deploy the new service.
STom