I’m trying to deploy a NET8
MAUI
application from Visual Studio 2022 from my Windows laptop but I get always the error
error MT1045: Failed to execute ‘devicectl’: ‘devicectl -j /var/folders/dm/bwmxpbzn6bvdsyy73c_b453w0000gn/T/tmpBkAavG.tmp device install app –device “Enrico???s iPhone” /Users/enrico/Library/Caches/Xamarin/mtbs/builds/LanguageInUse/1fa03704bb15e35c6f47a701d9d92131e3e0740198296a93338bb3c829bc9cf7/bin/Debug/net8.0-ios/ios-arm64/device-builds/iphone15.2-17.3.1/LanguageInUse.app’ returned the exit code 1
So, I thought to install Visual Studio Code on my iMac and deploy the application from it. I installed all the recommended packages in VSCode
When I load the MAUI project, I get those errors
NET MAUI SDK: not found. Please check the .NET MAUI output window for more info.
Failed to restore solution. Source C# Dev Kit
How can I fix those issues?