smsohan / MvcMailer

A Mailer for ASP.Net MVC that forms the Email Body using MVC Views (Razor etc.) following Ruby on Rails ActionMailer style
MIT License
584 stars 178 forks source link

Error Scaffolding at Invoke-ScaffoldTemplate #56

Open jhuggart opened 11 years ago

jhuggart commented 11 years ago

I get an error after the mailers are created. Here is the output from Scaffold Mailer UserMailer Welcome,PasswordReset:

PM> Scaffold Mailer UserMailer Welcome,PasswordReset Mailers\IUserMailer.cs already exists! Pass -Force to overwrite. Skipping... Mailers\UserMailer.cs already exists! Pass -Force to overwrite. Skipping... Invoke-ScaffoldTemplate : Error HRESULT E_FAIL has been returned from a call to a COM component. At C:\repos\operations\packages\MvcMailer.1.1\tools\MailerFunctions.ps1:54 char:39

Invoke-ScaffoldTemplate : Error HRESULT E_FAIL has been returned from a call to a COM component. At C:\repos\operations\packages\MvcMailer.1.1\tools\MailerFunctions.ps1:54 char:39

Invoke-ScaffoldTemplate : Error HRESULT E_FAIL has been returned from a call to a COM component. At C:\repos\operations\packages\MvcMailer.1.1\tools\MailerFunctions.ps1:54 char:39

Obviously, this is output from the second time I ran the command. Also, I made sure that the most recent versions of T4Scaffolding and MvcScaffolding were installed.