ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Using nupkg in .net core 3.1
Title:
B
I
{code}
?
I installed `Omu.Awem.2.3.3.nupkg`, `Omu.AwesomeMvc.6.3.3.nupkg` into my project. but I need build them under `.net core 3.1` otherwise working with components on Razor pages `@(Html.Awe().TextBoxFor` cause errors like: TypeLoadException: Could not load type 'Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ExpressionMetadataProvider' from assembly 'Microsoft.AspNetCore.Mvc.ViewFeatures, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. Omu.AwesomeMvc.Autil.GetMetadata<T, TReturn>(AwesomeHtmlHelper<T> a, Expression<Func<T, TReturn>> expression) Omu.AwesomeMvc.Autil.AweInfo<T, TReturn>(AwesomeHtmlHelper<T> a, Expression<Func<T, TReturn>> expression) Omu.AwesomeMvc.AwesomeHtmlHelperExtensions.AweInfo<T, TReturn>(AwesomeHtmlHelper<T> a, Expression<Func<T, TReturn>> expression) Omu.AwesomeMvc.AwesomeHtmlHelperExtensions.TextBoxFor<T, TReturn>(AwesomeHtmlHelper<T> a, Expression<Func<T, TReturn>> expression) AspNetCore.Views_Data_Index.ExecuteAsync() in Index.cshtml @(Html.Awe().TextBoxFor(m => m.ExpectedCount).Numeric()) which is known issue when assembly is mixing old and new version .net core (netstadard 2.0 and my project is in 3.1) I solved that by adding assemblies from MinSetupCore as statically assemblies
Save Changes
Cancel
Erik
asked at 31 Dec 2019
try using the latest version `6.3.7`
at 31 Dec 2019
Omu
thanks - works well !
at 31 Dec 2019
Erik
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK