toradex / vscode-torizon-templates

VS Code Torizon Integrated Development Environment Templates
MIT License
14 stars 20 forks source link

installDepsScripts for mono does not work #198

Closed microhobby closed 3 months ago

microhobby commented 3 months ago

I'm getting the follow error:

The term './.conf/installDepsScripts/install-mono-devel.sh' is
     | not recognized as a name of a cmdlet, function, script file,
     | or executable program. Check the spelling of the name, or if a
     | path was included, verify that the path is correct and try
     | again.
andreriesco commented 3 months ago

Created a PR with the fix: https://github.com/toradex/vscode-torizon-templates/pull/200

However, found a problem with other dependency that is being installed through apt

andreriesco@andreriesco-PC:~$ sudo apt install msbuild
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package msbuild
microhobby commented 3 months ago

this is only a dependency order issue. I think we should check first the script dependency and then the packages ones. The msbuild is only provided by the mono sources, and we are adding it before trying to get it from the debian one

andreriesco commented 3 months ago

Ok, updated the commit, now it is working