{"action":"created","issue":{"url":"https://api.github.com/repos/intellifactory/websharper/issues/504","labels_url":"https://api.github.com/repos/intellifactory/websharper/issues/504/labels{/name}","comments_url":"https://api.github.com/repos/intellifactory/websharper/issues/504/comments","events_url":"https://api.github.com/repos/intellifactory/websharper/issues/504/events","html_url":"https://github.com/intellifactory/websharper/issues/504","id":120038960,"number":504,"title":"Update FSharp.Core reference in WebSharper.MSBuild","user":{"login":"eggapauli","id":237707,"avatar_url":"https://avatars.githubusercontent.com/u/237707?v=3","gravatar_id":"","url":"https://api.github.com/users/eggapauli","html_url":"https://github.com/eggapauli","followers_url":"https://api.github.com/users/eggapauli/followers","following_url":"https://api.github.com/users/eggapauli/following{/other_user}","gists_url":"https://api.github.com/users/eggapauli/gists{/gist_id}","starred_url":"https://api.github.com/users/eggapauli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eggapauli/subscriptions","organizations_url":"https://api.github.com/users/eggapauli/orgs","repos_url":"https://api.github.com/users/eggapauli/repos","events_url":"https://api.github.com/users/eggapauli/events{/privacy}","received_events_url":"https://api.github.com/users/eggapauli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-02T21:24:26Z","updated_at":"2015-12-04T17:41:30Z","closed_at":null,"body":"As of WebSharper 3.6.2.220 `WebSharper.MSBuild` references FSharp.Core 4.3.0.0. Since this version of FSharp.Core seems to be unavailable for an Azure WebJob and I'm not sure how to add binding redirects for MSBuild.exe WebSharper won't be able to build my website in Azure.  \r\nThe only way I see to fix this is referencing a newer version of FSharp.Core. Any thoughts?"},"comment":{"url":"https://api.github.com/repos/intellifactory/websharper/issues/comments/162031483","html_url":"https://github.com/intellifactory/websharper/issues/504#issuecomment-162031483","issue_url":"https://api.github.com/repos/intellifactory/websharper/issues/504","id":162031483,"user":{"login":"cgravill","id":1099725,"avatar_url":"https://avatars.githubusercontent.com/u/1099725?v=3","gravatar_id":"","url":"https://api.github.com/users/cgravill","html_url":"https://github.com/cgravill","followers_url":"https://api.github.com/users/cgravill/followers","following_url":"https://api.github.com/users/cgravill/following{/other_user}","gists_url":"https://api.github.com/users/cgravill/gists{/gist_id}","starred_url":"https://api.github.com/users/cgravill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgravill/subscriptions","organizations_url":"https://api.github.com/users/cgravill/orgs","repos_url":"https://api.github.com/users/cgravill/repos","events_url":"https://api.github.com/users/cgravill/events{/privacy}","received_events_url":"https://api.github.com/users/cgravill/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T17:41:30Z","updated_at":"2015-12-04T17:41:30Z","body":"We have an equivalent problem and get the error message:\r\n\r\n```\r\n2015-12-04T17:26:15.6617977Z ##[error]packages\\WebSharper.3.6.2.220\\build\\WebSharper.targets(60,5): Error MSB4018: The \"WebSharperTask\" task failed unexpectedly.\r\n2015-12-04T17:26:15.6819454Z ##[error]System.IO.FileNotFoundException: Could not load file or assembly 'FSharp.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.\r\n2015-12-04T17:26:15.6819454Z ##[error]File name: 'FSharp.Core, Version=4.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'\r\n2015-12-04T17:26:15.6819454Z ##[error]Server stack trace: \r\n2015-12-04T17:26:15.6819454Z ##[error]   at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)\r\n2015-12-04T17:26:15.6931773Z ##[error]   at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)\r\n2015-12-04T17:26:15.6931773Z ##[error]   at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)\r\n2015-12-04T17:26:15.6931773Z ##[error]   at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)\r\n2015-12-04T17:26:15.6931773Z ##[error]   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)\r\n2015-12-04T17:26:15.6931773Z ##[error]   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)\r\n2015-12-04T17:26:15.6931773Z ##[error]   at System.RuntimeType.GetCustomAttributes(Type attributeType, Boolean inherit)\r\n2015-12-04T17:26:15.6931773Z ##[error]   at System.Runtime.Remoting.Metadata.RemotingTypeCachedData.GetSoapAttributeNoLock()\r\n2015-12-04T17:26:15.6931773Z ##[error]   at System.Runtime.Remoting.Metadata.RemotingCachedData.GetSoapAttribute()\r\n2015-12-04T17:26:15.6931773Z ##[error]   at System.Runtime.Remoting.InternalRemotingServices.GetCachedSoapAttribute(Object reflectionObject)\r\n2015-12-04T17:26:15.6931773Z ##[error]   at System.Runtime.Remoting.SoapServices.GetXmlTypeForInteropType(Type type, String& xmlType, String& xmlTypeNamespace)\r\n2015-12-04T17:26:15.7125314Z ##[error]   at System.Runtime.Remoting.RemotingServices.DetermineDefaultQualifiedTypeName(Type type)\r\n2015-12-04T17:26:15.7125314Z ##[error]   at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, ConstructorCallMessage& ctorCallMsg)\r\n2015-12-04T17:26:15.7125314Z ##[error]   at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType serverType)\r\n2015-12-04T17:26:15.7125314Z ##[error]   at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj)\r\n2015-12-04T17:26:15.7125314Z ##[error]   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)\r\n2015-12-04T17:26:15.7125314Z ##[error]   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)\r\n2015-12-04T17:26:15.7125314Z ##[error]   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)\r\n2015-12-04T17:26:15.7125314Z ##[error]   at System.Activator.CreateInstance(Type type, Boolean nonPublic)\r\n2015-12-04T17:26:15.7125314Z ##[error]   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)\r\n2015-12-04T17:26:15.7125314Z ##[error]   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)\r\n2015-12-04T17:26:15.7125314Z ##[error]   at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)\r\n2015-12-04T17:26:15.7125314Z ##[error]   at System.AppDomain.CreateInstanceFrom(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)\r\n2015-12-04T17:26:15.7125314Z ##[error]   at System.AppDomain.CreateInstanceFromAndUnwrap(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)\r\n2015-12-04T17:26:15.7242727Z ##[error]   at System.AppDomain.CreateInstanceFromAndUnwrap(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)\r\n2015-12-04T17:26:15.7242727Z ##[error]   at WebSharper.MSBuild.WebSharperTask.Execute()\r\n2015-12-04T17:26:15.7242727Z ##[error]   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)\r\n2015-12-04T17:26:15.7242727Z ##[error]   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)\r\n2015-12-04T17:26:15.7242727Z ##[error]Exception rethrown at [0]: \r\n2015-12-04T17:26:15.7242727Z ##[error]   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)\r\n2015-12-04T17:26:15.7242727Z ##[error]   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)\r\n2015-12-04T17:26:15.7242727Z ##[error]   at Microsoft.Build.Framework.ITask.Execute()\r\n2015-12-04T17:26:15.7242727Z ##[error]   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()\r\n2015-12-04T17:26:15.7242727Z ##[error]   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()\r\n2015-12-04T17:26:15.7242727Z ##[error]WRN: Assembly binding logging is turned OFF.\r\n2015-12-04T17:26:15.7242727Z ##[error]To enable assembly bind failure logging, set the registry value [HKLM\\Software\\Microsoft\\Fusion!EnableLog] (DWORD) to 1.\r\n2015-12-04T17:26:15.7242727Z ##[error]Note: There is some performance penalty associated with assembly bind failure logging.\r\n2015-12-04T17:26:15.7242727Z ##[error]To turn this feature off, remove the registry value [HKLM\\Software\\Microsoft\\Fusion!EnableLog].\r\n```\r\n\r\nI've just started looking into it. This is running on the VSO build system, I have access to the agent so can collect additional logs if that'll help?"}}