1

Dear Sir/Madam,


We are experiencing problems when we use Microsoft.Data.SQLClient in our AL script after upgrading to v22.

The script compiles fine locally but fails to publish the package to the server.


It then returns the following error:


Reason: Extension compilation failed

src/PageExtension/HelloWorld.al(53,23): error AL0132: 'DotNet "Microsoft.Data.SqlClient.SqlCommand"' does not contain a definition for 'CommandTimeout'


and


src/PageExtension/HelloWorld.al(55,23): error AL0132: 'DotNet "Microsoft.Data.SqlClient.SqlCommand"' does not contain a definition for 'CommandText'



Kind regards,


Martijn van den Broek

Category: Development
STATUS DETAILS
Needs Votes
Ideas Administrator

Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future. Best regards, Business Central Team