Settings and activity
6 results found
-
3 votes
An error occurred while saving the comment -
1 vote
An error occurred while saving the comment sgmoore commented
I've never seen this error, so you may need to include your Linqpad version number and the exact error message or a screen shot.
-
1 vote
sgmoore shared this idea ·
-
1 vote
sgmoore shared this idea ·
-
6 votes
An error occurred while saving the comment sgmoore commented
Unless I misunderstand you, you are thinking about trying to compile the query in each mode to see which works, but I was more thinking about a simple pre-compile check to guess which mode the user wants and then to proceed as if the user had selected that mode.
For example, if I write a query which includes other classes, but I leave out the main keyword, (which is the trigger for Program mode) then I would expect this to try (and fail) to compile as if I had selected 'C# statements' mode.
sgmoore shared this idea ·
-
6 votes
sgmoore supported this idea ·
It is not quite the same, but my workaround when I was still using Linqpad 5 was to always kill Linqpad from task manager so that it would reopen any queries that I had edited by not saved.