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
585 stars 176 forks source link

Invoke-Scaffolder : A positional parameter cannot be found that accepts argument 'UserMailer'. #158

Open setkeh opened 8 years ago

setkeh commented 8 years ago
PM> Scaffold Mailer.Razor UserMailer Welcome,PasswordReset
Invoke-Scaffolder : A positional parameter cannot be found that accepts argument 'UserMailer'.
At line:1 char:1
+ Scaffold Mailer.Razor UserMailer Welcome,PasswordReset
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Invoke-Scaffolder], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,T4Scaffolding.Cmdlets.InvokeScaffolderCmdlet

PM> 

I have tried a few Fixes scattered about the Issues here but nothing seems to help with this one

Visual Studio Info is thus

Microsoft Visual Studio Community 2015
Version 14.0.24720.00 Update 1
Microsoft .NET Framework
Version 4.6.01038

Installed Version: Community

Visual Basic 2015   00322-20000-00000-AA394
Microsoft Visual Basic 2015

Visual C# 2015   00322-20000-00000-AA394
Microsoft Visual C# 2015

Visual C++ 2015   00322-20000-00000-AA394
Microsoft Visual C++ 2015

Windows Phone SDK 8.0 - ENU   00322-20000-00000-AA394
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1 (Beta8)   14.1.11106.0
ASP.NET and Web Tools 2015.1 (Beta8)

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.30624.0
For additional information, visit http://www.asp.net/

Color Theme Designer   1.0
Designer for creating new color themes

Common Azure Tools   1.5
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager   3.3.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   14.0.50616.0
Microsoft SQL Server Data Tools

TypeScript   1.7.4.0
TypeScript for Microsoft Visual Studio

Visual Studio Tools for Universal Windows Apps   14.0.24720.00
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

Xamarin   4.0.0.1686 (4a80730)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.0.0.33 (81fb408)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   9.2.1.50 (2edcbef)
Visual Studio extension to enable development for Xamarin.iOS.
sixfootfour commented 8 years ago

I have the same issue, also in VS2015. I also tried pretty much every fix I could google my way to, no luck.

JamieSellars commented 7 years ago

Also issue with VS2015 Update 3

tracileemt commented 7 years ago

doesn't work for me either, vs2015 professional update 1

robgha01 commented 7 years ago

Is this project dead ?

masamorro999 commented 7 years ago

I keep getting this error and cant scaffold Invoke-Scaffolder : A positional parameter cannot be found that accepts argument 'UserMailer'. already try to uninstall and install mvcscaffolding, t4scaffold and mvc mailer any advise about how to fix this or implement mvcmailer in mvc 5 visualstudio 2015?

ProNotion commented 7 years ago

Have you tried this: https://github.com/smsohan/MvcMailer/issues/24#issuecomment-65231513