-
Notifications
You must be signed in to change notification settings - Fork 564
Closed
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.bugComponent does not function as intended.Component does not function as intended.vs-syncFor internal use only; creates a VSTS "mirror" issue.For internal use only; creates a VSTS "mirror" issue.
Milestone
Description
Steps to Reproduce
- Somehow when testing/building Xamarin.Forms.ControlGallery.Android
- I randomly get an
APT0000error Rebuildfixes it
I am not exactly sure what step I did to cause this, the error I get is:
"C:\Users\myuser\Desktop\Git\Xamarin.Forms\Xamarin.Forms.ControlGallery.Android\Xamarin.Forms.ControlGallery.Android.csproj" (default target) (1) ->
(_UpdateAndroidResgen target) ->
Resources\layout\NativeAndroidCell.axml(3): error APT0000: No resource found that matches the given name (at 'background' with value '@drawable/CustomSelector'). [C:\Users\myuser\Desktop\Git\Xamarin.Forms\Xamarin.Forms.ControlGallery.Android\Xamarin
.Forms.ControlGallery.Android.csproj]
Resources\layout\NativeAndroidListViewCell.axml(3): error APT0000: No resource found that matches the given name (at 'background' with value '@drawable/CustomSelector2'). [C:\Users\myuser\Desktop\Git\Xamarin.Forms\Xamarin.Forms.ControlGallery.Androi
d\Xamarin.Forms.ControlGallery.Android.csproj]
7 Warning(s)
2 Error(s)
It could be related to opening the solution in VS for Windows?
In obj\Debug\res I see both customselector.xml and customselector2.xml.
Expected Behavior
I should not have to Rebuild here, this seems to be a DeleteBinObj issue.
Actual Behavior
I have to Rebuild for the project to build.
Version Information
I was using xamarin-android/master as of: 3558fd2
Log File
I zipped up the project, obj, bin, and msbuild.binlog: https://www.dropbox.com/s/6l5ak1mlqybw9k5/Xamarin.Forms.ControlGallery.Android.zip?dl=0
NOTE: Github had a 10MB limit
VS bug #652878
Metadata
Metadata
Assignees
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.bugComponent does not function as intended.Component does not function as intended.vs-syncFor internal use only; creates a VSTS "mirror" issue.For internal use only; creates a VSTS "mirror" issue.