amazon-archives / aws-sdk-xamarin

AWS Mobile SDK for Xamarin (Beta)
Apache License 2.0
45 stars 18 forks source link

can't compile AWS sdk #9

Closed plvugteveen closed 9 years ago

plvugteveen commented 9 years ago

I downloaded the following, but I get errors when trying to build. https://github.com/awslabs/aws-sdk-xamarin

/Users/parry/Projects/aws-sdk-xamarin-master/AWS.XamarinSDK/AWSSDK.iOS/Amazon.S3/Transfer/Internal/MultipartUploadCommand.cs(12,12): Error CS1525: Unexpected symbol `else' (CS1525) (AWSSDK_iOS)

I just downloaded it and tried to build it as is without modifying anything.

Not sure if I'm doing something wrong...thanks!

tawalke commented 9 years ago

If you are in Xamarin Studio for some reason it does not initially keep the compilation statements in release mode. Change from Release to Debug and you should see the conditional compilation statements and the project will compile.

Thanks, TEW

Sent from my Windows Phone


From: plvugteveenmailto:notifications@github.com Sent: ‎11/‎22/‎2014 9:05 PM To: awslabs/aws-sdk-xamarinmailto:aws-sdk-xamarin@noreply.github.com Subject: [aws-sdk-xamarin] can't compile AWS sdk (#9)

I downloaded the following, but I get errors when trying to build. https://github.com/awslabs/aws-sdk-xamarin

/Users/parry/Projects/aws-sdk-xamarin-master/AWS.XamarinSDK/AWSSDK.iOS/Amazon.S3/Transfer/Internal/MultipartUploadCommand.cs(12,12): Error CS1525: Unexpected symbol `else' (CS1525) (AWSSDK_iOS)

I just downloaded it and tried to build it as is without modifying anything.

Not sure if I'm doing something wrong...thanks!


Reply to this email directly or view it on GitHub: https://github.com/awslabs/aws-sdk-xamarin/issues/9

cagatayozgur commented 9 years ago

Tried in debug as well as all available configurations, getting the same errors in Xamarin studio and cant compile.

Please advise

Thanks

cagatayozgur commented 9 years ago

Actually, it does build in Release configuration for me now

tawalke commented 9 years ago

Excellent!