Skip to content

Commit df5a3f9

Browse files
committed
Merge pull request #939 from zooba/v2.2.1
Backport UWP fix
2 parents ba38a7c + 41e3e60 commit df5a3f9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Python/Product/Uwp/Project/PythonUwpProjectConfig.cs

+6
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ private async System.Threading.Tasks.Task RemoteProcessAttachAsync(string remote
100100
const int attachRetryLimit = 10;
101101
int attachRetryCount = 0;
102102

103+
// Remove the port number if exist
104+
int index = remoteMachine.IndexOf(':');
105+
if (index != -1) {
106+
remoteMachine = remoteMachine.Substring(0, index);
107+
}
108+
103109
var qualifierString = string.Format(
104110
"tcp://{0}@{1}:{2}?{3}={4}&{5}={6}&{7}={8}",
105111
secret,

0 commit comments

Comments
 (0)