Skip to content

UPDATE (Works with one dash '-') Bundle-Migration: A positional parameter cannot be found that accepts argument '--force' #31218

Closed as not planned
@JeepNL

Description

@JeepNL
  • Visual Studio Preview Latest (Version 17.7.0 Preview 2.0)
  • .NET & EF CORE 8 Preview 5

When I run the Bundle-Migration command in Visual Studio Package Manager Console with --force I'm getting the error below

Command:

PM> Bundle-Migration -SelfContained -TargetRuntime linux-x64 --force

Error:

Bundle-Migration : A positional parameter cannot be found that accepts argument '--force'.
At line:1 char:1
+ Bundle-Migration -SelfContained -TargetRuntime linux-x64 --force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Bundle-Migration], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Bundle-Migration

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions