Skip to content
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

'MarshalInterface<IStringable>' does not contain a definition for 'CopyAbiArray' #352

Closed
ujjwalchadha opened this issue Jul 20, 2020 · 0 comments · Fixed by #357
Closed
Assignees
Labels
bug Something isn't working fixed Issue has been fixed in an upcoming or existing release

Comments

@ujjwalchadha
Copy link
Contributor

Looks like this PR introduced the scenario we should probably be handling but aren't: https://github.com/microsoft/TestWinRT/pull/29/files specifically

delegate Windows.Foundation.IStringable[] Array16Handler(Windows.Foundation.IStringable[] a, ref Windows.Foundation.IStringable[] b, out Windows.Foundation.IStringable[] c);

Trying to build the project gives the following error(s):

"C:\Users\ujchadha\source\repos\CsWinRT\cswinrt.sln" (default target) (1) ->
"C:\Users\ujchadha\source\repos\CsWinRT\UnitTest\UnitTest.csproj" (default target) (11) ->
"C:\Users\ujchadha\source\repos\CsWinRT\UnitTest\UnitTest.csproj" (Build target) (11:2) ->
"C:\Users\ujchadha\source\repos\CsWinRT\Projections\Test\Test.csproj" (default target) (14:2) ->
(CoreCompile target) ->
  Generated Files\TestComponent.cs(1380,78): error CS0117: 'MarshalInterface<IStringable>' does not contain a definition for 'CopyAbiArray' [C:\Users\
ujchadha\source\repos\CsWinRT\Projections\Test\Test.csproj]
  Generated Files\TestComponent.cs(7109,74): error CS0117: 'MarshalInterface<IStringable>' does not contain a definition for 'CopyAbiArray' [C:\Users\
ujchadha\source\repos\CsWinRT\Projections\Test\Test.csproj]


"C:\Users\ujchadha\source\repos\CsWinRT\cswinrt.sln" (default target) (1) ->
"C:\Users\ujchadha\source\repos\CsWinRT\UnitTest\UnitTest.csproj" (default target) (11) ->
"C:\Users\ujchadha\source\repos\CsWinRT\UnitTest\UnitTest.csproj" (Build target) (11:3) ->
"C:\Users\ujchadha\source\repos\CsWinRT\Projections\Test\Test.csproj" (default target) (14:4) ->
  Generated Files\TestComponent.cs(1380,78): error CS0117: 'MarshalInterface<IStringable>' does not contain a definition for 'CopyAbiArray' [C:\Users\
ujchadha\source\repos\CsWinRT\Projections\Test\Test.csproj]
  Generated Files\TestComponent.cs(7109,74): error CS0117: 'MarshalInterface<IStringable>' does not contain a definition for 'CopyAbiArray' [C:\Users\
ujchadha\source\repos\CsWinRT\Projections\Test\Test.csproj]
@manodasanW manodasanW added the bug Something isn't working label Jul 21, 2020
@manodasanW manodasanW self-assigned this Jul 29, 2020
@angelazhangmsft angelazhangmsft added the fixed Issue has been fixed in an upcoming or existing release label May 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed Issue has been fixed in an upcoming or existing release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants