TaskBuilder.fs icon indicating copy to clipboard operation
TaskBuilder.fs copied to clipboard

Could not load type 'BindI' from assembly 'TaskBuilder.fs

Open forki opened this issue 7 years ago • 3 comments

Functions.StartTransaction. Microsoft.Azure.WebJobs.Script: One or more errors occurred. (Could not load type 'BindI' from assembly 'TaskBuilder.fs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.). StartTransaction: Could not load type 'BindI' from assembly 'TaskBuilder.fs, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

I get this error message when using TaskBuilder.fs prerelease on azure functions.

/cc @gusty @dsyme

forki avatar Apr 09 '18 07:04 forki

I tried including the source code of TaskBuilder in an .fs file and seems to work, but it doesn't recognize the isNull functions, had to change them. Maybe is not using latest FSharp.Core.

Note: I'm not familiar with F# Azure Functions, just started playing with it, in order to reproduce this issue.

gusty avatar Apr 09 '18 21:04 gusty

The problem is that you can't decide which fsharp.core you want to use. Azure functions don't support binding redirects and they ship their own versions. I strongly advocate for TaskBuilder.fs to use a lower fsharp.core.

Gustavo Leon [email protected] schrieb am Mo., 9. Apr. 2018, 23:54:

I tried including the source code of TaskBuilder in an .fs file and seems to work, but it doesn't recognize the isNull functions, had to change them. Maybe is not using latest FSharp.Core.

Note: I'm not familiar with F# Azure Functions, just started playing with it, in order to reproduce this issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rspeele/TaskBuilder.fs/issues/19#issuecomment-379906033, or mute the thread https://github.com/notifications/unsubscribe-auth/AADgNIbS2NfOw-QDYmf-Wn8Y2jWloTWuks5tm9ihgaJpZM4TMDDN .

forki avatar Apr 10 '18 03:04 forki

I was going to target a lower FSharp.Core in the latest release, but the lowest I could get to while still using .NET Standard 1.6 was v4.1.17. Not wanting to screw with the other dependency versions, I left it there.

rspeele avatar May 27 '18 01:05 rspeele