Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to config Remote Mac connection for build and debug on VSCode #143

Closed
sonnguyent1 opened this issue Apr 28, 2021 · 2 comments
Closed

Comments

@sonnguyent1
Copy link

I am using command :
dotnet build -t:Run -f net6.0-ios -v 5
the build failed with the output log:


 _SayHello:
         Executing SayHello Task to establish a connection to a Remote Server. 
                                Properties:
                                        SessionId=7cad9bf7ca52f5b0a773315268fdac9a558a08fdad80d446fc993167d3ae587a,
                                        ServerPort=,
                                        ServerAddress=,
                                        ServerUser=,
                                        ServerPassword=,
                                        SSHKey=,
                                        SSHPassPhrase=,
                                        AppName=FirstMAUIApp,
                                        VisualStudioProcessId=,
                                        ContinueOnDisconnected=true
         Connection Information for App 'FirstMAUIApp'. Address: , Port: 0, User: 

and I guess I will have to configure the ssh connection.

@jonathanpeppers
Copy link
Member

@emaf maybe you could help with this?

I've gotten this working using Visual Studio, but there are probably some MSBuild properties you can pass to do this command-line or in VS Code.

@emaf
Copy link
Contributor

emaf commented Apr 29, 2021

@sonnguyent1 Adding -p:ServerAddress=<Mac IP address> -p:ServerUser=<your user name on that Mac> should be enough if you already connected at least once from VS, otherwise you'll also need to set -p:ServerPassword=<your Mac's password>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants