Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
setkeh opened this issue Feb 26, 2016 · 6 comments

Comments

@setkeh
Copy link

setkeh commented Feb 26, 2016

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
Copy link

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

@JamieSellars
Copy link

Also issue with VS2015 Update 3

@tracileemt
Copy link

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

@robgha01
Copy link

Is this project dead ?

@masamorro999
Copy link

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
Copy link

Have you tried this:
#24 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants