There was an error while loading. Please reload this page.
1 parent 7e7dd88 commit 7185186Copy full SHA for 7185186
WebApiClientCore.OpenApi.SourceGenerator/CSharpHtml.cs
@@ -39,7 +39,7 @@ public static CSharpHtml<T> Views<T>(string name)
39
throw new ArgumentNullException(nameof(name));
40
}
41
42
- var path = $"Views\\{name}";
+ var path = Path.Combine("Views", name);
43
return new CSharpHtml<T>(path);
44
45
@@ -198,4 +198,4 @@ public static IRazorEngineCompiledTemplate Compile(string content)
198
199
200
201
-}
+}
0 commit comments