Error message will be crossed,

Jan 10, 2012 at 2:15 PM

I've tried all of them got the same error 5 on the computerand let it help if anybody knows the solution of the error can not pass the received an answer yet

 

PM> Scaffold Controller Post -Repository -Force

Scaffolding PostController...

MvcApplication5Context already has a member called 'Posts'. Skipping...

Invoke-ScaffoldTemplate : Failed to render template

At line:1 char:23

+ param($c, $a) return . <<<<  $c @a

PM> Scaffold Controller Post -Repository -Force
Scaffolding PostController...
MvcApplication5Context already has a member called 'Posts'. Skipping...
Invoke-ScaffoldTemplate : Failed to render template
At line:1 char:23
+ param($c, $a) return . <<<<  $c @a
    + CategoryInfo          : NotSpecified: (:) [Invoke-ScaffoldTemplate], Exception
    + FullyQualifiedErrorId : T4Scaffolding.Cmdlets.InvokeScaffoldTemplateCmdlet
 
Add-ProjectItemViaTemplate : error : Failed to load base class 'DynamicTransform' from which Transformation clas
s inherits.
At C:\a\MvcApplication5\packages\T4Scaffolding.1.0.5\tools\EFRepository\T4Scaffolding.EFRepository.ps1:47 char:2
7
+ Add-ProjectItemViaTemplate <<<<  $outputPath -Template Repository -Model @{
    + CategoryInfo          : NotSpecified: (:) [Add-ProjectItemViaTemplate], Exception
    + FullyQualifiedErrorId : T4Scaffolding.Cmdlets.AddProjectItemViaTemplateCmdlet
 
Invoke-ScaffoldTemplate : Failed to render template
At line:1 char:23
+ param($c, $a) return . <<<<  $c @a
    + CategoryInfo          : NotSpecified: (:) [Invoke-ScaffoldTemplate], Exception
    + FullyQualifiedErrorId : T4Scaffolding.Cmdlets.InvokeScaffoldTemplateCmdlet
 
Add-ProjectItemViaTemplate : error : Failed to load base class 'DynamicTransform' from which Transformation clas
s inherits.
At C:\a\MvcApplication5\packages\MvcScaffolding.1.0.6\tools\Controller\MvcScaffolding.Controller.ps1:101 char:27
+ Add-ProjectItemViaTemplate <<<<  $outputPath -Template $templateName -Model @{
    + CategoryInfo          : NotSpecified: (:) [Add-ProjectItemViaTemplate], Exception
    + FullyQualifiedErrorId : T4Scaffolding.Cmdlets.AddProjectItemViaTemplateCmdlet
 
Added Create view at 'Views\Post\Create.cshtml'
Added Edit view at 'Views\Post\Edit.cshtml'
Added Delete view at 'Views\Post\Delete.cshtml'
Added Details view at 'Views\Post\Details.cshtml'
Added Index view at 'Views\Post\Index.cshtml'
Added _CreateOrEdit view at 'Views\Post\_CreateOrEdit.cshtml'
PM> 
+ CategoryInfo          : NotSpecified: (:) [Invoke-ScaffoldTemplate], Exception

Jan 18, 2012 at 11:08 AM

Region and Language change
-- Formats --
Format  = English (United States)

-- Location --
English

-- Keybords and Languages --
Choose a display languages = English