These are chat archives for ExtCore/ExtCore

4th
Aug 2017
hesama110
@hesama110
Aug 04 2017 21:07
Hi sorry do you know quick fix for this error " Unable to resolve service for type 'ExtCore.Data.Abstractions.IStorageContext' while attempting to activate 'ExtCore.Data.EntityFramework.Storage'."
Dmitry Sikorsky
@DmitrySikorsky
Aug 04 2017 21:11
Hi! You should add dependency on ExtCore.Data.EntityFramework.Sqlite for example, or sql server etc. So specify any concrete implementation
hesama110
@hesama110
Aug 04 2017 21:22
Hi @DmitrySikorsky
this solution was working with adding libraries as references now i removed references from main project i mean web-application, i am trying to add libraries as extensions
do i need to add ExtCore.Data.EntityFramework.Sqlite to web-application ?
hesama110
@hesama110
Aug 04 2017 21:32
@DmitrySikorsky :+1: you were right thanks
another error by any chance do you know fix for that :P
"InvalidOperationException: Can not find compilation library location for package 'contactus'
Microsoft.Extensions.DependencyModel.CompilationLibrary.ResolveReferencePaths()"
Dmitry Sikorsky
@DmitrySikorsky
Aug 04 2017 21:34
Hm, I think it is dependency in some of your packages. You have to copy all of them as dlls OR add as dependency to main app.
hesama110
@hesama110
Aug 04 2017 21:36
add the dlls are in extensions folder and i checked they are loading in assemblies list
Dmitry Sikorsky
@DmitrySikorsky
Aug 04 2017 21:38
Hm, then it is something different...
hesama110
@hesama110
Aug 04 2017 21:38
all dependencies were added into main project i am trying to test how it is working with injecting libraries ;)
hesama110
@hesama110
Aug 04 2017 23:06
@DmitrySikorsky i found out what is cause that ;) my project was <Project Sdk="Microsoft.NET.Sdk.Web"> instead of <Project Sdk="Microsoft.NET.Sdk"> in referencing it doesn't have any problem but in injecting it has :D :P
hesama110
@hesama110
Aug 04 2017 23:29
@DmitrySikorsky i added some peace to surf folder extensions and folder in that do we need some thing recursive for other sub-folders?