core icon indicating copy to clipboard operation
core copied to clipboard

error: Error reading 'x\project.json' at line 5 column 26 : Package dependencies must specify a version range.

Open Villason opened this issue 10 years ago • 3 comments

"HtmlAgilityPack": "1.4.9"

Fails on that line. I am just migrating for .net cli.

Villason avatar May 19 '16 17:05 Villason

I've just updated the tools in Visual Studio and am getting the same error on most of my 'dependencies' rows in the project.json file. What's the fix?

dumbledad avatar May 25 '16 14:05 dumbledad

Replace

"Regan.Lib": " "

by

"Regan.Lib": "1.0.0-*"

Villason avatar May 26 '16 14:05 Villason

I close the issue as the fix is my last comment.

Villason avatar May 26 '16 14:05 Villason