{"action":"created","issue":{"url":"https://api.github.com/repos/Redth/ZXing.Net.Mobile/issues/344","repository_url":"https://api.github.com/repos/Redth/ZXing.Net.Mobile","labels_url":"https://api.github.com/repos/Redth/ZXing.Net.Mobile/issues/344/labels{/name}","comments_url":"https://api.github.com/repos/Redth/ZXing.Net.Mobile/issues/344/comments","events_url":"https://api.github.com/repos/Redth/ZXing.Net.Mobile/issues/344/events","html_url":"https://github.com/Redth/ZXing.Net.Mobile/issues/344","id":159201648,"number":344,"title":"Trying to add ZXing to Xamarin Forms Resource Designer Errors","user":{"login":"Bobisback","id":2651822,"avatar_url":"https://avatars.githubusercontent.com/u/2651822?v=3","gravatar_id":"","url":"https://api.github.com/users/Bobisback","html_url":"https://github.com/Bobisback","followers_url":"https://api.github.com/users/Bobisback/followers","following_url":"https://api.github.com/users/Bobisback/following{/other_user}","gists_url":"https://api.github.com/users/Bobisback/gists{/gist_id}","starred_url":"https://api.github.com/users/Bobisback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bobisback/subscriptions","organizations_url":"https://api.github.com/users/Bobisback/orgs","repos_url":"https://api.github.com/users/Bobisback/repos","events_url":"https://api.github.com/users/Bobisback/events{/privacy}","received_events_url":"https://api.github.com/users/Bobisback/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-06-08T15:55:19Z","updated_at":"2016-06-10T13:15:24Z","closed_at":null,"body":"For some reason in my Android project when i added this component and nuget package to my PCL I am getting 151 errors similar to the below errors when I compile.\r\n\r\nSeverity\tCode\tDescription\tProject\tFile\tLine\tSuppression State\r\nError\t\t'Resource.Attribute' does not contain a definition for 'mediaRouteSettingsDrawable'\tElead.Mobile.Platform.Android\tC:\\git\\elead\\CRMM\\src\\ELead.Mobile.Platform.Android\\Resources\\Resource.Designer.cs\t221\t\r\nError\t\t'Resource.Color' does not contain a definition for 'design_textinput_error_color'\tElead.Mobile.Platform.Android\tC:\\git\\elead\\CRMM\\src\\ELead.Mobile.Platform.Android\\Resources\\Resource.Designer.cs\t371\t\r\nError\t\t'Resource.Dimension' does not contain a definition for 'design_fab_content_size'\tElead.Mobile.Platform.Android\tC:\\git\\elead\\CRMM\\src\\ELead.Mobile.Platform.Android\\Resources\\Resource.Designer.cs\t479\t\r\nError\t\t'Resource.Dimension' does not contain a definition for 'design_navigation_padding_top_default'\tElead.Mobile.Platform.Android\tC:\\git\\elead\\CRMM\\src\\ELead.Mobile.Platform.Android\\Resources\\Resource.Designer.cs\t489\t\r\nError\t\t'Resource.Dimension' does not contain a definition for 'design_tab_min_width'\tElead.Mobile.Platform.Android\tC:\\git\\elead\\CRMM\\src\\ELead.Mobile.Platform.Android\\Resources\\Resource.Designer.cs\t502\t\r\n\r\n\r\nAny ideas? I am guessing there is a android target mismatch. Or something similar.\r\n\r\nThanks,\r\nBob"},"comment":{"url":"https://api.github.com/repos/Redth/ZXing.Net.Mobile/issues/comments/225178795","html_url":"https://github.com/Redth/ZXing.Net.Mobile/issues/344#issuecomment-225178795","issue_url":"https://api.github.com/repos/Redth/ZXing.Net.Mobile/issues/344","id":225178795,"user":{"login":"slvrbllt","id":19857715,"avatar_url":"https://avatars.githubusercontent.com/u/19857715?v=3","gravatar_id":"","url":"https://api.github.com/users/slvrbllt","html_url":"https://github.com/slvrbllt","followers_url":"https://api.github.com/users/slvrbllt/followers","following_url":"https://api.github.com/users/slvrbllt/following{/other_user}","gists_url":"https://api.github.com/users/slvrbllt/gists{/gist_id}","starred_url":"https://api.github.com/users/slvrbllt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slvrbllt/subscriptions","organizations_url":"https://api.github.com/users/slvrbllt/orgs","repos_url":"https://api.github.com/users/slvrbllt/repos","events_url":"https://api.github.com/users/slvrbllt/events{/privacy}","received_events_url":"https://api.github.com/users/slvrbllt/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T13:15:24Z","updated_at":"2016-06-10T13:15:24Z","body":"No need to go with the Resource.Designer.cs. Just add the missing entries into partial classes, like this:\r\n`\r\nusing System;\r\nnamespace MyProject.Droid\r\n{\r\n\tpublic partial class Resource\r\n\t{\r\n\t\tpublic partial class Attribute\r\n\t\t{\r\n\t\t\tpublic const int mediaRouteSettingsDrawable = -2;\r\n\t\t}\r\n\t\tpublic partial class Color\r\n\t\t{\r\n\t\t\tpublic const int design_textinput_error_color = -1;\r\n\t\t}\r\n\r\n\t\tpublic partial class Dimension\r\n\t\t{\r\n\t\t\tpublic const int design_fab_content_size = -1;\r\n\t\t\tpublic const int design_navigation_padding_top_default = -1;\r\n\r\n\t\t\tpublic const int design_tab_min_width = -1;\r\n\t\t\tpublic const int dialog_fixed_height_major = -1;\r\n\t\t\tpublic const int dialog_fixed_height_minor = -1;\r\n\t\t\tpublic const int dialog_fixed_width_major = -1;\r\n\t\t\tpublic const int dialog_fixed_width_minor = -1;\r\n\t\t\tpublic const int mr_media_route_controller_art_max_height = -1;\r\n\t\t}\r\n\r\n\t\tpublic partial class Drawable\r\n\t\t{\r\n\t\t\tpublic const int ic_setting_dark = -1;\r\n\t\t\tpublic const int ic_setting_light = -1;\r\n\t\t\tpublic const int mr_ic_settings_dark = -1;\r\n\t\t\tpublic const int mr_ic_settings_light = -1;\r\n\t\t}\r\n\r\n\t\tpublic partial class Id\r\n\t\t{\r\n\t\t\tpublic const int art = -1;\r\n\t\t\tpublic const int buttons = -1;\r\n\t\t\tpublic const int default_control_frame = -1;\r\n\t\t\tpublic const int media_route_control_frame = -1;\r\n\t\t\tpublic const int media_route_list = -1;\r\n\t\t\tpublic const int media_route_volume_layout = -1;\r\n\t\t\tpublic const int media_route_volume_slider = -1;\r\n\t\t\tpublic const int play_pause = -1;\r\n\t\t\tpublic const int route_name = -1;\r\n\t\t\tpublic const int settings = -1;\r\n\r\n\t\t\tpublic const int stop = -1;\r\n\t\t\tpublic const int subtitle = -1;\r\n\t\t\tpublic const int title_bar = -1;\r\n\t\t\tpublic const int disconnect = -1;\r\n\t\t}\r\n\r\n\t\tpublic partial class Layout\r\n\t\t{\r\n\t\t\tpublic const int mr_media_route_chooser_dialog = -1;\r\n\t\t\tpublic const int mr_media_route_controller_material_dialog_b = -1;\r\n\t\t\tpublic const int mr_media_route_list_item = -1;\r\n\t\t}\r\n\r\n\t\tpublic partial class String\r\n\t\t{\r\n\t\t\tpublic const int mr_media_route_chooser_dialog = -1;\r\n\t\t\tpublic const int mr_media_route_controller_material_dialog_b = -1;\r\n\t\t\tpublic const int mr_media_route_list_item = -1;\r\n\r\n\t\t\tpublic const int mr_media_route_button_content_description = -1;\r\n\t\t\tpublic const int mr_media_route_chooser_searching = -1;\r\n\t\t\tpublic const int mr_media_route_chooser_title = -1;\r\n\t\t\tpublic const int mr_media_route_controller_disconnect = -1;\r\n\t\t\tpublic const int mr_media_route_controller_no_info_available = -1;\r\n\t\t\tpublic const int mr_media_route_controller_pause = -1;\r\n\t\t\tpublic const int mr_media_route_controller_play = -1;\r\n\t\t\tpublic const int mr_media_route_controller_settings_description = -1;\r\n\t\t\tpublic const int mr_media_route_controller_stop = -1;\r\n\t\t\t//public const int ApplicationName = -1;\r\n\t\t\t//public const int Hello = -1;\r\n\t\t}\r\n\r\n\t\tpublic partial class Style\r\n\t\t{\r\n\t\t\tpublic const int RtlOverlay_Widget_AppCompat_ActionButton_Overflow = -1;\r\n\r\n\t\t}\r\n\r\n\t\tpublic partial class Styleable\r\n\t\t{\r\n\t\t\tpublic const int FloatingActionButton_android_background = -1;\r\n\t\t\tpublic const int[] Theme = null;\r\n\t\t\tpublic const int Theme_actionBarDivider = -1;\r\n\t\t\tpublic const int Theme_actionBarItemBackground = -1;\r\n\t\t\tpublic const int Theme_actionBarPopupTheme = -1;\r\n\t\t\tpublic const int Theme_actionBarSize = -1;\r\n\t\t\tpublic const int Theme_actionBarSplitStyle = -1;\r\n\t\t\tpublic const int Theme_actionBarStyle = -1;\r\n\t\t\tpublic const int Theme_actionBarTabBarStyle = -1;\r\n\t\t\tpublic const int Theme_actionBarTabStyle = -1;\r\n\t\t\tpublic const int Theme_actionBarTabTextStyle = -1;\r\n\t\t\tpublic const int Theme_actionBarTheme = -1;\r\n\t\t\tpublic const int Theme_actionBarWidgetTheme = -1;\r\n\t\t\tpublic const int Theme_actionButtonStyle = -1;\r\n\t\t\tpublic const int Theme_actionDropDownStyle = -1;\r\n\t\t\tpublic const int Theme_actionMenuTextAppearance = -1;\r\n\t\t\tpublic const int Theme_actionMenuTextColor = -1;\r\n\t\t\tpublic const int Theme_actionModeBackground = -1;\r\n\t\t\tpublic const int Theme_actionModeCloseButtonStyle = -1;\r\n\t\t\tpublic const int Theme_actionModeCloseDrawable = -1;\r\n\t\t\tpublic const int Theme_actionModeCopyDrawable = -1;\r\n\t\t\tpublic const int Theme_actionModeCutDrawable = -1;\r\n\t\t\tpublic const int Theme_actionModeFindDrawable = -1;\r\n\t\t\tpublic const int Theme_actionModePasteDrawable = -1;\r\n\t\t\tpublic const int Theme_actionModePopupWindowStyle = -1;\r\n\t\t\tpublic const int Theme_actionModeSelectAllDrawable = -1;\r\n\t\t\tpublic const int Theme_actionModeShareDrawable = -1;\r\n\t\t\tpublic const int Theme_actionModeSplitBackground = -1;\r\n\t\t\tpublic const int Theme_actionModeStyle = -1;\r\n\t\t\tpublic const int Theme_actionModeWebSearchDrawable = -1;\r\n\t\t\tpublic const int Theme_actionOverflowButtonStyle = -1;\r\n\t\t\tpublic const int Theme_actionOverflowMenuStyle = -1;\r\n\t\t\tpublic const int Theme_activityChooserViewStyle = -1;\r\n\t\t\tpublic const int Theme_alertDialogButtonGroupStyle = -1;\r\n\t\t\tpublic const int Theme_alertDialogCenterButtons = -1;\r\n\t\t\tpublic const int Theme_alertDialogStyle = -1;\r\n\t\t\tpublic const int Theme_alertDialogTheme = -1;\r\n\t\t\tpublic const int Theme_android_windowAnimationStyle = -1;\r\n\t\t\tpublic const int Theme_android_windowIsFloating = -1;\r\n\t\t\tpublic const int Theme_autoCompleteTextViewStyle = -1;\r\n\t\t\tpublic const int Theme_borderlessButtonStyle = -1;\r\n\t\t\tpublic const int Theme_buttonBarButtonStyle = -1;\r\n\t\t\tpublic const int Theme_buttonBarNegativeButtonStyle = -1;\r\n\t\t\tpublic const int Theme_buttonBarNeutralButtonStyle = -1;\r\n\t\t\tpublic const int Theme_buttonBarPositiveButtonStyle = -1;\r\n\t\t\tpublic const int Theme_buttonBarStyle = -1;\r\n\t\t\tpublic const int Theme_buttonStyle = -1;\r\n\t\t\tpublic const int Theme_buttonStyleSmall = -1;\r\n\t\t\tpublic const int Theme_checkboxStyle = -1;\r\n\t\t\tpublic const int Theme_checkedTextViewStyle = -1;\r\n\t\t\tpublic const int Theme_colorAccent = -1;\r\n\t\t\tpublic const int Theme_colorButtonNormal = -1;\r\n\t\t\tpublic const int Theme_colorControlActivated = -1;\r\n\t\t\tpublic const int Theme_colorControlHighlight = -1;\r\n\t\t\tpublic const int Theme_colorControlNormal = -1;\r\n\t\t\tpublic const int Theme_colorPrimary = -1;\r\n\t\t\tpublic const int Theme_colorPrimaryDark = -1;\r\n\t\t\tpublic const int Theme_colorSwitchThumbNormal = -1;\r\n\t\t\tpublic const int Theme_controlBackground = -1;\r\n\t\t\tpublic const int Theme_dialogPreferredPadding = -1;\r\n\t\t\tpublic const int Theme_dialogTheme = -1;\r\n\t\t\tpublic const int Theme_dividerHorizontal = -1;\r\n\t\t\tpublic const int Theme_dividerVertical = -1;\r\n\t\t\tpublic const int Theme_dropDownListViewStyle = -1;\r\n\t\t\tpublic const int Theme_dropdownListPreferredItemHeight = -1;\r\n\t\t\tpublic const int Theme_editTextBackground = -1;\r\n\t\t\tpublic const int Theme_editTextColor = -1;\r\n\t\t\tpublic const int Theme_editTextStyle = -1;\r\n\t\t\tpublic const int Theme_homeAsUpIndicator = -1;\r\n\t\t\tpublic const int Theme_listChoiceBackgroundIndicator = -1;\r\n\t\t\tpublic const int Theme_listDividerAlertDialog = -1;\r\n\t\t\tpublic const int Theme_listPopupWindowStyle = -1;\r\n\t\t\tpublic const int Theme_listPreferredItemHeight = -1;\r\n\t\t\tpublic const int Theme_listPreferredItemHeightLarge = -1;\r\n\t\t\tpublic const int Theme_listPreferredItemHeightSmall = -1;\r\n\t\t\tpublic const int Theme_listPreferredItemPaddingLeft = -1;\r\n\t\t\tpublic const int Theme_listPreferredItemPaddingRight = -1;\r\n\t\t\tpublic const int Theme_panelBackground = -1;\r\n\t\t\tpublic const int Theme_panelMenuListTheme = -1;\r\n\t\t\tpublic const int Theme_panelMenuListWidth = -1;\r\n\t\t\tpublic const int Theme_popupMenuStyle = -1;\r\n\t\t\tpublic const int Theme_popupWindowStyle = -1;\r\n\t\t\tpublic const int Theme_radioButtonStyle = -1;\r\n\t\t\tpublic const int Theme_ratingBarStyle = -1;\r\n\t\t\tpublic const int Theme_searchViewStyle = -1;\r\n\t\t\tpublic const int Theme_selectableItemBackground = -1;\r\n\t\t\tpublic const int Theme_selectableItemBackgroundBorderless = -1;\r\n\t\t\tpublic const int Theme_spinnerDropDownItemStyle = -1;\r\n\t\t\tpublic const int Theme_spinnerStyle = -1;\r\n\t\t\tpublic const int Theme_switchStyle = -1;\r\n\t\t\tpublic const int Theme_textAppearanceLargePopupMenu = -1;\r\n\t\t\tpublic const int Theme_textAppearanceListItem = -1;\r\n\t\t\tpublic const int Theme_textAppearanceListItemSmall = -1;\r\n\t\t\tpublic const int Theme_textAppearanceSearchResultSubtitle = -1;\r\n\t\t\tpublic const int Theme_textAppearanceSearchResultTitle = -1;\r\n\t\t\tpublic const int Theme_textAppearanceSmallPopupMenu = -1;\r\n\t\t\tpublic const int Theme_textColorAlertDialogListItem = -1;\r\n\t\t\tpublic const int Theme_textColorSearchUrl = -1;\r\n\t\t\tpublic const int Theme_toolbarNavigationButtonStyle = -1;\r\n\t\t\tpublic const int Theme_toolbarStyle = -1;\r\n\t\t\tpublic const int Theme_windowActionBar = -1;\r\n\t\t\tpublic const int Theme_windowActionBarOverlay = -1;\r\n\t\t\tpublic const int Theme_windowActionModeOverlay = -1;\r\n\t\t\tpublic const int Theme_windowFixedHeightMajor = -1;\r\n\t\t\tpublic const int Theme_windowFixedHeightMinor = -1;\r\n\t\t\tpublic const int Theme_windowFixedWidthMajor = -1;\r\n\t\t\tpublic const int Theme_windowFixedWidthMinor = -1;\r\n\t\t\tpublic const int Theme_windowMinWidthMajor = -1;\r\n\t\t\tpublic const int Theme_windowMinWidthMinor = -1;\r\n\t\t\tpublic const int Theme_windowNoTitle = -1;\r\n\t\t}\r\n\t}\r\n}\r\n`\r\nAs soon as the problem is fixed, get rid of the file and you're fine.\r\nCheers.\r\nSilver."}}
{"actor":{"display_login":"slvrbllt"}}