-
Notifications
You must be signed in to change notification settings - Fork 129
Description
Type of issue
Code doesn't work
Description
I'm following the instructions here: Getting Started with NLI feedback here]. When I issue the dotnet build command at \Maui.NativeLibraryInterop\template\macios\NewBinding.MaciOS.Binding, building the dll succeeds but I'm getting the following warning:
Build succeeded with 1 warning(s) in 2.0s
PS C:\Users\pcullen\Source\Repos\Maui.NativeLibraryInterop\template\macios\NewBinding.MaciOS.Binding> dotnet build
Restore complete (0.6s)
NewBinding.MaciOS.Binding net9.0-maccatalyst succeeded with 1 warning(s) (0.7s) → bin\Debug\net9.0-maccatalyst\NewBinding.MaciOS.Binding.dll
C:\Program Files\dotnet\packs\Microsoft.MacCatalyst.Sdk.net9.0_18.1\18.1.9163\tools\msbuild\iOS\Xamarin.Shared.targets(1817,3): warning : It's currently not supported to build a binding project from Windows unless a connection to a Mac is available.
NewBinding.MaciOS.Binding net9.0-ios succeeded (0.8s) → bin\Debug\net9.0-ios\NewBinding.MaciOS.Binding.dll
But I am definitely paired to my Mac and it has Mono installed. Visual Studio is telling me I'm paired. I tried turning off wifi and just used an ethernet connection but that didn't matter.
I'm using Visual Studio 17.12.4. On the mac, the macos is Sequoia 15.3. All users have permission to remote. The latest version of Mono 6.12.0.200 is installed.
Page URL
https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/native-library-interop/get-started
Content source URL
Document Version Independent Id
f4a339f5-5d24-27c9-45da-0fe287f19392
Article author
Metadata
- ID: f4a339f5-5d24-27c9-45da-0fe287f19392
- Service: dotnet-communitytoolkit
- Sub-service: dotnet-maui-community-toolkit