Bug 32929 - Amazon Cognito Sync component sample TODOList.Android.csproj failing to build
Summary: Amazon Cognito Sync component sample TODOList.Android.csproj 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:38 UTC by Ben Beckley
Modified: 2015-12-23 22:43 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:38:13 UTC
This sample[0] is failing to build due to a number of missing references:

>CognitoSyncUtils.cs(1,7): error CS0246: The type or namespace name `Amazon' could not be found. Are you missing an assembly reference?
>CognitoSyncUtils.cs(2,7): error CS0246: The type or namespace name `Amazon' could not be found. Are you missing an assembly reference?
>CognitoSyncUtils.cs(5,7): error CS0246: The type or namespace name `Amazon' could not be found. Are you missing an assembly reference?
>CognitoSyncUtils.cs(6,7): error CS0246: The type or namespace name `Amazon' could not be found. Are you missing an assembly reference?
>Constants.cs(1,7): error CS0246: The type or namespace name `Amazon' could not be found. Are you missing an assembly reference?
>CognitoSyncUtils.cs(13,24): error CS0246: The type or namespace name `CognitoAWSCredentials' could not be found. Are you missing an assembly reference?
>CognitoSyncUtils.cs(15,23): error CS0246: The type or namespace name `CognitoAWSCredentials' could not be found. Are you missing an assembly reference?
>CognitoSyncUtils.cs(26,24): error CS0246: The type or namespace name `CognitoSyncManager' could not be found. Are you missing an assembly reference?
>CognitoSyncUtils.cs(27,23): error CS0246: The type or namespace name `CognitoSyncManager' could not be found. Are you missing an assembly reference?
>Constants.cs(16,23): error CS0246: The type or namespace name `RegionEndpoint' could not be found. Are you missing an assembly reference?
>Constants.cs(17,23): error CS0246: The type or namespace name `RegionEndpoint' could not be found. Are you missing an assembly reference?

[0]
component-samples/1950/aws-cognitosync-sdk-3.1.0.0/samples/TODOList/TODOList.Android/TODOList.Android.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.

## 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/a2476b662d09cf0240dc
Comment 1 David Humphreys 2015-12-23 22:43:54 UTC
I updated the samples to use updated packages and included facebook reference for iOS