Open SergeDetelder opened 2 years ago
I think I found your solution after many months of having the same issue on machines around the office... You need to make sure that you have some PowerShell execution policy (not sure if it has to be LocalMachine
or if CurrentUser
is enough as well) set to at least RemoteSigned
in order to allow the Powershell script in the extension to run and download the assembly.
@StefanMaron It might be worth including this in the Readme of the extension near the top so that people who first download this extension and don't know about execution policies can also enjoy automatic updates 🙂
Thanks for pointing this out. When was the last time you checked this? Because I signed the Script not that long ago to help with this problem.
I just went over to a colleague who had the problem to try it out after seeing the changelog for version 0.1.4. He had just downloaded it manually again, so we removed it and had the extension run after updating the execution policy and it worked perfectly without issue.
All of the execution policies on his laptop were set to Undefined, hence why he couldn't run the script I assume.
I'm having trouble downloading the LinterCop.dll Message in Visual Studio Code: Unable to load Analyzer assembly c:\Users\serge.detelder.vscode\extensions\ms-dynamics-smb.al-9.0.615906\bin\Analyzers\BusinessCentral.LinterCop.dll : File c:\Users\serge.detelder.vscode\extensions\ms-dynamics-smb.al-9.0.615906\bin\Analyzers\BusinessCentral.LinterCop.dll was not found.
I have uninstalled/installed the BusinessCentral.LinterCop Extension, but ... no changes Removing the directories ..\s-dynamics-smb.al-9.0.615906 and ...\stefanmaron.businesscentral-lintercop-0.1.3 and then installing the extension didn't resolve it either
Contents of lastversion.txt : 2022-03-05T15:28:20Z