I thought "Views/**/." may be not contains "_ViewImports.cshtml" and "_ViewStart.cshtml",so I have a try,but it also not work. If I add these code in view :
@using Magicodes.Theme.Metronic
It's OK. So I mean the "_ViewImports.cshtml" is not work. And the other problem is "Can't use AreaAttribute in plus Controllers",it's will not found view.
I upgraded the project,I'll try again later.
<cite>ismcagdas: </cite> Hi,
Your code seems correct to me. Let me try the same scenario and get back to you.
Thanks.
I use .NET Core. Thanks!
Thanks.My English is so so.
<cite>ismcagdas: </cite> Hi,
Probably I understand you wrongly. If you are referencing this dll via nuget package, why do you need to copy it into PlugIns folder ?
Can you explain it in a bit more detailed.
Thanks.
I want dynamic loading plugin assembly,but if plugin project referenced orther project or orther assembly,It will not work.I do not know how to deal with it,Hope you can give pointers.
It's Ok and no exception.but if I not referenced these dlls ,I can't use these dlls in plus project.
thanks,this is OK!
<cite>ismcagdas: </cite> Hi,
I have tried this scenario and it didn't throw any exception for me.
- I have referenced this package to my web project <a class="postlink" href="http://www.nuget.org/packages/Magicodes.Sms.Alidayu.Core/">http://www.nuget.org/packages/Magicodes ... dayu.Core/</a>.
- Then copied it's dll to PugIns folder.
- Then I removed nuget package from my project.
Can you try it in this way ?
And your project's Target Framework must be .Net Framework 4.6.1
{
"version": "1.0.0-*",
"dependencies": {
"Abp": "1.2.1",
"Magicodes.Abp.Sms.Core": "1.0.0-*",
"Magicodes.Admin.Application": "1.0.0.0-*",
"Magicodes.Sms.Alidayu.Core": "1.0.4"
},
"frameworks": {
"net461": {}
}
}
Magicodes.Abp.Sms.Core.dll Magicodes.Sms.Alidayu.Core.dll Magicodes.Sms.Core.dll
AbpInitializationException: Could not get module types from assembly: Magicodes.Sms.Alidayu.Core, Version=1.0.4.0, Culture=neutral, PublicKeyToken=null
Abp.PlugIns.FolderPlugInSource.GetModules()
Abp.PlugIns.PlugInSourceExtensions.GetModulesWithAllDependencies(IPlugInSource plugInSource)
System.Linq.Enumerable+<SelectManyIterator>d__16.MoveNext()
System.Linq.Enumerable+<DistinctIterator>d__63.MoveNext()
System.Collections.Generic.List..ctor(IEnumerable<T> collection)
System.Linq.Enumerable.ToList<TSource>(IEnumerable<TSource> source)
Abp.Modules.AbpModuleManager.FindAllModuleTypes(out List<Type> plugInModuleTypes)
Abp.Modules.AbpModuleManager.LoadAllModules()
Abp.AbpBootstrapper.Initialize()
Abp.AspNetCore.AbpApplicationBuilderExtensions.UseAbp(IApplicationBuilder app)
Magicodes.Admin.Web.Startup.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) in Startup.cs
+
app.UseAbp(); //Initializes ABP framework.
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
so I think orthers dll no AbpModule can't put in plus folder. even if can put in this folder,will not find it.
<cite>ismcagdas: </cite> Hi,
Normally this is possible. Which assembly do you try ? Can you send it to <a href="mailto:[email protected]">[email protected]</a> ?
Also, the assembly in the PlugIns folder must not be referenced in the project.
My run environment is .NET Core. I referenced Magicodes.Sms.Alidayu.Core,you can get it from nuget.I think plus assembly in plus folder can't referenced any assembly ,Including other plugins assembly.
I find a method "GetAdditionalAssemblies",Do not know if there is any use?
<cite>ismcagdas: </cite> Hi,
In ASP.NET Core version, currently it is not possible by default. Please check this issue comment to implement it <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/issues/387#issuecomment-271833997">https://github.com/aspnetzero/aspnet-ze ... -271833997</a>.
Let us know if you have any problems.
Thanks.
In ASP.NET Core version,currently it can't set default language by code?