upload app to dev center problem?CoronaLabs.Corona.Component.dll failed.

i use coronacards, and try to upload app to dev center,it show

The Package Processing for the package failed. Refer to this page for troubleshooting information

Validation errors

1028: The native API api-ms-win-core-interlocked-l1-2-0.dll:InterlockedCompareExchange() isn’t allowed in assembly CoronaLabs.Corona.Component.dll. Update it and then try again.

1028: The native API api-ms-win-core-interlocked-l1-2-0.dll:InterlockedCompareExchange() isn’t allowed in assembly libGLESv2_phone.dll. Update it and then try again.

i found it show

1028

The native API [API name] isn’t allowed in assembly [assembly name]. Update it and then try again.

You need to remove the reference to native API from the assembly.

what is wrong?

how should i do?

I think you are uploading a debug version of your *.xap by mistake.

Re-build your app for “Release|ARM” and upload that version instead.

The “Release|ARM” version of your *.xap file should be under your project’s “Bin\ARM\Release” folder by default.

i use Release|X86

when i choose Release|ARM,device will not let me choose emulator

you can see the attach

The x86 option is only for *testing* your WP8 app in the emulator.  An x86 built app will *not* run on a real WP8 device.  This is because all WP8 devices use an ARM CPU, not an x86 CPU.  This means that you must upload/publish a “Release|ARM” compiled app to the WP8 app store.

So, what you need to do is select the “Release|ARM” option under your solution’s “Active config” and then click on the “BUILD\Build Solution” menu item.  That will build your WP8 app without attempting to deploy it to the emulator or device.

it works now

thanks very much

I think you are uploading a debug version of your *.xap by mistake.

Re-build your app for “Release|ARM” and upload that version instead.

The “Release|ARM” version of your *.xap file should be under your project’s “Bin\ARM\Release” folder by default.

i use Release|X86

when i choose Release|ARM,device will not let me choose emulator

you can see the attach

The x86 option is only for *testing* your WP8 app in the emulator.  An x86 built app will *not* run on a real WP8 device.  This is because all WP8 devices use an ARM CPU, not an x86 CPU.  This means that you must upload/publish a “Release|ARM” compiled app to the WP8 app store.

So, what you need to do is select the “Release|ARM” option under your solution’s “Active config” and then click on the “BUILD\Build Solution” menu item.  That will build your WP8 app without attempting to deploy it to the emulator or device.

it works now

thanks very much