Skip to content

OData-CLI issues #428

@xuzhg

Description

@xuzhg

C:\Users\saxu>odata-cli

The above command (without options) should show the menus/options to users, but it gives the follow error message.

C:\Users\saxu>odata-cli generate -et -iue -m "http://localhost:5202/odata" -o ".\Connected Services\OData Service"

The above command also gives the error message.

Unhandled exception. System.InvalidOperationException: No instances of MSBuild could be detected.
Try calling RegisterInstance or RegisterMSBuildPath to manually register one.
   at Microsoft.Build.Locator.MSBuildLocator.RegisterDefaults()
   at Microsoft.OData.Cli.Program.Main(String[] args) in D:\a\1\s\src\Microsoft.OData.Cli\Program.cs:line 10
   at Microsoft.OData.Cli.Program.<Main>(String[] args)

Is there any mandatory packages required? If yes, please share it into the docs.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions