Bug 32927 - Scandit component sample 'AndroidDemo' failing to build
Summary: Scandit component sample 'AndroidDemo' failing to build
Status: RESOLVED FIXED
Alias: None
Product: Components
Classification: Xamarin
Component: Generation ()
Version: N/A
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bill Holmes
URL:
Depends on:
Blocks:
 
Reported: 2015-08-10 16:10 UTC by Ben Beckley
Modified: 2015-12-23 22:26 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Ben Beckley 2015-08-10 16:10:07 UTC
This sample[0] is failing to build due to:

>/Users/xamarinqa/GitRepo/component-samples/1806/scandit-4.5.1/samples/AndroidDemo/AndroidDemo/AndroidDemo_original.csproj (default targets) ->
>/Library/Frameworks/Mono.framework/Versions/4.2.0/lib/mono/4.5/Microsoft.CSharp.Targets (CoreCompile target) ->
> 
>MainActivity.cs(34,51): error CS0117: `XamarinScanditSDKDemoAndroid.Resource' does not contain a definition for `Id'

This is a regression from c5sr3 as the sample built during that release. 

[0]
/component-samples/1806/scandit-4.5.1/samples/AndroidDemo/AndroidDemo/AndroidDemo_original.csproj

## Reproduction steps
1) Go to path of csproj and run the following command in terminal
>xbuild /p:Configuration=Release AndroidDemo_original.csproj
2) Observe the build failure
*Expected Result: the project builds
*Actual Results: the project fails to build due to above error

## Notes
This is failing on standard debug, debug with nofastdev, standard release, and release with all abis and bundled assemblies. The AndroidDemo.csproj (sans the '_original') also fails to build due to the same error.

## Environment
Xamarin.Android
Version: 5.1.99.548 (Enterprise Edition)
Operating System
Mac OS X 10.10.3

## Diagnostic Build Output
https://gist.github.com/BenBeckley/be176f29ae6fa0b5b5f2
Comment 1 David Humphreys 2015-12-23 22:26:07 UTC
Latest version of the component, 4.10.1, has a difference android sample project and build successfully with the same command