ASP.NET MVC – Running Transformation Error

· March 1, 2009

UPDATED
This is solved. See this.

I ran into this problem:

Template Processing resulted in 1 Errors: Error: Running Transformation

It appeared when I added an Edit-view for an inline view-data class. That is, I created a special class to hold the view data that the controller is acting upon, and that class is declared inside the controller.

When the Add view-dialog (which I love by the way) of the ASP.NET MVC closes with OK – this dialog appears.

I think it’s a bug in the RC-release, but I am not sure. I’ll send this to the ASP.NET MVC team and see what they have to say.

I am not sure that I will have the view data class as part of the other class since that violates the Single Responsibility Principle (SRP) – but if I do, I get this crash.

The more reason for me to move it then! I’ll do that…

Twitter, Facebook