Does lprun work with .net 5?
I have a script that runs ok in linqpad but running from the command line gives me this:
C:>"C:\Program Files\LINQPad6\LPRun6-x86.exe" "C:\Users\Derek.Morin\Google Drive\LinqpadShared\LINQPad Queries\NightlyScripts\NightlyEmail.linq"
CS1705 Assembly 'ScriptCode' with identity 'ScriptCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Runtime' with identity 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' line 0 column 0
CS1705 Assembly 'ScriptCode' with identity 'ScriptCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Runtime' with identity 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' line 26 column 17
CS1705 Assembly 'ScriptCode' with identity 'ScriptCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Runtime' with identity 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' line 26 column 11
CS1705 Assembly 'ScriptCode' with identity 'ScriptCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' which has a higher version than referenced assembly 'System.Runtime' with identity 'System.Runtime, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' line 84 column 106
The script does have this in it:
5.0
Comments
You need to call LPRun6-net5.exe
Note that there is no X86 version of this.