microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
733 stars 243 forks source link

Business Central Wave 2 issue 'RunOnClient' is not a valid attribute on variables of type 'None' #5671

Closed rishitiwari1109 closed 4 years ago

rishitiwari1109 commented 4 years ago

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:

  1. Go to ''

AL Code to reproduce the issue

Expected behavior There should not be any problem while opening Base Application in Visual Studio Screenshots image

5. Versions:

atoader commented 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?

atoader commented 4 years ago

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.

anhquandovu commented 4 years ago

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

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.