You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I run the below code, I get "Could not load file or assembly 'Telerik.Windows.Documents.Flow, Version=2020.3.1019.40..." This isn't even listed as a dependancy. Am I doing something wrong? I can't find any reference to this project even in the decompiled DLL, but can't get this DLL without subscribing to Telerik. Is there a way around this?
To Reproduce
I run the following in Asp.NET 4.8:
string appPath = System.Web.Hosting.HostingEnvironment.MapPath(@"\Views\Product");
var engine = new RazorLightEngineBuilder()
.UseFileSystemProject(appPath)
.SetOperatingAssembly(typeof(ShareBasketEmailViewModel).Assembly)
.UseMemoryCachingProvider()
.Build();
var result = engine.CompileRenderAsync("ShareBasketEmail.cshtml", model).GetAwaiter().GetResult();
return result;
Expected behavior
Not to receive the runtime error. result should be populated with the compiled ShareBasketEmail.cshtml with the data from model. Please see the attached redacted .csproj file: Sitecore.Feature.Products.csproj.redacted.txt
Information (please complete the following information):
OS: Windows 10
Platform .NET Framework 4.8
RazorLight version 2.3.1
Are you using the OFFICIAL RazorLight package? Yes, from NuGet
Visual Studio version 17.12.3
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
When I run the below code, I get "Could not load file or assembly 'Telerik.Windows.Documents.Flow, Version=2020.3.1019.40..." This isn't even listed as a dependancy. Am I doing something wrong? I can't find any reference to this project even in the decompiled DLL, but can't get this DLL without subscribing to Telerik. Is there a way around this?
To Reproduce
I run the following in Asp.NET 4.8:
Expected behavior
Not to receive the runtime error.
result
should be populated with the compiledShareBasketEmail.cshtml
with the data frommodel
. Please see the attached redacted .csproj file:Sitecore.Feature.Products.csproj.redacted.txt
Information (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: