YAFLogo

Posted by: bhatasif17 - Wednesday, 2 August 2017 10:42:14
Hi I tried to run YAF project in my VS2013. I did the necessary changes but the project failed to run throwing the below exception. An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = YafContext (DelegateActivator), Services = [YAF.Core.YafContext], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> Object reference not set to an instance of an object. (See inner exception for details.) Please help. Thanks

Posted by: tha_watcha - Wednesday, 2 August 2017 12:26:17
[quote=bhatasif17;70549]Hi I tried to run YAF project in my VS2013. I did the necessary changes but the project failed to run throwing the below exception. An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = YafContext (DelegateActivator), Services = [YAF.Core.YafContext], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> Object reference not set to an instance of an object. (See inner exception for details.) Please help. Thanks[/quote] You need atleast VS 2015

Posted by: bhatasif17 - Thursday, 3 August 2017 03:12:37
[quote=tha_watcha;70550][quote=bhatasif17;70549]Hi I tried to run YAF project in my VS2013. I did the necessary changes but the project failed to run throwing the below exception. An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = YafContext (DelegateActivator), Services = [YAF.Core.YafContext], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> Object reference not set to an instance of an object. (See inner exception for details.) Please help. Thanks[/quote] You need atleast VS 2015 [/quote] But I can run the sample application.

Posted by: tha_watcha - Tuesday, 8 August 2017 09:49:45
Yes the sample application run because the included YAF is already compiled. What changes did you make to compile in VS 2013?