Bug #98955 Ubiety.Dns.Core.dll is built in debug mode
Submitted: 16 Mar 2020 8:36 Modified: 5 Jun 2020 21:48
Reporter: Ovidiu Muntean Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[16 Mar 2020 8:36] Ovidiu Muntean
Description:
I am using Visual Studio 2019. 
I try to publish my WPF application to Windows Store and after verification, I get this error.

"Ubiety.Dns.Core.dll is built in debug mode"

I had installed the NuGet package MySql.Data 8.10.19 from Oracle.

Please advice! Thank You!

How to repeat:
In Visual Studio 2019, create a WPF application, add with NuGet the MySql.Data 8.10.19 package.

In your solution, Add a new project: (UWP) Windows Application Packaging Project (a project that crate a MSIX package.

In this project, add as a reference the WPF project. 
Right click on the project (application packaging project) -> Then Publish -> Create App Packages. And then check it with Windows App Certification KIT:

The ERROR message is:

Debug configuration test

FAILED
Debug configuration
Error Found: The debug configuration test detected the following errors:
The binary Ubiety.Dns.Core.dll is built in debug mode.
Impact if not fixed: Microsoft 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.
[26 Mar 2020 1:13] Dieter Lunn
As the developer of Ubiety.Dns.Core I would recommend using the latest version of the library available on NuGet and if needed post any pull requests on GitHub.
[28 May 2020 19:28] Daniel Valdez
Posted by developer:
 
Ubiety.Dns.Core.dll is now built in Release mode.
[5 Jun 2020 21:48] Christine Cole
Posted by developer:
 
Fixed as of the upcoming MySQL Connector/NET 8.0.22 release, and here's the proposed changelog entry from the documentation team:

The Ubiety.Dns.Core.dll binary included with the MySQL.Data NuGet package
was built in debug mode, which prevented the publishing of applications to
Windows Store.

Thank you for the bug report.