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

[AAPT2] Encountering new error CS0117: 'Resource' does not contain a definition for 'Foo' when enabling aapt2 #1983

Closed
pjcollins opened this issue Jul 20, 2018 · 3 comments
Assignees
Labels
Area: App+Library Build Issues when building Library projects or Application projects.

Comments

@pjcollins
Copy link
Member

I'm encountering a new class of error that occur when enabling aapt2 that doesn't appear to be a direct result of an aapt2 invocation.

Steps to Reproduce

  1. Build the following project(s) with aapt2 enabled:

Expected Behavior

Projects compile with Aapt2 enabled.

Actual Behavior

MainActivity.cs(29,74): error CS0117: 'Resource' does not contain a definition for 'Array' [/Users/xamarinqa/agent/_work/r1/a/monodroid-samples/ApplicationFundamentals/FingerPaint/FingerPaint/FingerPaint.csproj]
MainActivity.cs(37,80): error CS0117: 'Resource' does not contain a definition for 'Array' [/Users/xamarinqa/agent/_work/r1/a/monodroid-samples/ApplicationFundamentals/FingerPaint/FingerPaint/FingerPaint.csproj]
DictionaryDatabase.cs(138,59): error CS0117: 'Resource' does not contain a definition for 'Raw' [/Users/xamarinqa/agent/_work/r1/a/monodroid-samples/SearchableDictionary/SearchableDictionary.csproj]

Version Information

XA version: 9.0.0.17 (HEAD/dfb09269d)

Log File

http://xqa.blob.core.windows.net/gist/log-7b4e8e9639004445816d5920c549229b.txt
http://xqa.blob.core.windows.net/gist/log-fb8b38fbbb894b4ba26c074dc86df622.txt

@pjcollins pjcollins added the Area: App+Library Build Issues when building Library projects or Application projects. label Jul 20, 2018
@dellis1972
Copy link
Contributor

Related PR #2014

@dellis1972
Copy link
Contributor

Fixed Via #2014

@dellis1972
Copy link
Contributor

Related PR #2045

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area: App+Library Build Issues when building Library projects or Application projects.
Projects
None yet
Development

No branches or pull requests

2 participants