sdk: 'dotnet new' generates project referencing wrong package version

Steps to reproduce

  • Install the latest build (2330)
  • Create a folder
  • dotnet new

Expected behavior

Generated project.json should work

Actual behavior

Generated project.json references bogus package version:

"dependencies": {
  "Microsoft.NETCore.App": {
    "type": "platform",
    "version": "1.0.0-rc2-3002330"
  }
},

Environment data

dotnet --info output: C:\proj\clicon>dotnet --info .NET Command Line Tools (1.0.0-rc2-002330)

Product Information: Version: 1.0.0-rc2-002330 Commit Sha: 3af38bf0fe

Runtime Environment: OS Name: Windows OS Version: 10.0.10586 OS Platform: Windows RID: win10-x64

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

I’ve published the later builds of the Microsoft.NETCore.App meta-package to the dotnet-core feed, and setup a build definition that should publish the latest builds as they complete. @gregg-miskelly please try again.

I’ve almost got our publishing automated and it is currently pushing this to dotnet-cli feed but I will actually push it to the dotnet-core feed instead (or perhaps both).