This question is a follow up of my earlier question from some years ago UWP StoreProductQueryResult returns no products
The product and the list of add-ons have now been in the store for some years. When installed from the store the following line of code returns 20 add-ons.
string[] productKinds = { "Durable" };
List<String> filterList = new List<string>(productKinds);
StoreProductQueryResult queryResult = await storeContext.GetAssociatedStoreProductsAsync(filterList);
I have a new dev machine and in debug this line of code returns 0 add-ons.
EDIT: I have associated the app with the store.
What am I missing in setting up my dev machine for UWP development?
UWP StoreProductQueryResult returns no products when products are in the store
After discuss with Vague, if we run the app in release mode, it will re-generated another certificate. then used that certificate in debug and it ran perfectly and get add-ons successfully.