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'
Does someone experience the same issues?
Kind regards,
Koen van Hoesel