Bug #93724 dotnetcore add package command uses wrong option for specifying version
Submitted: 21 Dec 2018 16:26 Modified: 8 Jan 0:14
Reporter: Motiejus Osipovas Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any
Tags: dotnetcore, EF Core, entity framework

[21 Dec 2018 16:26] Motiejus Osipovas
Description:
On the following documentation page:

https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework-core-
scaffold-example.html

Running: dotnet add package MySql.Data.EntityFrameworkCore -Version 8.0.13

Outputs:

Please specify one package reference to add.

Along with usage information.

How to repeat:
In your terminal, run:

dotnet add package MySql.Data.EntityFrameworkCore -Version 8.0.13

Suggested fix:
Referring to: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-add-package

The command should read as follows:

dotnet add package MySql.Data.EntityFrameworkCore --version 8.0.13
[30 Dec 2018 8:57] Umesh Shastry
Hello Motiejus,

Thank you for the report and feedback!

regards,
Umesh
[8 Jan 0:14] Christine Cole
Posted by developer:
 
Fixed in the guide. Will appear online soon.

Thank you for the report.