Description
-- Update
Upon further investigation, it might be a more broad issue, it looks like I am getting a similar error when running powershell scripts outside of my .csx scripts. Ugh... this should be fun.
Hey there,
I updated dotnet-script and my scripts are now giving me "Fatal error. Internal CLR error. (0x80131506)".
I am running Pop_OS 22.04. I don't recall having updated anything else around that time. My Omnisharp has "defaultTargetFramework": "net6.0". My syslog isn't showing anything while this is happening. I restarted just in case but the same thing is happening.
Is there anything relatively obvious that might have changed recently that I might have to account for that I might have missed when updating that I need to change in my omnisharp config or similar? Just trying to determine if the issue is actually dotnet-script in the first place.
I have another script that does my dotnet tools updates and it's output is quite basic. I should probably start keeping track of the version numbers when updates occur to see what might have updated.
Update script
#!/usr/bin/pwsh
foreach ($package in $(dotnet tool list --global | select-object -Skip 2)) {
echo "dotnet tool update --global $($package.Split(" ", 2)[0])"
dotnet tool update --global $($package.Split(" ", 2)[0])
}
Thanks,
-MH