Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Windows 8.1, 10, WindowsPhone, Windows UWP

Build for multiple CPU targets - AppxBundle

More
10 years 4 months ago #9758 by Nicolaas_jvvitsi
Hi

We need to somehow add a reference to RDPDFLib which targets all three platforms. Currently, we're able to build RDPDFLib.winmd just fine for individual target platforms (x86, x64, ARM - one at a time).

The problem is, we build our project into a bundled .appxBundle for submission to the windows store (Standard setting for 8.1 Universal app submission). This recuires our project to build for all three target platforms on one go (three build processes, chained)
So when the build process starts, it would build fine for the same targeted platfrom in RDPDFLib.winmd, but fail for the other two. Example: x86 will build fine (matches RDPDFLib.winmd) but builds for x64 & ARM fails - library doesn't target same architecture as local project.

Is there any way to achieve a build in the RDPDFLib project to target any CPU? or to include multiple refferences? Has this been done before?

Will gladly provide more info if needed

Build options selected:


Message of build failing

More
10 years 4 months ago #9759 by radaee
yes, just include RDPDFLib project to your project.
and set reference on project RDPDFLib (WinRT component, support any CPU)
More
10 years 4 months ago #9762 by Nicolaas_jvvitsi
Thank you.

Including the project into my solution worked like a charm.
Time to create page: 0.433 seconds
Powered by Kunena Forum