Skip to content

Set-DefaultScaffolder : Operation unavailable #5

@korzh

Description

@korzh

Still get the following message during installation of my package which references MvcScaffolding.VS2015:

Set-DefaultScaffolder : Operation unavailable (Exception from HRESULT: 0x800401E3 (MK_E_UNAVAILABLE))
At C:\Temp\TestMVC\packages\T4Scaffolding.Core.VS2015.1.0.3\tools\init.ps1:51 char:9
+         Set-DefaultScaffolder -Name CustomScaffolder -Scaffolder T4Scaffolding.C ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Set-DefaultScaffolder], COMException
    + FullyQualifiedErrorId : T4Scaffolding.Cmdlets.SetDefaultScaffolderCmdlet
 

The most strange thing is that it works well on some VS 2015 instances but fails on others. I don't see any consistent pattern in such behavior.
Scaffold command does not work we see this error during installation and performs just well if there was not such error during install.

The package I'm talking about is: EasyQuery.Mvc.Scaffolding and it worked well in VS 2012 with the old T4Scaffolding package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions