-
Notifications
You must be signed in to change notification settings - Fork 519
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
"No C# compiler has been specified" trying to compile iOS Bindings library #21030
Comments
Can you share it using Dropbox or a similar file-sharing service? |
Much smaller when recorded on the small repro than against the full solution. I have pasted the contents into the original comment. Alternatively I can add a Dropbox link |
Can you attach it as a file instead? It's not a text file, so it doesn't paste correctly. |
SpirometrySmartSdk.Touch.Bindings_Debug_AnyCPU_Build_2024-08-14T11_32_14.3347998+01_00.binlog.dmp Renamed as binlog extension not supported as attachment |
The stable version of 17.11 was released a couple of days ago, can you try that and see if you can still reproduce the problem? If so, please get an updated binlog. |
Updated to stable 17.11 and the bindings project now builds, thanks. However I still have the issue as detailed in stack overflow that means the Bindings project, when built as part of the wider solution shows no exported types until I Unload the bindings project in VS. Excerpt from SO comment thread and still an approach I had to take just now with 17.11 stable
From Patrick Long
From OP
From Patrick Long
From Patrick Long Should I log this as a seperate issue here or as "Feedback" for Visual Studio? |
That's great, I'll close this then. Thanks for letting us know!
This is a known issue I'm working on fixing, and will hopefully finish for .NET 9. |
Apple platform
iOS
Framework version
net8.0-*
Affected platform version
VS2022 Version 17.11.0 Preview 6.0
Description
Description
This has been raised before but was fixed with a VS update. Doesn't fix for me, I am running VS 17.11.0 Preview 6.0.
If I try and compile my ios bindings library I get the error
From 1>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8053\tools\msbuild\iOS\Xamarin.Shared.targets(1746,3):
The CSProj looks like this
I have an existing one in a live Xamarin Forms branch but I am trying to migrate to MAUI. I have had previous issues with this bindings library as discussed here, See comment thread
Steps to Reproduce
The 3rd party SDK is I am trying to create bindings for is not public so I do have an Repo that shows the problem but because the SDK is private the Repo is Private. If the owners of this repo are happy to help I can invite you to the repo
Did you find any workaround?
No. I've had previous issues trying to create the bindings library that I was ablke to workaround. These are discussed in the referenced stackoverflow article but this is a different issue
Build logs
The text was updated successfully, but these errors were encountered: