Closed rishitiwari1109 closed 4 years ago
RunOnClient is an attribute that applies to .NET types. Have you followed the doc at https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-get-started-call-dotnet-from-al to configure your environment?
I am closing this issue because it appears that it has been resolved. Please open a new issue if you believe this has not been resolved and reference the current issue.
Hi,
I am running into the same issue. Let me describe below:
1. Task: Technical Upgrade From Version 14 to Version 16 https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/upgrade-technical-upgrade-v14-v16 - Step 2: Code Conversion from C/AL to AL https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/devenv-code-conversion
I have converted the C/AL TXT files to AL
I have created and built an AL project for custom base application
In the dotnet.al file for the project: I have deleted all instances of Version = '14.0.0.0'; for Microsoft.Dynamics.Nav assembly declarations. For instance:
When I built and compiled project, I got hundreds of errors, all of them seemed related to deleted instances of version '14.0.0.0'
Is there a better way to handle these errors? I was trying to fix one by one but figured that fixing one would affect to many others and probably would take a lot of time.
Describe the bug A lot of Base App Objects are creationg problems One example is 'RunOnClient' is not a valid attribute on variables of type 'None' To Reproduce Steps and to reproduce the behavior:
AL Code to reproduce the issue
Expected behavior There should not be any problem while opening Base Application in Visual Studio Screenshots
5. Versions: