KEMBAR78
Binding projects don't work properly when used as project references · Issue #10148 · dotnet/macios · GitHub
Skip to content

Binding projects don't work properly when used as project references #10148

@rolfbjarne

Description

@rolfbjarne

Repro:

  • Open tests/tests.sln in VSMac.
  • Build the framework-test project.
  • Open the FrameworkTests.cs file.

Any API used from the bindings-framework-test project are squiggly red, and intellisense doesn't work:

Screen Shot 2020-11-24 at 21 36 47

This is something we have to fix in our msbuild logic somewhere.

Note that building the solution actually works, this just affects editing experience in the IDE (intellisense doesn't work).

A potential workaround is to build the binding project separately, and then just reference the binding assembly (.dll) in the main project instead.

Metadata

Metadata

Assignees

Labels

binding-projectsIssue or PR that affects binding projectsbugIf an issue is a bug or a pull request a bug fixiOSIssues affecting iOSmacOSIssues affecting macOS

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions