-
Notifications
You must be signed in to change notification settings - Fork 507
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
iOS Binding Library - Cannot find types declared #17541
Comments
Issue moved from dotnet/maui#13283
From @orwo1 on Sunday, February 12, 2023 12:37:29 PM More info: |
Issue moved from dotnet/maui#13283
From @orwo1 on Sunday, February 12, 2023 1:25:07 PM Using: |
Issue moved from dotnet/maui#13283
From @msftbot[bot] on Monday, February 13, 2023 3:09:43 PM Hi @orwo1. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Issue moved from dotnet/maui#13283
From @orwo1 on Tuesday, February 14, 2023 6:51:16 AM @jsuarezruiz Hi |
Hi @PureWeen. We have added the "need-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Hi @rolfbjarne |
Hi @PureWeen. We have added the "need-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Hi @rolfbjarne |
I'm not sure I understand what issue you're talking about? |
Closing as duplicate of #10148. |
The issue of a project reference not working the same way a dll file reference works (or vice versa). |
Yes, it's filed here: #10148. |
Oh ok thanks for the help! |
Issue moved from dotnet/maui#13283
From @orwo1 on Sunday, February 12, 2023 12:35:20 PM
Description
I've tried making an iOS binding library in VS for Mac.
I used Sharpie to create both definitions files, fixed what was wrong in them( NSArray -> T[] ).
The project compiles.
I reference it in MAUI app and MAUI class library with condition:
<ItemGroup Condition="$(TargetFramework.Contains('-ios')) != false "> <ProjectReference Include="..\iOSBinding1\iOSBinding1.csproj" /> </ItemGroup>
I Cannot access any type declared in the binding library, in my app/class library.
The Android Binding Library works fine under Visual Studio for Windows,
Under the reverse condition in the csproj.
Steps to Reproduce
ApiDefinition.cs
StructsAndEnums.cs
Link to public reproduction project repository
NA
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 15, iOS 15.5, iOS 16.1
Did you find any workaround?
No
Relevant log output
No response
The text was updated successfully, but these errors were encountered: