have u installed .net core 2.2 into your system? if not then install this one first then try to run time.
This solution worked for me. I had on my computer all versions ranging from .net core 1.1 to .net core 3.1 .. Except 2.2. Once I installed 2.2 the error was gone and the website ran smoothly.
i reinstalled windows for a video driver issue and then i ran into this problem. What fixed it for me (i think) was: - clean solution - deleted bin and obj from Nop.Web (these were built previous to new windows install, so get rid of them) - installed ASP.NET Core 2.2 Runtime (v2.2.5) <- i think this is what really made it work again (RUNTIME v2.2.5 because it is specified in a warning during the build) - restore nuget packages
i hope this helps! for a little while, i was afraid i'd have to rebuild my site
We ran into this running a build in an Azure pipelines. Adding a new task (at the beginning) of the agent job to "Use .NET Core sdk 2.2.207" worked for us.
Kevin
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.