Dai
Dai
I've also identified that `WebPageBase`'s call to `HttpUtility.HtmlEncode` uses `Convert.ToString(value, CultureInfo.CurrentCulture)` whereas the `RazorGenerator.Templating.RazorTemplateBase` uses `InvariantCulture` - this is likely a bug too.
I've implement a fix for the incorrect culture, but adding in HTML-encoding is more difficult because the `RazorGenerator.Template` project is a .NET Portable Class Library project which means it cannot...
Razor files are transpiled to C# which is then compiled - there is nothing to minify. Are you instead asking if there's a way to process the markup in a...
That is outside the scope of this project - and there are already other HTML minifiers for ASP.NET MVC 5 ( https://github.com/tompazourek/RazorHtmlMinifier.Mvc5 ) and ASP.NET Core ( https://andrewlock.net/html-minification-using-webmarkupmin-in-asp-net-core/ ) I...
I can't investigate this without reproduction steps. What version of RazorGenerator are you using? What version of Visual Studio? Are the cshtml files loaded into a C# or VB.NET project?...
That's by-design: it's a VB project. Either create a separate `.csproj` to compile those `.cshtml` files to C# (and use a project-reference to use those types from your original VB...
> I do have other cs files on the vbproj. Please clarify what you mean by that. If you mean that you already have other `.cs` files in your `.vbproj`...
> But the generated vb file has line endings with semicolon ';' , is it normal? That's a bug, yes - but because there's no real reason to have `.cshtml`...
@CortexReaver Well, it is kinda unfair to people with smaller screens... Kinda like how Red Alert 2 supported multiple screen resolutions, but it had a "competitive mode" where everyone was...
@Mailaender @pchote I’ve started an attempt to implement this feature - assuming I’m able to put together something that works is this something OpenRA would be happy to merge, or...