Home

Util.Run fails with 5.06 beta

already submitted via the 'help -> report bug' mechanism, but figured it was worth a forum post so anyone else hitting it will at least see it's a known issue, hopefully cutting down on duplicates. :)


contents of submission:

Cannot Util.Run with 5.06 beta 64-bit (didn't test 32-bit)

- create Dummy.linq (just needs to exist, can be empty)
- in new query window, try to run:
Util.Run(@Dummy.linq, QueryResultFormat.Text)

worked fine in LINQPad 4

in 5.06 throws FileNotFoundException

Could not load file or assembly 'Resources, Version=1.0.0.0, Culture=neutral, PublicKeyToken=21353812cd2a2db5' or one of its dependencies. The system cannot find the file specified.

StackTrace:

StackTrace
at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at UserQuery
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

FusionLog property of Exception:

=== Pre-bind state information ===
LOG: DisplayName = Resources, Version=1.0.0.0, Culture=neutral, PublicKeyToken=21353812cd2a2db5
(Fully-specified)
LOG: Appbase = file:///C:/Users/james/Downloads/LINQPad5-AnyCPU/
LOG: Initial PrivatePath = NULL
Calling assembly : LINQPad, Version=1.0.0.0, Culture=neutral, PublicKeyToken=21353812cd2a2db5.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Users\james\AppData\Local\LINQPad\ProcessServer5AnyCPU\LINQPad.UserQuery.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Resources, Version=1.0.0.0, Culture=neutral, PublicKeyToken=21353812cd2a2db5
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

Comments

Sign In or Register to comment.