Connection failed from Visual Studio 2022 (MAUI, Xamarin) to macOS - visual-studio

I updated macos to version 13 Ventura. I'm developing apps using Xamarin/MAUI on Visual Studio on Windows. Access to macOS over the network is no longer possible. Error message: Unable to connect to SSH using the SSH keys. I have enabled remote access to macOS.

Please ne noted that macOS 13 (Ventura) ships with OpenSSH_9.0p1.
You can try to edit /etc/ssh/sshd_config and save it.
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
And then restart the Mac and Visual Studio.

This was an bug on Visual Studio 17.3.4 (see https://developercommunity.visualstudio.com/t/macOS-Ventura-130-Beta---Impossible-to/10163760?q=%5BFixed+In%3A+Visual+Studio+2022+version+17.4%5D) that is fixed on 17.4.0, so update to Visual Studio 17.4.0 and the error is gone.

Related

cannot install github copilot on visual studio 2022

Like the title says. I cannot install github copilot on visual studio 2022 version 17.4.4 (latest)
i am on a arm64 windows 11 parallels virtual machine on a macbook pro with m1 chip
I cannot find the extension in the "manage extensions" window and when i try to manually install the extension from the website it just fails installing. What am i missing?

Visual Studio 2022 not showing WSL targets for CMake project

Windows 11. I've created a CMake (I think this only works for CMake?) project in Visual Studio 2022:
and i've set-up WSL with Ubuntu installed:
However Visual Studio 2022 only lists Local Machine:
How do I get it to list Ubuntu?
UPDATE
Found a similar question here:
Visual Studio 2022 not list WSL as an option in Target System
A suggestion was to install the Linux and C++ package. I did this, it added "manage connections" but when i click that I get:

Xcode couldn't be found at /Applications/Xcode.app

I get Xcode couldn't be found at /Applications/Xcode.app when I try to run the sample single view app from Visual Studio 2019.
Do I have to install XCode on the windows machine I am using or the Mac that is building the code?
I don't have visual studio on the Mac and was hoping that I wouldn't have to install it. Am I wrong?
Yes, you need to install VS and XCode on the Mac. This is clearly covered in the docs
Set up Windows (Install Visual Studio 2019)
Set up Mac (Install Xcode and Visual Studio for Mac)
Pair to Mac (Connect Visual Studio 2019 to the Mac)

DEP0001: Unexpected Error: SmartDeviceException - Class not registered [0x80131500]

When attempting to deploy ARM to windows phone device via USB in
Visual Studio 2017 15.5.2 (Xamarin UWP/Android App) I am getting this error:
DEP0001: Unexpected Error: SmartDeviceException - Class not registered [0x80131500]
After a clean install of Windows 16299 I continue to get the error, even with a blank app. Please Advise.
I had this issue with Visual Studio 2017 15.5.6. Solved with:
regsvr32 "C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x86\SirepClient.dll"
from admin command prompt.
This problem does not happen on Visual Studio 2017 Version 15.4.5
(File Version 15.4.27004.2010).
This version was tested on a clean install of Windows 16299 with a
blank app and also a working project.
Direct deploy of ARM to Device via USB was successful without issues.
I will continue to use 15.4.5 until the problem with 15.5.2 is resolved.
12/20/2017 EDIT:
as of this date, in an update from 15.4.5 to 15.5.2 the problem has been fixed.

Can't connect VS2017 RC to mac agent

I had a configuration where VS 2015 was successfully connecting with Xamarin Mac Agent on same network.
I upgraded to VS 2017 RC & now the VS fails connecting to xamarin mac agent with error: "
Couldn't connect to 'your-mac-name' Please try again
Nothing else in the configuration has changed.
Had to upgrade the Mac to sierra, xcode to latest build available & also install latest versions of Xamarin.iOS for VS on Windows then it started connecting to mac again.

Resources