Serenity: Serenity.Web.CommonInitialization giving error at startup
hi, i got this error, the project is new, i have installed the update 3.6.0
System.Reflection.ReflectionTypeLoadException HResult=0x80131602 Mensaje = Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. Origen = mscorlib Seguimiento de la pila: en System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) en System.Reflection.RuntimeModule.GetTypes() en System.Reflection.Assembly.GetTypes() en Serenity.Localization.NestedLocalTextRegistration.Initialize(IEnumerable`1 assemblies, ILocalTextRegistry registry) en Serenity.Web.CommonInitialization.InitializeLocalTexts() en Serenity.Web.CommonInitialization.Run() en Serene1.SiteInitialization.ApplicationStart() en C:\Proyects\SSA\Serene1\Serene1\Serene1.Web\App_Start\SiteInitialization.cs: línea 37 en Serene1.Global.Application_Start(Object sender, EventArgs e) en C:\Proyects\SSA\Serene1\Serene1\Serene1.Web\Global.asax.cs: línea 26
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 20 (2 by maintainers)
@brunobola yeah u did, sorry about that. I was trying to explain to kiwixe in more depth…
all right, I just do this command Update-Package Serenity.Web and I get this
@kiwixe if nothing works, try a blank project that copy the added fies and rebuild to see if it solves your problems.
Try clearing your bin folder, remove any extra dependencies you might have
From the exception image seems that it search for startsharp dependencies. This is an extra module… do you have added somethings of it?
Typically a T4 transform and rebuild problem… Also check tooling version.