Forum Discussion

hexware's avatar
hexware
Copper Contributor
May 03, 2024

Integrate the Microsoft.BingAds.UETSdk into our UWP product

Hello,

We are currently trying to integrate the UET (Universal Event Tracking) SDK ([Microsoft.BingAds.UETSdk](https://www.nuget.org/packages/Microsoft.BingAds.UETSdk)) into our UWP product. We have been following the documentation closely, but we encounter an issue as soon as we implement the step "Import all of the .NET Native / CoreCLR props" from [this guide](https://learn.microsoft.com/en-us/advertising/guides/windows-app-uet-sdk?view=bingads-13#cpluspluswinrt). After adding this step, when we attempt to submit our UWP package to the Windows Store, we receive the error: "You cannot submit pre-compiled .NET Native packages."

For testing purposes, we created an entirely blank project and followed the instructions step by step:

1. Blank project (UetTestBlank.rar and UetTestBlank_1.0.60.0_x86_x64_arm_arm64) - successfully submitted to the Windows Store.
2. Added only the .dll without modifying project settings (UetTestUetPkgOnly_1.0.60.0_x86_x64_arm.appxbundle and UetTestUetPkgOnly.rar) - successfully submitted to the Windows Store.
3. Modified the project by adding "Import all of the .NET Native / CoreCLR props" (UetTestUetPkgWithProjectFileMod.rar and UetTestUetPkgWithProjectFileMod_1_0_60_0_x86_x64_arm_arm64_appxbundle) - submission failed with the error: UetTestUetPkgWithProjectFileMod_1_0_60_0_x86_x64_arm_arm64_appxbundle 3.2 MB, "Package acceptance validation error: You cannot submit pre-compiled .NET Native packages. Please upload the Microsoft Store appxupload file and try again."

You can find all the project files here: [Dropbox link](https://www.dropbox.com/scl/fo/d6hr4k24z7sybzg6172r6/AOqBb_2zMBUPCuKgxrmbwhU?rlkey=1pzpak1l1aqcwuejapmmllpid&st=o2wmzce5&dl=0)

Could there be any inaccuracies in the documentation, or does anyone have experience working with this library who could provide some guidance or examples?

Thank you!

No RepliesBe the first to reply

Resources