SimpleBrowserDotNet/SimpleBrowser

RenderHtmlLogFile method missing.

MagicBOTAlex opened this issue · 5 comments

image
System.MissingMethodException: 'Method not found: 'System.Threading.Tasks.Task`1<System.String> RazorLight.RazorLightEngine.CompileRenderAsync(System.String, System.String, !!0, System.Dynamic.ExpandoObject)'.'

I don't know what this means but I have tried reinstalling the addon twice. but no luck

What does "tried reinstalling the addon twice" mean? Does that mean you installed the NuGet package twice?

Uninstalling and then installing the package using nuget

Looking at the error more closely, it looks like what is missing is not RenderHtmlLogFile. Rather, it looks like a dependency is missing - RazorLight.RazorLightEngine. You shouldn't have to, but try installing that nuget package as well and see if the error goes away.

In general, the nuget package is ancient. I recommend pulling the master branch from the repository.

Looking at the error more closely, it looks like what is missing is not RenderHtmlLogFile. Rather, it looks like a dependency is missing - RazorLight.RazorLightEngine. You shouldn't have to, but try installing that nuget package as well and see if the error goes away.

In general, the nuget package is ancient. I recommend pulling the master branch from the repository.

In nuget version is 2019,what should I do to get new version extension?

The only way to get the current version is to clone the master branch of the SimpleBrowser repository from Github. You can either include the project into your solution and include a project reference in your project -or- build SimpleBrowser independently and include the resulting DLL in your project.

I'll try to spend some time this weekend on the project to fix the Nuget package. It has been so long since I've tried that I don't recall what the issue was with updating the package in the package repository.