I have a Solution
containing 2 Project
s, one containing Resource
s & Class
s, and the other is a .NET for Android app (which references the first). The first Project
compiles with no problem, but the second seems unable to find Resource
s located in the first Project
. The second Project
is able to access the Class
s & method(s) with no problem, just not the Resource
s. Both Project
s are able to access their own Resource
s with no problem, so the Resource
s are obviously being generated. Here are some of the errors generated by the second Project
:
APT2260 resource style/BasicEditTextStyle (aka com.companyname.ScorePad:style/BasicEditTextStyle) not found. ScorePad C:Program FilesdotnetpacksMicrosoft.Android.Sdk.Windows35.0.7toolsXamarin.Android.Aapt2.targets
CS0117 'ResourceConstant.Color' does not contain a definition for 'Transparent' ScorePad D:NetForAndroid_ExperimentalScorePadPointsAdapter.cs
APT2260 resource color/Gray (aka com.companyname.ScorePad:color/Gray) not found. ScorePad D:NetForAndroid_ExperimentalScorePadResourcesvaluesstyles.xml
APT2062 failed linking references. ScorePad C:Program FilesdotnetpacksMicrosoft.Android.Sdk.Windows35.0.7toolsXamarin.Android.Aapt2.targets
Note that the Project
listed in all of these errors is “ScorePad” (the project that is an app), even though the Resource
s are located in the other Project
. I don’t know if it is related or not, but I also receive the following error:
CS8700 Multiple analyzer config files cannot be in the same directory ('D:NetForAndroidAppExtras'). NetForAndroidAppExtras D:NetForAndroidAppExtrasCSC
Note that the Project
listed in this error is “NetForAndroidAppExtras” (the project containing the Resources). Could this be related to the problem? Why is my app Project
able to find the Class
s, but not the Resource
s? Thanks!