[forms-devel] Build difficulty with Xamarin.Forms.CarouselView

Sidharth Gupta sidharth92 at gmail.com
Thu Feb 2 10:25:27 UTC 2017

Hello All,

I am really keen to contribute to the Xamarin.Forms.CarouselView project (
https://github.com/xamarin/Xamarin.Forms.CarouselView) but I am having some

I am on the master branch and having difficulty building it. I have been
following these instructions: https://github.com/xamarin/Xamarin.Forms.

I am able to open env.lnk and then open the solution. But when I try Step 7
in "Building for Release", I get errors and warnings and it fails to build
the nuget package. It is able to successfully do the Restore step when I
build though. I have tried both rbuild and build. I also don't change
anything in the solution and have tried with a fresh clone.

These are some of my errors:

1. AAPT : error : unable to open '..\..\..\..\..\..\..\bin\tmp\
as a zip file: -2 [C:\Users\[USER NAME]\work\Xamarin.Forms.Carou
[C:\Users\[USER NAME]\work\Xamarin.Forms.CarouselView\txt\src\.csproj]

2. AAPT : error : unable to process jar files while packaging
'C:\Users\[USER NAME]\AppData\Local\Temp\bykmmv5h.cfz\resources.apk.bk'
[C:\Users\[USER NAME]\work\Xamarin.Forms.CarouselView\txt\src\carouselView\
dev\lib\platform\monoAndroid\CarouselView.Android.csproj] [C:\Users\[USER

3. AAPT : error : packaging of 'C:\Users\[USER
NAME]\AppData\Local\Temp\bykmmv5h.cfz\resources.apk.bk' failed
[C:\Users\[USER NAME]\work\Xamarin.Forms.CarouselView\txt\src\carouselView\
dev\lib\platform\monoAndroid\CarouselView.Android.csproj] [C:\Users\[USER

4. C:\Users\[USER NAME]\work\Xamarin.Forms.Carou
selView\txt\src\carouselView\dev\lib\platform\uap\CarouselView.UWP.csproj :
XamlCompiler error WMC1006: Cannot resolve Assembly or Windows Metadata
file 'Windows.Foundation.UniversalApiContract.winmd' [C:\Users\[USER

5. C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.2\Microsoft.
Windows.UI.Xaml.Common.targets(264,5): Xaml Internal Error error WMC9999:
Type universe cannot resolve assembly: Windows.Foundation.UniversalApiContract,
Version=, Culture=neutral, PublicKeyToken=null,
ContentType=WindowsRuntime. [C:\Users\[USER NAME]\work\Xamarin.Forms.Carou
[C:\Users\[USER NAME]\work\Xamarin.Forms.CarouselView\txt\src\.csproj]

Has anybody experienced this before? Please can someone help me understand
how to build?

Please also let me know if you need more information.

On another note, what are the reasons for having the CarouselView control
as a separate project and not in the main Xamarin.Forms? Is there a plan to
eventually add it to the main Xamarin.Forms?

Kind Regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/forms-devel/attachments/20170202/4c45ed83/attachment.html>

More information about the forms-devel mailing list