razorgenerator Questions
3
Solved
I have a problem with external razor views.
In my project I have main mvc web assembly and dynamically loaded external class library assemblies(from DB) with their own Controllers, Views and Models...
Gylys asked 24/7, 2013 at 0:37
3
is it possible to create something like an extension for Visual Studio 2019 that adds custom scaffolding razor pages to an ASP.Net project?
I want to create some templates which can be used on seve...
Righthanded asked 29/2, 2020 at 11:47
2
I have been working with RazorGenerator.Mvc and RazorGenerator.MSBuild to precompile the views. The error i face when i try to build the project.
CS8103 C# Combined length of user strings used b...
Synchronism asked 25/10, 2019 at 8:43
12
I am following this article on RazorGenerator and it say's that I must add references to:
System.Web.Helpers.dll
System.Web.WebPages.dll
System.Web.Razor.dll
The only one I can see when I do Ad...
Brussels asked 7/11, 2011 at 14:34
1
Solved
App.Web and App.Views are my projects in one solution, I put my views in App.Views and precompiled with RazorGenerator. It's working well if I used App.Web like,
~/Views/Index.cshtml is virtual ...
Frere asked 21/3, 2018 at 6:40
2
Solved
I have a separate project in my solution that contains some Controllers and compiled views.
I use those controllers for base classes to other controllers in my MVC application and the views are co...
Endlong asked 5/2, 2015 at 15:55
5
Solved
I'm having a problem with RazorGenerator: it can't compile views that uses my custom helper:
App_Code/ViewHelper.cshtml
@helper test(System.Web.Mvc.HtmlHelper html)
{
<h4>Test</h4> ...
Egocentric asked 11/2, 2015 at 23:2
0
I wanted to start a small campaign of about 400-500 emails and I tested the email with mail-tester.com
The problem is that I've got these 2 errors and nobody on the internet knows an answer for it...
Thuthucydides asked 21/9, 2016 at 18:5
5
Solved
I have just upgraded the Visual Studio extension RazorGenerator to V1.5 (Last updated 10/14/2012) and now have the following problems.
Each cshtml file edited now removes the generated file, if I...
Ma asked 19/10, 2012 at 13:13
3
We have an ASP.NET MVC 4 application with around 3000 views in it. We've decided to split this set of views into separated DLLs and compile it with RazorGenerator. We keep only main _Layout.cshtml ...
Kashmiri asked 23/11, 2012 at 10:38
3
I'm trying to set the layout path in a custom ActionFilterAttribute I have written as follow:
public class LayoutInjecterAttribute : ActionFilterAttribute
{
public override void OnActionExecuted(...
Rhizo asked 20/11, 2015 at 15:31
2
Solved
I want to generate a static HTML page by RAZOR, basically by using includes of partial sub pages.
I have tried T4 as well and do look for an alternative: see here and here
This answer says it is ...
Defoliate asked 11/9, 2012 at 22:25
0
I want to create a usable View class library, including views using Razor.
I have troubles to implement Razor Intellisense in my views.
I have already done a lot of research to find a solution, in...
Colvert asked 8/7, 2015 at 9:43
1
Solved
We're using RazorGenerator for our project. When I edit views, the generated files' namespaces are changed to ASP instead of the RazorGenerator's default, which is supposed to be the folder structu...
Bluecoat asked 11/2, 2015 at 3:6
2
Solved
Ever since upgrading to Visual Studio 2013 (From 2012), I've noticed that while debugging my ASP.NET MVC 5 app, I'll occasionally get a compiler error dump through IIS Express of:
Description: An ...
Adz asked 11/11, 2013 at 21:46
1
Solved
We are building an MVC app that creates physical HTML pages.
The app currently creates the pages dynamically using the normal MVC/Razor approach.
Rather than re-creating the output programatically...
Chivalric asked 15/3, 2014 at 0:48
1
I'd like to be able to find out which C# version razor uses to compile my cshtml templates. The reason why I want this, is this breaking change.
We had a lambda in a foreach statement that worked...
Limit asked 24/2, 2014 at 15:26
2
I am working on, what I would consider to be, a large ASP.NET MVC website. Currently there are nearly 100 editor templates (all for 1 controller), and this number will grow.
What I want to accompl...
Tatterdemalion asked 21/2, 2014 at 21:21
2
Solved
I am using MVC 4 and wanted to tidy up my views a bit so decided to create multiple partial views and bring them together during the rendering.
this works when the view being rendered has few @Htm...
Landsman asked 10/11, 2013 at 2:54
1
Solved
In my c#.net MVC application i would like to display checkbox list for Enum types.
I have an enum type
[Flags]
public enum ModeType
{
Undefined = 0,
Read= 1,
Edit= 2
}
and my Model is
Public...
Rosas asked 6/8, 2013 at 18:19
0
RazorGenerator PrecompiledMvcEngine cannot locate Partial View or Editor Templates across assemblies
I have a large MVC 4 site that is broken into one project per MVC Area. We use RazorGenerator to pre-compile all of our views into the project assembly for deployment and use the PrecompiledMvcEngi...
Messuage asked 23/7, 2013 at 17:5
1
Using PrecompiledMvcEngine FindView throws InvalidOperationException and looks for View cshtml files
I got an InvalidOperationException when the MVC controller tried to FindView while using the PrecompiledMvcEngine.
Using on a machine that has VS2012, MVC4 and deployed to IIS
Jamie asked 20/2, 2013 at 3:40
2
Solved
I'm trying to use RazorGenerator as an email template engine. I want to take a model with the data, assemble the correct set of partial views, and return HTML that I can email out.
Edit: In additio...
Lamellicorn asked 23/10, 2012 at 16:48
1
Solved
have everything working fine with mvc.razor generator. Views from my library project show up fine in my web-site. It is a .net 4.0, MVC4, EF5 project. The app pool is set to .net 4.0 in IIS.
When ...
Wilderness asked 18/10, 2012 at 18:23
1
© 2022 - 2024 — McMap. All rights reserved.