8000 'dotnet new console' fails with '2.0.0-preview3-006607' .NET Command Line Tools · Issue #8449 · dotnet/sdk · GitHub
[go: up one dir, main page]

Skip to content
'dotnet new console' fails with '2.0.0-preview3-006607' .NET Command Line Tools #8449
Closed
@daxian-dbw

Description

@daxian-dbw

Steps to reproduce

dotnet new console

Expected behavior

No error and successfully restored

Actual behavior

PS:52> dotnet new console
The template "Console Application" was created successfully.

Processing post-creation actions...
Running 'dotnet restore' on C:\Arena\Apps\dotnet2\bb\bb.csproj...
  Restoring packages for C:\Arena\Apps\dotnet2\bb\bb.csproj...
C:\Users\usr\AppData\Local\Microsoft\dotnet\sdk\2.0.0-preview3-006607\NuGet.targets(102,5): error : 
Failed to retrieve information about 'Microsoft.NETCore.App' from remote source 'C:\Users\usr\.dotnet\NuGetFallbackFolder'. [C:\Arena\Apps\dotnet2\bb\bb.csproj]


Restore failed.
Post action failed.
Description: Restore NuGet packages required by this project.
Manual instructions: Run 'dotnet restore'

PS:53> dotnet restore
  Restoring packages for C:\Arena\Apps\dotnet2\bb\bb.csproj...
C:\Users\usr\AppData\Local\Microsoft\dotnet\sdk\2.0.0-preview3-006607\NuGet.targets(102,5): error : 
Failed to retrieve information about 'Microsoft.NETCore.App' from remote source 'C:\Users\usr\.dotnet\NuGetFallbackFolder'. [C:\Arena\Apps\dotnet2\bb\bb.csproj]

Environment data

dotnet --info output:

.NET Command Line Tools (2.0.0-preview3-006607)

Product Information:
 Version:            2.0.0-preview3-006607
 Commit SHA-1 hash:  81dd304f72

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.15063
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Users\usr\AppData\Local\Microsoft\dotnet\sdk\2.0.0-preview3-006607\

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0-preview3-25426-01
  Build    : 122309e7e7fb9bb233fe4910f822c28ec73f0957

Metadata

Metadata

Assignees

No one assigned

    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

      0