Reputation: 6893
I completed a xamarin forms application and provided to Android Market. No problem everything worked fine. it is live. I tested UWP in debug and release. Created package and made local app certification test using the package, all checks green, passed. I created submission and published into Microsoft Store. it failed certification with the message.
Debug configuration test
FAILED
Debug configuration
Error Found: The debug configuration test detected the following errors:
The binary Syncfusion.SfNumericTextBox.XForms.dll is built in debug mode.
Impact if not fixed: Windows Store doesn’t allow a debug version of an app.
How to fix: Please make sure the app isn’t linking to any debug versions of a framework and it is built with release configuration with optimization enabled. If this is a managed app please make sure you have installed the correct version of .NET framework.
I didnt install this package at all into my project. however there is another package from syncfusion called sfDatagrid which has this dll as dependency. So it adds a reference into my XF and UWP projects. I dont need and use this dll at all. thats why I tried followings
remove the references and nuget references from project.json
file on both projects. deleted bin, obj folders under each project (XF and UWP), cleaned temp folder. Rebuild entire solution.
first failed. so I let it reference to be there but set local copy
as "false". It also didnt work.
project.lock.json
file, this still holds reference, i tried to remove all references manually but It still didnt workThis is obviously error with the package provider. I already reported it and they registered as an incident but they will publish newer version at the end of the month even if they fix. So my question is Is there anyway that I can tell compiler to exclude this dll when creating package?
In Android probably since I am using "Full Linking", it excludes this dll while there is no reference to this dll.
In UWP, I do use Compile with Native tool Chain option as shown below
but obviously it doesnt do the same job.
Upvotes: 1
Views: 380
Reputation: 3678
Syncfusion has reposted the NuGet package with the release version of the DLL.
Be sure to clear your NuGet cache before building (https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache).
Upvotes: 1